Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",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.001429/0.001429, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 93.92 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.963e-05, allocations: 4 kB / 314.9 MB, free: 9.043 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3402, allocations: 47.57 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.4708, allocations: 80.64 MB / 443.1 MB, free: 5.551 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4712, allocations: 80.8 kB / 443.2 MB, free: 5.473 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06552/0.5367, allocations: 16.03 MB / 459.2 MB, free: 5.324 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5368, allocations: 0 / 459.2 MB, free: 5.324 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.5368, allocations: 8 kB / 459.2 MB, free: 5.316 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002514/0.5393, allocations: 0.7683 MB / 460 MB, free: 4.504 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.5394, allocations: 12.03 kB / 460 MB, free: 4.492 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.544, allocations: 427 kB / 460.4 MB, free: 4.074 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/0.5447, allocations: 310.4 kB / 460.7 MB, free: 3.73 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.5448, allocations: 20 kB / 460.7 MB, free: 3.711 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.545, allocations: 39.86 kB / 460.8 MB, free: 3.672 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001713/0.5467, allocations: 0.5883 MB / 461.3 MB, free: 3.082 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5481, allocations: 439.9 kB / 461.8 MB, free: 2.645 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.5481, allocations: 0 / 461.8 MB, free: 2.645 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.5482, allocations: 0 / 461.8 MB, free: 2.645 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.5483, allocations: 16 kB / 461.8 MB, free: 2.629 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005635/0.5539, allocations: 1.987 MB / 463.8 MB, free: 0.5312 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.5578, allocations: 2.964 MB / 466.7 MB, free: 13 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/0.5586, allocations: 242.8 kB / 467 MB, free: 12.77 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.5588, allocations: 89.48 kB / 467.1 MB, free: 12.66 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.5588, allocations: 39 kB / 467.1 MB, free: 12.61 MB / 363.1 MB Notification: Performance of pre-optimization done (n=49): time 3.536e-06/0.5588, allocations: 0 / 467.1 MB, free: 12.61 MB / 363.1 MB Notification: Performance of matching and sorting (n=49): time 0.001999/0.5609, allocations: 472.4 kB / 467.6 MB, free: 12.14 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.5609, allocations: 55.84 kB / 467.6 MB, free: 12.07 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.5612, allocations: 161.4 kB / 467.8 MB, free: 11.91 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 5.228e-05/0.5613, allocations: 26.73 kB / 467.8 MB, free: 11.88 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.5615, allocations: 306.5 kB / 468.1 MB, free: 11.57 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.5617, allocations: 161.6 kB / 468.3 MB, free: 11.41 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.5617, allocations: 0 / 468.3 MB, free: 11.41 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5619, allocations: 334.8 kB / 468.6 MB, free: 11.08 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.5623, allocations: 133.1 kB / 468.7 MB, free: 10.95 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.5627, allocations: 251.6 kB / 469 MB, free: 10.66 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5639, allocations: 256.6 kB / 469.2 MB, free: 10.41 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5639, allocations: 0 / 469.2 MB, free: 10.41 MB / 363.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002127/0.5661, allocations: 0.5903 MB / 469.8 MB, free: 9.809 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.5661, allocations: 4 kB / 469.8 MB, free: 9.805 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.5662, allocations: 10.39 kB / 469.8 MB, free: 9.797 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.5667, allocations: 77.36 kB / 469.9 MB, free: 9.719 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.5676, allocations: 119.8 kB / 470 MB, free: 9.602 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.57, allocations: 1.571 MB / 471.6 MB, free: 7.914 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.5707, allocations: 47.42 kB / 471.6 MB, free: 7.867 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.5708, allocations: 20 kB / 471.6 MB, free: 7.848 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.5709, allocations: 116.9 kB / 471.8 MB, free: 7.727 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001803/0.5728, allocations: 480.4 kB / 472.2 MB, free: 7.246 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.5729, allocations: 27.7 kB / 472.3 MB, free: 7.219 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.5749, allocations: 0.5434 MB / 472.8 MB, free: 6.668 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.575, allocations: 4 kB / 472.8 MB, free: 6.664 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.575, allocations: 0 / 472.8 MB, free: 6.664 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.575, allocations: 7.953 kB / 472.8 MB, free: 6.656 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.5781, allocations: 1.114 MB / 473.9 MB, free: 5.492 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.403e-06/0.5782, allocations: 0 / 473.9 MB, free: 5.492 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.5789, allocations: 83.91 kB / 474 MB, free: 5.41 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.5793, allocations: 80.83 kB / 474.1 MB, free: 5.328 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.5794, allocations: 11.98 kB / 474.1 MB, free: 5.316 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.5817, allocations: 1.556 MB / 475.7 MB, free: 3.645 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5818, allocations: 4.031 kB / 475.7 MB, free: 3.641 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.5842, allocations: 0.8214 MB / 476.5 MB, free: 2.781 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.5844, allocations: 116.7 kB / 476.6 MB, free: 2.648 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.5845, allocations: 0.5625 kB / 476.6 MB, free: 2.648 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.5849, allocations: 20.05 kB / 476.6 MB, free: 2.629 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.5851, allocations: 32.39 kB / 476.6 MB, free: 2.598 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.5851, allocations: 19.98 kB / 476.7 MB, free: 2.578 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.5853, allocations: 124.3 kB / 476.8 MB, free: 2.457 MB / 363.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5853, allocations: 0 / 476.8 MB, free: 2.457 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0008205/0.5861, allocations: 152 kB / 476.9 MB, free: 2.309 MB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002914/0.5891, allocations: 1.535 MB / 478.5 MB, free: 0.7305 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.5906, allocations: 0.521 MB / 479 MB, free: 204 kB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.5907, allocations: 4 kB / 479 MB, free: 200 kB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008756/0.5915, allocations: 343.1 kB / 479.3 MB, free: 15.85 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.592, allocations: 14.84 kB / 479.3 MB, free: 15.84 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.5971, allocations: 1.188 MB / 480.5 MB, free: 14.6 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.5976, allocations: 0.8247 MB / 481.4 MB, free: 13.75 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.598, allocations: 143.4 kB / 481.5 MB, free: 13.61 MB / 379.1 MB Notification: Performance of SimCode: time 1.052e-06/0.598, allocations: 0 / 481.5 MB, free: 13.61 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/3.267, allocations: 8.262 MB / 489.8 MB, free: 5.379 MB / 379.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat