Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 177 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.5 MB / 230.3 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008511, allocations: 93 kB / 281.2 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.036e-05/2.037e-05, allocations: 3.938 kB / 337.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09752, allocations: 50.41 MB / 387.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.312/0.4096, allocations: 82.09 MB / 469.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4098, allocations: 79.95 kB / 469.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03817/0.448, allocations: 15.4 MB / 485.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4481, allocations: 4 kB / 485.1 MB, free: 13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.4481, allocations: 8 kB / 485.1 MB, free: 13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001609/0.4497, allocations: 0.7397 MB / 485.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4498, allocations: 12.03 kB / 485.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.4522, allocations: 355 kB / 486.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.4526, allocations: 314.3 kB / 486.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.4527, allocations: 16 kB / 486.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.4527, allocations: 39.94 kB / 486.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008527/0.4536, allocations: 0.5063 MB / 487.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.4544, allocations: 411.9 kB / 487.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4544, allocations: 0 / 487.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.4544, allocations: 0 / 487.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4545, allocations: 15.95 kB / 487.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.4573, allocations: 1.818 MB / 489.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.4592, allocations: 2.134 MB / 491.5 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.4595, allocations: 226.1 kB / 491.7 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.4596, allocations: 89.53 kB / 491.8 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.4597, allocations: 42.94 kB / 491.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/0.4597, allocations: 0 / 491.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001103/0.4608, allocations: 468.4 kB / 492.3 MB, free: 5.242 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4608, allocations: 59.84 kB / 492.3 MB, free: 5.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.461, allocations: 145.3 kB / 492.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.461, allocations: 25.7 kB / 492.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4612, allocations: 224.3 kB / 492.7 MB, free: 4.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.4613, allocations: 153.7 kB / 492.9 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.4613, allocations: 0 / 492.9 MB, free: 4.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4615, allocations: 334.8 kB / 493.2 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4616, allocations: 125.1 kB / 493.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4619, allocations: 205.4 kB / 493.5 MB, free: 3.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/0.4625, allocations: 248.6 kB / 493.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4625, allocations: 0 / 493.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001102/0.4636, allocations: 0.5433 MB / 494.3 MB, free: 3.125 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4636, allocations: 5.562 kB / 494.3 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4637, allocations: 4 kB / 494.3 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.464, allocations: 76.95 kB / 494.4 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.4644, allocations: 99.89 kB / 494.5 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.4658, allocations: 1.569 MB / 496.1 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.4662, allocations: 39.53 kB / 496.1 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.4662, allocations: 19.98 kB / 496.1 MB, free: 1.203 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001061/0.4663, allocations: 112.9 kB / 496.2 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009789/0.4673, allocations: 468.5 kB / 496.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.4674, allocations: 27.67 kB / 496.7 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.4685, allocations: 0.5345 MB / 497.2 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4685, allocations: 4 kB / 497.2 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4685, allocations: 7.953 kB / 497.3 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4686, allocations: 3.984 kB / 497.3 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.4704, allocations: 1.095 MB / 498.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4704, allocations: 0 / 498.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.4708, allocations: 79.97 kB / 498.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.4711, allocations: 84.75 kB / 498.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.4711, allocations: 3.984 kB / 498.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.4726, allocations: 1.561 MB / 0.4884 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4726, allocations: 0 / 0.4884 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.4741, allocations: 0.8058 MB / 0.4891 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.4742, allocations: 108.7 kB / 0.4893 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.4743, allocations: 4 kB / 0.4893 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4745, allocations: 16.05 kB / 0.4893 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.4746, allocations: 32.39 kB / 0.4893 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.4746, allocations: 16 kB / 0.4893 GB, free: 12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.79e-05/0.4748, allocations: 119.3 kB / 0.4894 GB, free: 11.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4748, allocations: 0 / 0.4894 GB, free: 11.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005457/0.4753, allocations: 143.5 kB / 0.4896 GB, free: 11.74 MB / 378.7 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 (44): * Single equations (assignments): 43 * 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.001718/0.477, allocations: 1.523 MB / 0.4911 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008415/0.4779, allocations: 0.5009 MB / 0.4915 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4779, allocations: 4 kB / 0.4915 GB, free: 9.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.4784, allocations: 335.2 kB / 0.4919 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.0002689/0.4787, allocations: 18.73 kB / 0.4919 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.48, allocations: 0.6219 MB / 0.4925 GB, free: 8.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4803, allocations: 0.8127 MB / 0.4933 GB, free: 7.805 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.4806, allocations: 43.28 kB / 0.4933 GB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4807, allocations: 131.4 kB / 0.4935 GB, free: 7.633 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4808, allocations: 0 / 0.4935 GB, free: 7.633 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.5062, allocations: 6.093 MB / 0.4994 GB, free: 1.551 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.5065, allocations: 169.2 kB / 0.4996 GB, free: 1.359 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.404, allocations: 0 / 0.4996 GB, free: 1.359 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat