Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") [: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.001053/0.001053, allocations: 190.2 kB / 8.137 MB, free: 2.215 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.151/1.151, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.00178/0.001781, allocations: 122.4 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.671e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07647/0.07649, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.2842, allocations: 77.71 MB / 419.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.2844, allocations: 79.92 kB / 419.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03881/0.3233, allocations: 17.08 MB / 436.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.3233, allocations: 8 kB / 436.9 MB, free: 4.012 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001713/0.325, allocations: 0.8475 MB / 437.8 MB, free: 3.184 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3251, allocations: 8.031 kB / 437.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.3283, allocations: 488.1 kB / 438.3 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.3288, allocations: 346.4 kB / 438.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3289, allocations: 20 kB / 438.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.329, allocations: 40 kB / 438.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/0.3301, allocations: 0.6451 MB / 439.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/0.3311, allocations: 0.5958 MB / 439.9 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.3311, allocations: 3.906 kB / 439.9 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.3312, allocations: 7.984 kB / 439.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.3312, allocations: 23.88 kB / 439.9 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/0.3353, allocations: 2.784 MB / 442.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008035/0.3361, allocations: 453.1 kB / 443.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.3364, allocations: 190.7 kB / 443.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3365, allocations: 92.16 kB / 443.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3365, allocations: 38.38 kB / 443.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/0.3365, allocations: 0 / 443.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.001155/0.3377, allocations: 477.1 kB / 444 MB, free: 14.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3378, allocations: 88.86 kB / 444 MB, free: 14.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3379, allocations: 194.8 kB / 444.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.338, allocations: 25.7 kB / 444.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3381, allocations: 282.4 kB / 444.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3382, allocations: 171.7 kB / 444.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.3383, allocations: 0 / 444.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3384, allocations: 341.5 kB / 445 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.3386, allocations: 157 kB / 445.2 MB, free: 13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.339, allocations: 354.7 kB / 445.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.3396, allocations: 236 kB / 445.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.3396, allocations: 4 kB / 445.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001273/0.3409, allocations: 0.6 MB / 446.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007586/0.3417, allocations: 2.357 MB / 448.7 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3417, allocations: 4 kB / 448.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.3419, allocations: 57.09 kB / 448.8 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.3425, allocations: 139.2 kB / 448.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.3439, allocations: 1.509 MB / 450.4 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.3444, allocations: 70.61 kB / 450.5 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.3445, allocations: 31.3 kB / 450.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-06/0.3445, allocations: 0 / 450.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/0.3457, allocations: 0.5359 MB / 451.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3457, allocations: 4.5 kB / 451.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.3459, allocations: 56.42 kB / 451.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.3464, allocations: 133.1 kB / 451.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.3476, allocations: 1.436 MB / 452.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.3481, allocations: 51.62 kB / 452.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.3481, allocations: 36.48 kB / 452.8 MB, free: 5.645 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.3483, allocations: 116.6 kB / 452.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3484, allocations: 35.61 kB / 452.9 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.3497, allocations: 0.5596 MB / 453.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008289/0.3505, allocations: 444 kB / 453.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3505, allocations: 7.984 kB / 453.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.3505, allocations: 0 / 453.9 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3524, allocations: 1.163 MB / 455.1 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3524, allocations: 0 / 455.1 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.3529, allocations: 94.75 kB / 455.2 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.3531, allocations: 50.31 kB / 455.2 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.3531, allocations: 11.88 kB / 455.2 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.3544, allocations: 1.493 MB / 456.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3545, allocations: 0.5625 kB / 456.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001452/0.3559, allocations: 0.8108 MB / 457.5 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.3561, allocations: 162 kB / 457.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.3562, allocations: 4 kB / 457.7 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.3566, allocations: 27.97 kB / 457.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.3567, allocations: 28.7 kB / 457.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.3567, allocations: 20.66 kB / 457.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001639/0.3569, allocations: 147.5 kB / 457.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001086/0.358, allocations: 271.2 kB / 458.2 MB, free: 0.9805 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000264/0.3583, allocations: 136.2 kB / 458.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.3599, allocations: 1.004 MB / 459.3 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3599, allocations: 0 / 459.3 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.3604, allocations: 335.4 kB / 459.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.3607, allocations: 25.97 kB / 459.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.364, allocations: 1.194 MB / 460.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/0.3646, allocations: 0.8979 MB / 461.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3646, allocations: 0 / 461.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of Templates: time 0.01448/0.3791, allocations: 8.047 MB / 469.8 MB, free: 5.875 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)