Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",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.001258/0.001258, allocations: 176.2 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009374/0.0009371, allocations: 86.7 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.745e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08578, allocations: 47.59 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3002/0.3861, allocations: 85.25 MB / 448.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.3863, allocations: 78.67 kB / 448.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06513/0.4514, allocations: 28.64 MB / 477.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4515, allocations: 0 / 477.1 MB, free: 3.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.4515, allocations: 16 kB / 477.2 MB, free: 3.246 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002404/0.4539, allocations: 1.084 MB / 478.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.454, allocations: 8.031 kB / 478.3 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004782/0.4588, allocations: 0.7052 MB / 479 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008576/0.4596, allocations: 463.9 kB / 479.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.4597, allocations: 32 kB / 479.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4598, allocations: 64 kB / 479.5 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001814/0.4617, allocations: 1.016 MB / 480.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.4632, allocations: 0.8825 MB / 481.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.4632, allocations: 7.922 kB / 481.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.4633, allocations: 0 / 481.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.4633, allocations: 28 kB / 481.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005919/0.4693, allocations: 3.891 MB / 485.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.4725, allocations: 3.704 MB / 489 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.4729, allocations: 277.8 kB / 489.3 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.473, allocations: 101.6 kB / 489.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.4731, allocations: 47.11 kB / 489.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 3.577e-06/0.4731, allocations: 3.938 kB / 489.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.001378/0.4745, allocations: 0.5844 MB / 490 MB, free: 5.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4745, allocations: 115.3 kB / 490.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4748, allocations: 254.1 kB / 490.4 MB, free: 4.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.4749, allocations: 29.7 kB / 490.4 MB, free: 4.863 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.4751, allocations: 449.8 kB / 490.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.4753, allocations: 236.5 kB / 491.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.4753, allocations: 0 / 491.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4754, allocations: 354.8 kB / 491.4 MB, free: 3.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.4757, allocations: 198.6 kB / 491.6 MB, free: 3.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.4762, allocations: 0.5091 MB / 492.1 MB, free: 2.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.4773, allocations: 448.1 kB / 492.6 MB, free: 2.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.4773, allocations: 0 / 492.6 MB, free: 2.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0017/0.479, allocations: 0.8981 MB / 493.5 MB, free: 1.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.479, allocations: 8 kB / 493.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.479, allocations: 12 kB / 493.5 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.4791, allocations: 16 kB / 493.5 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.4799, allocations: 235.6 kB / 493.7 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.4799, allocations: 20.38 kB / 493.8 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.4804, allocations: 98.91 kB / 493.9 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.4805, allocations: 44 kB / 493.9 MB, free: 1.203 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.0001513/0.4807, allocations: 136.6 kB / 494 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001255/0.4819, allocations: 0.5883 MB / 494.6 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.482, allocations: 43.44 kB / 494.7 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.4835, allocations: 0.7155 MB / 495.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4835, allocations: 8 kB / 495.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4835, allocations: 7.938 kB / 495.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4835, allocations: 4 kB / 495.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.486, allocations: 1.493 MB / 496.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.486, allocations: 0 / 496.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.4866, allocations: 147.8 kB / 497 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.4866, allocations: 8 kB / 497.1 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.4867, allocations: 8 kB / 497.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4867, allocations: 4 kB / 497.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4867, allocations: 3.938 kB / 497.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.4883, allocations: 1.189 MB / 498.3 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4885, allocations: 132.4 kB / 498.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.4885, allocations: 0 / 498.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.4889, allocations: 19.94 kB / 498.4 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.489, allocations: 44.72 kB / 498.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.4891, allocations: 20 kB / 498.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4892, allocations: 186 kB / 498.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4893, allocations: 4.062 kB / 498.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008718/0.4901, allocations: 219.1 kB / 498.9 MB, free: 12.13 MB / 378.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 (78): * Single equations (assignments): 78 * 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.002055/0.4922, allocations: 1.903 MB / 0.489 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.4931, allocations: 0.597 MB / 0.4896 GB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4931, allocations: 0 / 0.4896 GB, free: 9.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.4935, allocations: 282.8 kB / 0.4899 GB, free: 9.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.4939, allocations: 20.77 kB / 0.4899 GB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.498, allocations: 1.641 MB / 0.4915 GB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.4986, allocations: 0.9477 MB / 0.4924 GB, free: 6.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004153/0.499, allocations: 88.84 kB / 0.4925 GB, free: 6.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.4994, allocations: 279.3 kB / 0.4928 GB, free: 6.273 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4994, allocations: 0 / 0.4928 GB, free: 6.273 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.5297, allocations: 9.034 MB / 0.5016 GB, free: 13.23 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.5299, allocations: 156.6 kB / 0.5018 GB, free: 13.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.633, allocations: 3.938 kB / 0.5018 GB, free: 13.04 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat