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"}) [: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 4.0.0+maint.om/package.mo): time 0.000992/0.000992, allocations: 183.9 kB / 8.135 MB, free: 2.219 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.09/1.09, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0008672/0.0008671, allocations: 89.89 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09283/0.09373, allocations: 55.83 MB / 336.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.2758, allocations: 50.39 MB / 387 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08057/0.3564, allocations: 82.01 MB / 469 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.3566, allocations: 83.89 kB / 469.1 MB, free: 4.691 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.03723/0.3939, allocations: 15.81 MB / 484.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3939, allocations: 8 kB / 484.9 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.3965, allocations: 387 kB / 485.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.3969, allocations: 302.4 kB / 485.6 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.3969, allocations: 20 kB / 485.6 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.397, allocations: 31.98 kB / 485.6 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008495/0.3979, allocations: 0.5217 MB / 486.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.3986, allocations: 408 kB / 486.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3986, allocations: 0 / 486.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.3987, allocations: 0 / 486.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3987, allocations: 12 kB / 486.6 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.4017, allocations: 1.834 MB / 488.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.4024, allocations: 391.4 kB / 488.8 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.4028, allocations: 226.1 kB / 489 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-05/0.4029, allocations: 89.53 kB / 489.1 MB, free: 348 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.4029, allocations: 35 kB / 489.1 MB, free: 304 kB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 1.894e-06/0.4029, allocations: 0 / 489.1 MB, free: 304 kB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.00108/0.404, allocations: 435.6 kB / 489.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.4041, allocations: 63.84 kB / 489.6 MB, free: 15.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.4042, allocations: 141.4 kB / 489.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.4043, allocations: 25.7 kB / 489.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4044, allocations: 220.3 kB / 490 MB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4045, allocations: 149.7 kB / 490.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.4046, allocations: 4 kB / 490.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4047, allocations: 334.8 kB / 490.5 MB, free: 14.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.4049, allocations: 133 kB / 490.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.4052, allocations: 213 kB / 490.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.4057, allocations: 192.6 kB / 491 MB, free: 14.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4057, allocations: 0 / 491 MB, free: 14.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00104/0.4067, allocations: 0.4997 MB / 491.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.4067, allocations: 4 kB / 491.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4068, allocations: 8 kB / 491.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.4071, allocations: 75.7 kB / 491.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.4075, allocations: 99.89 kB / 491.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.4091, allocations: 1.541 MB / 493.2 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.4094, allocations: 35.59 kB / 493.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.4095, allocations: 19.98 kB / 493.3 MB, free: 11.95 MB / 378.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.0001113/0.4096, allocations: 127.7 kB / 493.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.4097, allocations: 23.72 kB / 493.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.4108, allocations: 0.5063 MB / 493.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4108, allocations: 8 kB / 493.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4108, allocations: 0 / 493.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4108, allocations: 0 / 493.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.4124, allocations: 1.085 MB / 495 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4125, allocations: 3.938 kB / 495 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.4129, allocations: 91.73 kB / 495.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.4131, allocations: 76.8 kB / 495.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.4132, allocations: 4.062 kB / 495.2 MB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.4147, allocations: 1.54 MB / 496.7 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4147, allocations: 0 / 496.7 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001271/0.416, allocations: 0.7743 MB / 497.5 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00213/0.4181, allocations: 1.768 MB / 499.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.4182, allocations: 104.7 kB / 499.4 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.4183, allocations: 7.984 kB / 499.4 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.4186, allocations: 12.12 kB / 499.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.4186, allocations: 32.3 kB / 499.4 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4187, allocations: 19.94 kB / 499.5 MB, free: 5.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.212e-05/0.4188, allocations: 119.3 kB / 499.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001051/0.4198, allocations: 147.5 kB / 499.7 MB, free: 5.215 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.000249/0.4201, allocations: 135.2 kB / 499.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008455/0.4209, allocations: 0.5052 MB / 0.4886 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4209, allocations: 0 / 0.4886 GB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004555/0.4214, allocations: 331.3 kB / 0.4889 GB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.4216, allocations: 12.59 kB / 0.489 GB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4229, allocations: 0.5736 MB / 0.4895 GB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/0.4234, allocations: 0.8501 MB / 0.4903 GB, free: 2.723 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4234, allocations: 0 / 0.4903 GB, free: 2.723 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