Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_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.2+maint.om/package.mo): time 0.001085/0.001085, allocations: 187.9 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.082/1.082, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001801/0.001801, allocations: 117.8 kB / 247.8 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.701e-06, allocations: 0 / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0743/0.07432, allocations: 44.5 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.2694, allocations: 76.2 MB / 418.3 MB, free: 18.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.2696, allocations: 78.22 kB / 418.3 MB, free: 18.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03407/0.3037, allocations: 15.42 MB / 433.8 MB, free: 6.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.3037, allocations: 14.06 kB / 433.8 MB, free: 6.566 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.001486/0.3052, allocations: 0.7599 MB / 434.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3053, allocations: 8.031 kB / 434.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/0.3084, allocations: 473.1 kB / 435 MB, free: 5.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.3089, allocations: 308.8 kB / 435.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3089, allocations: 16 kB / 435.3 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/0.309, allocations: 39.62 kB / 435.4 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009005/0.3099, allocations: 0.567 MB / 435.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/0.3106, allocations: 422 kB / 436.3 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.3106, allocations: 7.906 kB / 436.3 MB, free: 4.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.3107, allocations: 0 / 436.3 MB, free: 4.375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3107, allocations: 12 kB / 436.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.314, allocations: 2.119 MB / 438.5 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.3147, allocations: 441.7 kB / 438.9 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.315, allocations: 175.8 kB / 439.1 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.666e-05/0.3151, allocations: 93.16 kB / 439.2 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.3151, allocations: 38.62 kB / 439.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/0.3151, allocations: 0 / 439.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009833/0.3161, allocations: 443.5 kB / 439.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.3161, allocations: 67.75 kB / 439.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3163, allocations: 161.8 kB / 439.9 MB, free: 1.449 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3163, allocations: 25.7 kB / 439.9 MB, free: 1.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.3164, allocations: 242.9 kB / 440.1 MB, free: 1.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/0.3165, allocations: 156.3 kB / 440.3 MB, free: 1.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.3165, allocations: 0 / 440.3 MB, free: 1.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.3166, allocations: 336.2 kB / 440.6 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3168, allocations: 146.6 kB / 440.8 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.317, allocations: 248.8 kB / 441 MB, free: 444 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.3175, allocations: 201.5 kB / 441.2 MB, free: 312 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3175, allocations: 0 / 441.2 MB, free: 312 kB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001117/0.3187, allocations: 0.5404 MB / 441.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3187, allocations: 8 kB / 441.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3187, allocations: 416 / 441.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.3191, allocations: 96.47 kB / 441.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.3196, allocations: 111.8 kB / 441.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.3214, allocations: 1.736 MB / 443.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.3218, allocations: 39.53 kB / 443.7 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.3219, allocations: 29.8 kB / 443.7 MB, free: 13.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0001201/0.322, allocations: 124.6 kB / 443.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.3221, allocations: 27.72 kB / 443.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.3232, allocations: 0.5203 MB / 444.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3232, allocations: 7.906 kB / 444.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3232, allocations: 1.219 kB / 444.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3233, allocations: 3.984 kB / 444.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3249, allocations: 1.098 MB / 445.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3249, allocations: 0 / 445.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.3253, allocations: 83.64 kB / 445.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.3256, allocations: 84.12 kB / 445.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.3257, allocations: 3.875 kB / 445.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.3274, allocations: 1.732 MB / 447.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3274, allocations: 0 / 447.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001236/0.3286, allocations: 0.7597 MB / 448.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.3287, allocations: 112.6 kB / 448.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.3288, allocations: 0 / 448.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.3291, allocations: 16.12 kB / 448.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.3292, allocations: 31.52 kB / 448.3 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.3292, allocations: 19.42 kB / 448.4 MB, free: 9.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.151e-05/0.3293, allocations: 121.6 kB / 448.5 MB, free: 9.867 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006014/0.3299, allocations: 142.6 kB / 448.6 MB, free: 9.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000234/0.3302, allocations: 138.2 kB / 448.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009153/0.3311, allocations: 0.5233 MB / 449.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3311, allocations: 0 / 449.3 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.3316, allocations: 328.4 kB / 449.6 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3319, allocations: 23.94 kB / 449.6 MB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.3352, allocations: 1.041 MB / 450.7 MB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.3357, allocations: 0.8611 MB / 451.5 MB, free: 7.184 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3357, allocations: 4 kB / 451.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of Templates: time 0.01023/0.3459, allocations: 5.124 MB / 456.7 MB, free: 2.109 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)