Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00086/0.0008599, allocations: 90.62 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.601e-05, allocations: 3.984 kB / 322.5 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08498, allocations: 47.58 MB / 370.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/0.379, allocations: 88.41 MB / 458.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3793, allocations: 84.08 kB / 458.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1354/0.5147, allocations: 56.15 MB / 0.5027 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5147, allocations: 0 / 0.5027 GB, free: 13.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001103/0.5149, allocations: 47.94 kB / 0.5027 GB, free: 13.69 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003324/0.5182, allocations: 1.828 MB / 0.5045 GB, free: 11.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5182, allocations: 12.03 kB / 0.5045 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004051/0.5187, allocations: 274 kB / 0.5048 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.5194, allocations: 253.3 kB / 0.505 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.5218, allocations: 1.298 MB / 0.5063 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.5219, allocations: 131.5 kB / 0.5064 GB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.5221, allocations: 176 kB / 0.5066 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/0.526, allocations: 2.44 MB / 0.509 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.5261, allocations: 0 / 0.509 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.5263, allocations: 79.98 kB / 0.5091 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.5264, allocations: 91.58 kB / 0.5092 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.5296, allocations: 1.896 MB / 0.511 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.5407, allocations: 6.908 MB / 0.5178 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.5427, allocations: 2.122 MB / 0.5198 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.5439, allocations: 0.8566 MB / 0.5207 GB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.5442, allocations: 137.8 kB / 0.5208 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.5442, allocations: 43.28 kB / 0.5208 GB, free: 10.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.5442, allocations: 0 / 0.5208 GB, free: 10.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.004698/0.5489, allocations: 2.704 MB / 0.5235 GB, free: 7.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.549, allocations: 89.88 kB / 0.5236 GB, free: 7.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.5506, allocations: 1.078 MB / 0.5246 GB, free: 6.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.5507, allocations: 45.7 kB / 0.5247 GB, free: 6.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.5512, allocations: 0.8062 MB / 0.5254 GB, free: 5.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.5514, allocations: 295.8 kB / 0.5257 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.5514, allocations: 20 kB / 0.5257 GB, free: 5.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5515, allocations: 337.9 kB / 0.5261 GB, free: 5.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.5521, allocations: 465.8 kB / 0.5265 GB, free: 4.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.5529, allocations: 0.6182 MB / 0.5271 GB, free: 3.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.5536, allocations: 0.5681 MB / 0.5277 GB, free: 3.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5536, allocations: 0 / 0.5277 GB, free: 3.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002031/0.5556, allocations: 1.354 MB / 0.529 GB, free: 2.023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5557, allocations: 4 kB / 0.529 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5557, allocations: 8.594 kB / 0.529 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.5561, allocations: 116.8 kB / 0.5291 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.557, allocations: 235.7 kB / 0.5293 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1909/0.7479, allocations: 2.103 MB / 0.5314 GB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000988/0.7489, allocations: 41.3 kB / 0.5314 GB, free: 96.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/0.749, allocations: 36.83 kB / 0.5315 GB, free: 96.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.7492, allocations: 155.7 kB / 0.5316 GB, free: 96.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.7494, allocations: 120.1 kB / 0.5317 GB, free: 96.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.7513, allocations: 1.2 MB / 0.5329 GB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.7514, allocations: 9.203 kB / 0.5329 GB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7514, allocations: 1.188 kB / 0.5329 GB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.7514, allocations: 9.453 kB / 0.5329 GB, free: 96.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/0.7566, allocations: 3.146 MB / 0.536 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.7566, allocations: 1.125 kB / 0.536 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/0.7574, allocations: 184.3 kB / 0.5362 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003268/0.7577, allocations: 113 kB / 0.5363 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.7578, allocations: 16.61 kB / 0.5363 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.7601, allocations: 3.391 MB / 0.5396 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7601, allocations: 0 / 0.5396 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.7628, allocations: 1.901 MB / 0.5415 GB, free: 92.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/0.7634, allocations: 315.7 kB / 0.5418 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.7637, allocations: 15.77 kB / 0.5418 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.7644, allocations: 57.92 kB / 0.5418 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.7646, allocations: 63.67 kB / 0.5419 GB, free: 92.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.7647, allocations: 28.62 kB / 0.5419 GB, free: 92.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001528/0.7662, allocations: 0.847 MB / 0.5427 GB, free: 92.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7662, allocations: 0 / 0.5427 GB, free: 92.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001359/0.7676, allocations: 366.5 kB / 0.5431 GB, free: 92.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003166/0.7707, allocations: 2.679 MB / 0.5457 GB, free: 91.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.7729, allocations: 1.214 MB / 0.5469 GB, free: 91.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7729, allocations: 1.219 kB / 0.5469 GB, free: 91.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009949/0.7739, allocations: 0.6862 MB / 0.5476 GB, free: 91.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.7757, allocations: 344.6 kB / 0.5479 GB, free: 91.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/0.7826, allocations: 3.238 MB / 0.5511 GB, free: 90.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.7839, allocations: 1.763 MB / 0.5528 GB, free: 90.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000956/0.7849, allocations: 296.5 kB / 0.5531 GB, free: 90.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007434/0.7857, allocations: 0.6027 MB / 0.5537 GB, free: 90.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7857, allocations: 1.906 kB / 0.5537 GB, free: 90.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0493/0.835, allocations: 32.46 MB / 0.5854 GB, free: 88.42 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.8352, allocations: 204.7 kB / 0.5856 GB, free: 88.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.422, allocations: 6.891 kB / 0.5856 GB, free: 88.19 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat