Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 186.5 kB / 8.478 MB, free: 1.859 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.056/1.056, allocations: 205.2 MB / 214.1 MB, free: 5.148 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.0008152/0.0008152, allocations: 78.33 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1508/0.1517, allocations: 52.97 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06041/0.2121, allocations: 47.59 MB / 362.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.415, allocations: 80.54 MB / 443.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4152, allocations: 84.22 kB / 443.3 MB, free: 10.68 MB / 314.7 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.03437/0.4496, allocations: 16.46 MB / 459.7 MB, free: 4.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4496, allocations: 8.719 kB / 459.7 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.4527, allocations: 467.3 kB / 460.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000415/0.4531, allocations: 316.7 kB / 460.5 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.4532, allocations: 17.94 kB / 460.5 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.4533, allocations: 32.62 kB / 460.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009687/0.4543, allocations: 0.5803 MB / 461.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.455, allocations: 443.5 kB / 461.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.455, allocations: 9.203 kB / 461.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.4551, allocations: 0 / 461.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.4551, allocations: 14.22 kB / 461.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.4581, allocations: 2.159 MB / 463.7 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/0.4588, allocations: 430.8 kB / 464.2 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.4592, allocations: 221.8 kB / 464.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.4593, allocations: 93.77 kB / 464.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.4593, allocations: 40.75 kB / 464.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.733e-06/0.4593, allocations: 0 / 464.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009866/0.4603, allocations: 439.1 kB / 464.9 MB, free: 2.707 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.4603, allocations: 56.84 kB / 465 MB, free: 2.645 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4605, allocations: 160.4 kB / 465.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.4605, allocations: 25.7 kB / 465.2 MB, free: 2.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.4606, allocations: 241.9 kB / 465.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.4607, allocations: 158.8 kB / 465.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.4607, allocations: 0 / 465.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.4607, allocations: 343.3 kB / 465.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.461, allocations: 141.4 kB / 466 MB, free: 1.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.4612, allocations: 262.7 kB / 466.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.4617, allocations: 204.2 kB / 466.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4617, allocations: 1.562 kB / 466.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001054/0.4627, allocations: 0.54 MB / 467 MB, free: 1.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4628, allocations: 5.688 kB / 467 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4628, allocations: 3.406 kB / 467.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.4631, allocations: 80.72 kB / 467.1 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.4636, allocations: 114.6 kB / 467.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.4649, allocations: 1.551 MB / 468.8 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.4652, allocations: 49.19 kB / 468.8 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.4653, allocations: 24.33 kB / 468.9 MB, free: 184 kB / 314.7 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 9.173e-05/0.4654, allocations: 112.5 kB / 469 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.4655, allocations: 27.47 kB / 469 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.4666, allocations: 0.5215 MB / 469.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.4666, allocations: 5.906 kB / 469.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4666, allocations: 5.109 kB / 469.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.4666, allocations: 0 / 469.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.4683, allocations: 1.152 MB / 470.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4683, allocations: 5.438 kB / 470.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.4687, allocations: 89.11 kB / 470.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.469, allocations: 74.38 kB / 470.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.469, allocations: 6.656 kB / 470.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.4704, allocations: 1.542 MB / 472.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4705, allocations: 1.031 kB / 472.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001264/0.4717, allocations: 0.7943 MB / 473.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002185/0.4739, allocations: 1.806 MB / 475 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/0.474, allocations: 111.1 kB / 475.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.4741, allocations: 1.531 kB / 475.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.4744, allocations: 10.56 kB / 475.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.4745, allocations: 36.86 kB / 475.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.4745, allocations: 19.05 kB / 475.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.32e-05/0.4746, allocations: 129.7 kB / 475.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001129/0.4758, allocations: 141.5 kB / 475.4 MB, free: 12.81 MB / 330.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 (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.0002381/0.476, allocations: 133.5 kB / 475.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008796/0.4769, allocations: 0.5235 MB / 476.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4769, allocations: 256 / 476.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004746/0.4774, allocations: 354.4 kB / 476.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.4776, allocations: 10.44 kB / 476.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.4807, allocations: 1.104 MB / 477.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/0.4812, allocations: 0.8613 MB / 478.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4813, allocations: 0 / 478.4 MB, free: 11.23 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat