Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.00104/0.00104, allocations: 188.9 kB / 8.133 MB, free: 2.219 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.104/1.104, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001719/0.001719, allocations: 122 kB / 247.7 MB, free: 6.23 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.713e-05/1.716e-05, allocations: 4 kB / 297.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07778/0.07781, allocations: 44.49 MB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.295, allocations: 76.85 MB / 418.9 MB, free: 18.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.2952, allocations: 63.53 kB / 419 MB, free: 18.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04924/0.3445, allocations: 27.26 MB / 446.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3445, allocations: 4 kB / 446.2 MB, free: 12.52 MB / 330.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.000604/0.3452, allocations: 0.6051 MB / 446.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3452, allocations: 8.031 kB / 446.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.3453, allocations: 39.53 kB / 446.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.3456, allocations: 276.9 kB / 447.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.3457, allocations: 9.969 kB / 447.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3457, allocations: 4 kB / 447.2 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00015/0.3459, allocations: 55.48 kB / 447.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.3461, allocations: 144.4 kB / 447.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.3461, allocations: 0 / 447.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.3462, allocations: 4 kB / 447.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3462, allocations: 0 / 447.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3469, allocations: 474.4 kB / 447.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.3471, allocations: 97.44 kB / 447.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3472, allocations: 87.14 kB / 448 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.3473, allocations: 0 / 448 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.3475, allocations: 213.5 kB / 448.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3475, allocations: 0 / 448.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004089/0.3479, allocations: 216 kB / 448.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.348, allocations: 170.1 kB / 448.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.3485, allocations: 446.5 kB / 449 MB, free: 9.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.3486, allocations: 29.7 kB / 449.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.3486, allocations: 92.33 kB / 449.1 MB, free: 9.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.3487, allocations: 31.14 kB / 449.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.3487, allocations: 4 kB / 449.2 MB, free: 9.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.3488, allocations: 329.3 kB / 449.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3489, allocations: 63.06 kB / 449.6 MB, free: 9.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.349, allocations: 66.97 kB / 449.6 MB, free: 9.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-05/0.3491, allocations: 50.22 kB / 449.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3491, allocations: 0 / 449.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003378/0.3495, allocations: 205.3 kB / 449.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3495, allocations: 4 kB / 449.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3495, allocations: 0 / 449.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3495, allocations: 0 / 449.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.592e-05/0.3495, allocations: 0 / 449.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3496, allocations: 11.91 kB / 449.9 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3497, allocations: 8 kB / 449.9 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3498, allocations: 111.9 kB / 450 MB, free: 8.879 MB / 330.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.0001811/0.35, allocations: 248.2 kB / 450.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.3501, allocations: 39.53 kB / 450.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.3503, allocations: 64.88 kB / 450.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3503, allocations: 0 / 450.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3503, allocations: 7.984 kB / 450.4 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3503, allocations: 0 / 450.4 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.351, allocations: 0.6028 MB / 451 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.351, allocations: 0 / 451 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-06/0.351, allocations: 0 / 451 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3511, allocations: 0 / 451 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.3511, allocations: 19.98 kB / 451 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3511, allocations: 3.984 kB / 451 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3511, allocations: 0 / 451 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004849/0.3516, allocations: 345.6 kB / 451.3 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.352, allocations: 267.7 kB / 451.6 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.8e-05/0.3521, allocations: 7.75 kB / 451.6 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3522, allocations: 16.12 kB / 451.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3524, allocations: 35.45 kB / 451.6 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.3525, allocations: 127.7 kB / 451.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0004267/0.353, allocations: 376.4 kB / 452.1 MB, free: 6.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.3533, allocations: 40 kB / 452.2 MB, free: 6.852 MB / 330.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.0001564/0.3534, allocations: 106.8 kB / 452.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003843/0.3538, allocations: 271.6 kB / 452.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3539, allocations: 0 / 452.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.3541, allocations: 270.4 kB / 452.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.3547, allocations: 96.83 kB / 452.9 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009354/0.3556, allocations: 0.5175 MB / 453.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.3561, allocations: 0.8175 MB / 454.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3561, allocations: 0 / 454.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of Templates: time 0.008208/0.3643, allocations: 5.584 MB / 459.8 MB, free: 15.27 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1)