Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 225.6 MB / 234.8 MB, free: 3.188 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008539/0.0008539, allocations: 90.06 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.73e-05, allocations: 0 / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 51.48 MB / 395.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4567, allocations: 87.23 MB / 482.5 MB, free: 5.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.457, allocations: 80.89 kB / 482.6 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05878/0.5158, allocations: 27.91 MB / 0.4985 GB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5158, allocations: 0 / 0.4985 GB, free: 14.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.5159, allocations: 12 kB / 0.4985 GB, free: 14.79 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002144/0.518, allocations: 1.025 MB / 0.4995 GB, free: 13.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5181, allocations: 8.031 kB / 0.4995 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.5212, allocations: 0.4907 MB / 0.5 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.5218, allocations: 424.7 kB / 0.5004 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.5218, allocations: 35.61 kB / 0.5005 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.522, allocations: 56 kB / 0.5005 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001328/0.5233, allocations: 0.8162 MB / 0.5013 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.5246, allocations: 0.7752 MB / 0.5021 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.5246, allocations: 4 kB / 0.5021 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.5247, allocations: 4 kB / 0.5021 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.5247, allocations: 20 kB / 0.5021 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.5294, allocations: 3.389 MB / 0.5054 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.5316, allocations: 2.201 MB / 0.5075 GB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.532, allocations: 240.6 kB / 0.5078 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.5321, allocations: 178.8 kB / 0.5079 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.5322, allocations: 43.06 kB / 0.508 GB, free: 4.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.495e-06/0.5322, allocations: 4 kB / 0.508 GB, free: 4.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001817/0.534, allocations: 0.6468 MB / 0.5086 GB, free: 3.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.5341, allocations: 115.3 kB / 0.5087 GB, free: 3.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.5343, allocations: 208.4 kB / 0.5089 GB, free: 3.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.5344, allocations: 29.7 kB / 0.509 GB, free: 3.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.5346, allocations: 382.6 kB / 0.5093 GB, free: 2.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5347, allocations: 216.8 kB / 0.5095 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.5348, allocations: 0 / 0.5095 GB, free: 2.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5349, allocations: 354.8 kB / 0.5099 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.5352, allocations: 177.6 kB / 0.51 GB, free: 2.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.5356, allocations: 387.6 kB / 0.5104 GB, free: 1.777 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.5371, allocations: 473.7 kB / 0.5109 GB, free: 1.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5371, allocations: 0 / 0.5109 GB, free: 1.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001964/0.5391, allocations: 0.8424 MB / 0.5117 GB, free: 476 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5391, allocations: 8 kB / 0.5117 GB, free: 468 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5391, allocations: 10.81 kB / 0.5117 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5391, allocations: 11.98 kB / 0.5117 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.5398, allocations: 187.7 kB / 0.5119 GB, free: 260 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.5399, allocations: 15.94 kB / 0.5119 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/0.5402, allocations: 71.33 kB / 0.512 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.5403, allocations: 32 kB / 0.512 GB, free: 140 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.5404, allocations: 124.7 kB / 0.5121 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001681/0.5421, allocations: 0.6507 MB / 0.5128 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.5422, allocations: 39.53 kB / 0.5128 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.5442, allocations: 0.7533 MB / 0.5135 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5442, allocations: 8 kB / 0.5135 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5442, allocations: 3.938 kB / 0.5135 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.5442, allocations: 11.98 kB / 0.5136 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.5471, allocations: 1.467 MB / 0.515 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.5472, allocations: 8 kB / 0.515 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.5478, allocations: 143.8 kB / 0.5151 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.5478, allocations: 7.953 kB / 0.5151 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.5478, allocations: 4 kB / 0.5151 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.5478, allocations: 0 / 0.5151 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.5478, allocations: 4 kB / 0.5152 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.55, allocations: 1.235 MB / 0.5164 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5501, allocations: 120.5 kB / 0.5165 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.5502, allocations: 8 kB / 0.5165 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.5505, allocations: 11.98 kB / 0.5165 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.5506, allocations: 48.55 kB / 0.5165 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.5507, allocations: 20 kB / 0.5166 GB, free: 11.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.5508, allocations: 156.5 kB / 0.5167 GB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5508, allocations: 4 kB / 0.5167 GB, free: 11.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000735/0.5516, allocations: 219 kB / 0.5169 GB, free: 10.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002755/0.5543, allocations: 1.96 MB / 0.5188 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008959/0.5553, allocations: 0.5343 MB / 0.5194 GB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5553, allocations: 0 / 0.5194 GB, free: 8.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.5556, allocations: 262 kB / 0.5196 GB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.556, allocations: 24.38 kB / 0.5196 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.558, allocations: 0.9958 MB / 0.5206 GB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.5585, allocations: 0.9126 MB / 0.5215 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003408/0.5588, allocations: 76.34 kB / 0.5216 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.5592, allocations: 247.3 kB / 0.5218 GB, free: 5.887 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5592, allocations: 0 / 0.5218 GB, free: 5.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.5868, allocations: 8.336 MB / 0.5299 GB, free: 13.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.587, allocations: 159.8 kB / 0.5301 GB, free: 13.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.746, allocations: 0 / 0.5301 GB, free: 13.4 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat