Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") [: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 4.0.0+maint.om/package.mo): time 0.00391/0.00391, allocations: 179.5 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04568/0.04568, allocations: 8.698 MB / 16.57 MB, free: 440 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.4 MB / 240.5 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.0009038, allocations: 85.48 kB / 293.5 MB, free: 7.406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.092e-06, allocations: 0 / 352.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1992, allocations: 52.54 MB / 404.6 MB, free: 27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.3285, allocations: 79.25 MB / 483.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.3288, allocations: 65.09 kB / 483.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.01042/0.3392, allocations: 2.519 MB / 486.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.3393, allocations: 4 kB / 486.5 MB, free: 9.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006375/0.3399, allocations: 426 kB / 486.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.34, allocations: 16.03 kB / 486.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.3401, allocations: 19.75 kB / 486.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3404, allocations: 206.8 kB / 487.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3404, allocations: 7.938 kB / 487.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.3405, allocations: 8 kB / 487.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002486/0.3407, allocations: 71.98 kB / 487.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.3411, allocations: 132.7 kB / 487.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3411, allocations: 0 / 487.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3411, allocations: 0 / 487.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3411, allocations: 8 kB / 487.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.3425, allocations: 0.7066 MB / 488 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3426, allocations: 38.09 kB / 488.1 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.3427, allocations: 32.92 kB / 488.1 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3427, allocations: 0 / 488.1 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3428, allocations: 30.56 kB / 488.1 MB, free: 7.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3428, allocations: 7.938 kB / 488.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002631/0.3431, allocations: 70.83 kB / 488.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.3431, allocations: 55.41 kB / 488.3 MB, free: 7.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3433, allocations: 137.9 kB / 488.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3433, allocations: 25.7 kB / 488.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.3434, allocations: 123.5 kB / 488.5 MB, free: 6.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.3435, allocations: 27.64 kB / 488.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.3435, allocations: 0 / 488.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3436, allocations: 326.8 kB / 488.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.3437, allocations: 20 kB / 488.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.3438, allocations: 52.3 kB / 489 MB, free: 6.312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.435e-05/0.3439, allocations: 35.83 kB / 489 MB, free: 6.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3439, allocations: 0 / 489 MB, free: 6.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002696/0.3442, allocations: 113.5 kB / 489.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3442, allocations: 4 kB / 489.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3442, allocations: 4 kB / 489.1 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3443, allocations: 0 / 489.1 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.3445, allocations: 23.98 kB / 489.1 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3445, allocations: 7.938 kB / 489.2 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3446, allocations: 7.906 kB / 489.2 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3446, allocations: 4 kB / 489.2 MB, free: 6.109 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.902e-05/0.3447, allocations: 117 kB / 489.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.3448, allocations: 15.81 kB / 489.3 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.3448, allocations: 8.5 kB / 489.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3449, allocations: 7.984 kB / 489.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3449, allocations: 0 / 489.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3449, allocations: 0 / 489.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.3452, allocations: 186.2 kB / 489.5 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3452, allocations: 0 / 489.5 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.3454, allocations: 19.92 kB / 489.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3454, allocations: 8 kB / 489.5 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3454, allocations: 0 / 489.5 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3454, allocations: 0 / 489.5 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3454, allocations: 0 / 489.5 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002614/0.3457, allocations: 188.1 kB / 489.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.3458, allocations: 89 kB / 489.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3458, allocations: 3.938 kB / 489.8 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.346, allocations: 8.062 kB / 489.8 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.3461, allocations: 11.98 kB / 489.8 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3461, allocations: 96 / 489.8 MB, free: 5.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.914e-05/0.3462, allocations: 103.8 kB / 489.9 MB, free: 5.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004431/0.3466, allocations: 35.83 kB / 489.9 MB, free: 5.242 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001301/0.3468, allocations: 99.19 kB / 490 MB, free: 5.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.3469, allocations: 52.12 kB / 490.1 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3469, allocations: 4.062 kB / 490.1 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.347, allocations: 24.06 kB / 490.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3473, allocations: 19.89 kB / 490.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.348, allocations: 222.4 kB / 490.4 MB, free: 4.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/0.3484, allocations: 0.7344 MB / 491.1 MB, free: 4.047 MB / 362.7 MB Notification: Performance of SimCode: time 2.645e-06/0.3484, allocations: 0 / 491.1 MB, free: 4.047 MB / 362.7 MB Notification: Performance of Templates: time 0.003879/0.3523, allocations: 0.8967 MB / 492 MB, free: 3.16 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)