Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009273/0.0009271, allocations: 97.47 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.435e-05, allocations: 4 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 51.47 MB / 395.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.4477, allocations: 78.39 MB / 473.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.448, allocations: 68.62 kB / 473.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.4637, allocations: 5.941 MB / 479.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4637, allocations: 0 / 479.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.4637, allocations: 12 kB / 479.7 MB, free: 9.816 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009948/0.4647, allocations: 0.5939 MB / 480.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4648, allocations: 16.03 kB / 480.3 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.4651, allocations: 55.52 kB / 480.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.4655, allocations: 284.4 kB / 480.6 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4655, allocations: 12 kB / 480.6 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.4656, allocations: 28.56 kB / 480.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004657/0.4661, allocations: 242.3 kB / 480.9 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.4666, allocations: 372.8 kB / 481.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4667, allocations: 1.031 kB / 481.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.4667, allocations: 4 kB / 481.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4667, allocations: 11.72 kB / 481.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.4685, allocations: 1.241 MB / 482.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.4689, allocations: 220.4 kB / 482.7 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.4692, allocations: 175.6 kB / 482.9 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4692, allocations: 4 kB / 482.9 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.4692, allocations: 37.88 kB / 482.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.4692, allocations: 4 kB / 482.9 MB, free: 6.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005224/0.4698, allocations: 256.7 kB / 483.2 MB, free: 6.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.4698, allocations: 239.3 kB / 483.4 MB, free: 6.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.47, allocations: 157.4 kB / 483.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.47, allocations: 29.7 kB / 483.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.4701, allocations: 209.3 kB / 483.8 MB, free: 6.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.4701, allocations: 92.19 kB / 483.9 MB, free: 6.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.4702, allocations: 0 / 483.9 MB, free: 6.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.4702, allocations: 338 kB / 484.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.782e-05/0.4703, allocations: 60.94 kB / 484.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.4705, allocations: 131.9 kB / 484.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.4706, allocations: 84.47 kB / 484.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4706, allocations: 0 / 484.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003288/0.4709, allocations: 234.6 kB / 484.7 MB, free: 5.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.471, allocations: 8 kB / 484.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.471, allocations: 3.938 kB / 484.7 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.471, allocations: 3.953 kB / 484.7 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.4713, allocations: 83.02 kB / 484.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4714, allocations: 4 kB / 484.8 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.4715, allocations: 23.81 kB / 484.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.4716, allocations: 15.42 kB / 484.9 MB, free: 5.164 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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 8.124e-05/0.4716, allocations: 108.9 kB / 485 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003919/0.472, allocations: 258.9 kB / 485.2 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.4721, allocations: 23.72 kB / 485.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.4722, allocations: 28.02 kB / 485.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4722, allocations: 4 kB / 485.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4722, allocations: 4 kB / 485.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4722, allocations: 0 / 485.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.473, allocations: 0.6928 MB / 486 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.473, allocations: 0 / 486 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.4733, allocations: 47.97 kB / 486 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.4736, allocations: 82.95 kB / 486.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.4736, allocations: 8 kB / 486.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.4751, allocations: 1.752 MB / 487.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4751, allocations: 0 / 487.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.4757, allocations: 478 kB / 488.3 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.4757, allocations: 97.58 kB / 488.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.4758, allocations: 7.984 kB / 488.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.4759, allocations: 8 kB / 488.4 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.476, allocations: 22.86 kB / 488.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.476, allocations: 15 kB / 488.5 MB, free: 1.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.416e-05/0.4761, allocations: 120.4 kB / 488.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4761, allocations: 0 / 488.6 MB, free: 1.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000395/0.4765, allocations: 105.5 kB / 488.7 MB, free: 1.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007747/0.4773, allocations: 1.082 MB / 489.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.4776, allocations: 178.2 kB / 490 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4776, allocations: 4.125 kB / 490 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.4779, allocations: 236 kB / 490.2 MB, free: 380 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4782, allocations: 27.17 kB / 490.2 MB, free: 360 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4794, allocations: 0.7289 MB / 490.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.4798, allocations: 0.7951 MB / 491.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.4799, allocations: 26.05 kB / 491.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4801, allocations: 103.7 kB / 491.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4801, allocations: 3.938 kB / 491.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.5059, allocations: 4.643 MB / 496.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.5062, allocations: 143.9 kB / 496.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.33, allocations: 4.031 kB / 496.7 MB, free: 9.98 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat