Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [: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.1+maint.om/package.mo): time 0.004286/0.004286, allocations: 179.5 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.298/1.298, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001727/0.001727, allocations: 99.98 kB / 217.7 MB, free: 8.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.592e-06, allocations: 0 / 261.7 MB, free: 26.49 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.08934, allocations: 38.77 MB / 300.5 MB, free: 3.734 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/0.3776, allocations: 69.33 MB / 369.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.378, allocations: 87 kB / 369.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.02883/0.4068, allocations: 11.82 MB / 381.7 MB, free: 5.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.4069, allocations: 4 kB / 381.7 MB, free: 5.555 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001928/0.4088, allocations: 0.677 MB / 382.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4089, allocations: 8.031 kB / 382.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.4092, allocations: 54.33 kB / 382.5 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.4097, allocations: 261 kB / 382.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.4097, allocations: 12 kB / 382.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/0.4098, allocations: 27.38 kB / 382.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005127/0.4103, allocations: 220.3 kB / 383 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.4109, allocations: 272.7 kB / 383.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4109, allocations: 3.938 kB / 383.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.411, allocations: 0 / 383.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.411, allocations: 8 kB / 383.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.4132, allocations: 1.261 MB / 384.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.4136, allocations: 156.1 kB / 384.7 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.4137, allocations: 67.3 kB / 384.8 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.4138, allocations: 8 kB / 384.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4138, allocations: 34.5 kB / 384.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.504e-06/0.4138, allocations: 0 / 384.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005952/0.4144, allocations: 197 kB / 385 MB, free: 2.719 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4145, allocations: 51.41 kB / 385 MB, free: 2.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.4146, allocations: 146.2 kB / 385.2 MB, free: 2.512 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4147, allocations: 25.7 kB / 385.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4148, allocations: 206.7 kB / 385.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.4148, allocations: 54.33 kB / 385.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.4149, allocations: 0 / 385.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.415, allocations: 322.6 kB / 385.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.4151, allocations: 51 kB / 385.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.4153, allocations: 108.9 kB / 385.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.4154, allocations: 58.78 kB / 386 MB, free: 1.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4154, allocations: 0 / 386 MB, free: 1.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005663/0.416, allocations: 255.6 kB / 386.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.416, allocations: 11.91 kB / 386.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.416, allocations: 0 / 386.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.4164, allocations: 91.91 kB / 386.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4166, allocations: 35.98 kB / 386.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.4187, allocations: 1.736 MB / 388.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.4189, allocations: 19.75 kB / 388.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.4189, allocations: 8 kB / 388.1 MB, free: 15.74 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4191, allocations: 113.2 kB / 388.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.4191, allocations: 12 kB / 388.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.4196, allocations: 216.9 kB / 388.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4196, allocations: 7.938 kB / 388.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.4196, allocations: 0 / 388.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4196, allocations: 0 / 388.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.42, allocations: 275.7 kB / 388.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.42, allocations: 3.984 kB / 388.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.4202, allocations: 19.98 kB / 388.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.4205, allocations: 84.06 kB / 388.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4205, allocations: 4 kB / 388.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.4223, allocations: 1.716 MB / 390.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4223, allocations: 0 / 390.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005544/0.4229, allocations: 368.9 kB / 390.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.4229, allocations: 89.06 kB / 391 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.423, allocations: 0 / 391 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.4231, allocations: 16.05 kB / 391 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.4232, allocations: 15.48 kB / 391 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.4232, allocations: 4 kB / 391.1 MB, free: 13 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.738e-05/0.4233, allocations: 110.6 kB / 391.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005606/0.4239, allocations: 87.16 kB / 391.2 MB, free: 12.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.4242, allocations: 127.2 kB / 391.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.4247, allocations: 263.7 kB / 391.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4248, allocations: 4 kB / 391.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.4251, allocations: 185.4 kB / 391.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4253, allocations: 19.03 kB / 391.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4263, allocations: 375.9 kB / 392.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.4268, allocations: 0.778 MB / 393 MB, free: 11.13 MB / 282.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4268, allocations: 0 / 393 MB, free: 11.13 MB / 282.7 MB Notification: Performance of Templates: time 0.006673/0.4335, allocations: 2.441 MB / 395.4 MB, free: 8.699 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)