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.001617/0.001617, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000975/0.000975, allocations: 91.16 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.277e-05, allocations: 0 / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.4954, allocations: 87.9 MB / 490 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.4958, allocations: 85.64 kB / 490.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06674/0.5626, allocations: 28.23 MB / 0.5062 GB, free: 6.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5626, allocations: 0 / 0.5062 GB, free: 6.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.5627, allocations: 16 kB / 0.5062 GB, free: 6.664 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.002384/0.5651, allocations: 1.025 MB / 0.5072 GB, free: 5.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5651, allocations: 8.031 kB / 0.5072 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.5653, allocations: 149.3 kB / 0.5074 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.5685, allocations: 0.4946 MB / 0.5078 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.5692, allocations: 430.4 kB / 0.5082 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.5692, allocations: 70 kB / 0.5083 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.5694, allocations: 96 kB / 0.5084 GB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.571, allocations: 0.9354 MB / 0.5093 GB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.571, allocations: 0 / 0.5093 GB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.5711, allocations: 40 kB / 0.5094 GB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.5712, allocations: 24 kB / 0.5094 GB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.5727, allocations: 0.8747 MB / 0.5102 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005514/0.5782, allocations: 3.554 MB / 0.5137 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.5807, allocations: 2.222 MB / 0.5159 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.5812, allocations: 273.4 kB / 0.5161 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.5814, allocations: 176.5 kB / 0.5163 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5814, allocations: 35.12 kB / 0.5163 GB, free: 11.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/0.5814, allocations: 4 kB / 0.5163 GB, free: 11.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.0009134/0.5823, allocations: 498.5 kB / 0.5168 GB, free: 11.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.5824, allocations: 119.3 kB / 0.5169 GB, free: 10.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.5828, allocations: 238.8 kB / 0.5172 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.5828, allocations: 33.7 kB / 0.5172 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.5831, allocations: 382.6 kB / 0.5176 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.5833, allocations: 224.8 kB / 0.5178 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.5833, allocations: 16 kB / 0.5178 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5835, allocations: 346.8 kB / 0.5181 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.5839, allocations: 201.6 kB / 0.5183 GB, free: 9.504 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.5844, allocations: 405.2 kB / 0.5187 GB, free: 9.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.5848, allocations: 271.2 kB / 0.519 GB, free: 8.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5848, allocations: 0 / 0.519 GB, free: 8.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001099/0.5859, allocations: 0.7015 MB / 0.5196 GB, free: 8.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.586, allocations: 8 kB / 0.5196 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.586, allocations: 4 kB / 0.5197 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.586, allocations: 12 kB / 0.5197 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.5867, allocations: 193.1 kB / 0.5198 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.5868, allocations: 11.95 kB / 0.5199 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.5872, allocations: 91.14 kB / 0.5199 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.5873, allocations: 32 kB / 0.52 GB, free: 7.695 MB / 394.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.0001492/0.5874, allocations: 148.7 kB / 0.5201 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5875, allocations: 39.53 kB / 0.5202 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.5887, allocations: 0.6047 MB / 0.5207 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5887, allocations: 8 kB / 0.5208 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5887, allocations: 7.938 kB / 0.5208 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5887, allocations: 7.938 kB / 0.5208 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.591, allocations: 1.433 MB / 0.5222 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.591, allocations: 4 kB / 0.5222 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.5916, allocations: 135.8 kB / 0.5223 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.5916, allocations: 4 kB / 0.5223 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.5916, allocations: 19.98 kB / 0.5223 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.5917, allocations: 5.484 kB / 0.5223 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5917, allocations: 0 / 0.5223 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.5931, allocations: 1.083 MB / 0.5234 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.5932, allocations: 124.5 kB / 0.5235 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.5933, allocations: 16 kB / 0.5235 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.5937, allocations: 28.05 kB / 0.5235 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.5938, allocations: 44.5 kB / 0.5236 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.5938, allocations: 29.06 kB / 0.5236 GB, free: 3.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.594, allocations: 179.1 kB / 0.5238 GB, free: 3.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.594, allocations: 0 / 0.5238 GB, free: 3.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007937/0.5948, allocations: 239 kB / 0.524 GB, free: 3.441 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.002027/0.5969, allocations: 1.852 MB / 0.5258 GB, free: 1.559 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009785/0.5979, allocations: 0.5595 MB / 0.5264 GB, free: 1.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5979, allocations: 4 kB / 0.5264 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.5983, allocations: 284.8 kB / 0.5266 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.5986, allocations: 29.22 kB / 0.5267 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.6008, allocations: 1.057 MB / 0.5277 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.6013, allocations: 0.9204 MB / 0.5286 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003563/0.6016, allocations: 76.39 kB / 0.5287 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.602, allocations: 247.4 kB / 0.5289 GB, free: 14.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.602, allocations: 0 / 0.5289 GB, free: 14.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.6268, allocations: 9.56 MB / 0.5383 GB, free: 5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.6272, allocations: 173.2 kB / 0.5384 GB, free: 4.777 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/2.846, allocations: 0 / 0.5384 GB, free: 4.777 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