Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S") [: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.004026/0.004026, allocations: 175.2 kB / 7.451 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.244/1.244, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.00164/0.00164, allocations: 116.9 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.235e-06/8.356e-06, allocations: 4 kB / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08247/0.08249, allocations: 38.76 MB / 300.5 MB, free: 3.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.3135, allocations: 71.51 MB / 372 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3138, allocations: 67.02 kB / 372.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.0531/0.3669, allocations: 27.69 MB / 399.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/0.367, allocations: 4 kB / 399.8 MB, free: 6.867 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006181/0.3676, allocations: 0.6192 MB / 400.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3677, allocations: 8.781 kB / 400.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.3678, allocations: 39.53 kB / 400.4 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.3682, allocations: 260.7 kB / 400.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.3682, allocations: 4 kB / 400.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.3682, allocations: 4 kB / 400.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001507/0.3684, allocations: 61.14 kB / 400.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3687, allocations: 147.4 kB / 400.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3687, allocations: 0 / 400.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.3687, allocations: 7.938 kB / 400.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3687, allocations: 3.984 kB / 400.9 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.3695, allocations: 460.2 kB / 401.4 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.3697, allocations: 98.61 kB / 401.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3698, allocations: 87.94 kB / 401.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.3698, allocations: 3.938 kB / 401.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.3701, allocations: 196.5 kB / 401.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3701, allocations: 0 / 401.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004296/0.3705, allocations: 221 kB / 402 MB, free: 4.711 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.3706, allocations: 173.5 kB / 402.1 MB, free: 4.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.3711, allocations: 446.8 kB / 402.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.3712, allocations: 29.7 kB / 402.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.3712, allocations: 96.25 kB / 402.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.3713, allocations: 30.28 kB / 402.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.3713, allocations: 4 kB / 402.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3714, allocations: 318.1 kB / 403 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3715, allocations: 64.59 kB / 403.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.3716, allocations: 58.31 kB / 403.1 MB, free: 3.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/0.3717, allocations: 53.8 kB / 403.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3717, allocations: 0 / 403.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003345/0.3721, allocations: 206.6 kB / 403.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3721, allocations: 4 kB / 403.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3721, allocations: 0 / 403.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3721, allocations: 4 kB / 403.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/0.3722, allocations: 0 / 403.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3722, allocations: 0 / 403.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.3723, allocations: 15.89 kB / 403.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.3725, allocations: 119.8 kB / 403.5 MB, free: 3.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.3727, allocations: 243.8 kB / 403.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.3728, allocations: 39.53 kB / 403.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3729, allocations: 64.94 kB / 403.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3729, allocations: 0 / 403.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3729, allocations: 0 / 403.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3729, allocations: 3.984 kB / 403.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007224/0.3736, allocations: 0.6017 MB / 404.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3737, allocations: 4 kB / 404.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-06/0.3737, allocations: 0 / 404.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3737, allocations: 4 kB / 404.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.3737, allocations: 18.86 kB / 404.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3737, allocations: 7.984 kB / 404.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3737, allocations: 0 / 404.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004328/0.3742, allocations: 331.9 kB / 404.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.3746, allocations: 268.1 kB / 405.1 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.3747, allocations: 11.19 kB / 405.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3748, allocations: 12 kB / 405.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.375, allocations: 34.27 kB / 405.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.3751, allocations: 119.2 kB / 405.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0004479/0.3756, allocations: 372.7 kB / 405.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.3759, allocations: 36 kB / 405.7 MB, free: 1.223 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.376, allocations: 118.4 kB / 405.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000365/0.3764, allocations: 268.5 kB / 406.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3764, allocations: 0 / 406.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.3766, allocations: 270.3 kB / 406.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.3772, allocations: 103.8 kB / 406.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.3781, allocations: 0.5222 MB / 406.9 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/0.3786, allocations: 0.8239 MB / 407.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3786, allocations: 3.938 kB / 407.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Templates: time 0.007904/0.3865, allocations: 5.437 MB / 413.2 MB, free: 9.734 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)