Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") [: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.3+maint.om/package.mo): time 0.002288/0.002288, allocations: 178.2 kB / 7.454 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007011/0.007011, allocations: 1.922 MB / 9.786 MB, free: 372 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.2 MB / 215.9 MB, free: 12.26 MB / 187 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008381/0.0008379, allocations: 89.16 kB / 264.4 MB, free: 11.23 MB / 219 MB Notification: Performance of FrontEnd - loaded program: time 7.353e-06/7.504e-06, allocations: 4 kB / 318.5 MB, free: 5.051 MB / 267 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1826, allocations: 48.06 MB / 366.6 MB, free: 46.03 MB / 299 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07294/0.2556, allocations: 74.13 MB / 440.7 MB, free: 9.281 MB / 331 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.2558, allocations: 64.98 kB / 440.8 MB, free: 9.219 MB / 331 MB Notification: Performance of FrontEnd: time 0.001508/0.2573, allocations: 369.2 kB / 441.1 MB, free: 8.875 MB / 331 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2573, allocations: 4 kB / 441.1 MB, free: 8.871 MB / 331 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002983/0.2576, allocations: 329.3 kB / 441.5 MB, free: 8.504 MB / 331 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2577, allocations: 9.344 kB / 441.5 MB, free: 8.496 MB / 331 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.2577, allocations: 7.906 kB / 441.5 MB, free: 8.488 MB / 331 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2578, allocations: 167 kB / 441.7 MB, free: 8.285 MB / 331 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2579, allocations: 2.75 kB / 441.7 MB, free: 8.285 MB / 331 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2579, allocations: 4 kB / 441.7 MB, free: 8.281 MB / 331 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.422e-05/0.2579, allocations: 7.906 kB / 441.7 MB, free: 8.273 MB / 331 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.968e-05/0.258, allocations: 45.62 kB / 441.7 MB, free: 8.223 MB / 331 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.258, allocations: 0 / 441.7 MB, free: 8.223 MB / 331 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.258, allocations: 7.984 kB / 441.7 MB, free: 8.215 MB / 331 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.258, allocations: 0 / 441.7 MB, free: 8.215 MB / 331 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.2583, allocations: 239.7 kB / 442 MB, free: 7.945 MB / 331 MB Notification: Performance of preOpt comSubExp (simulation): time 9.146e-05/0.2584, allocations: 43.14 kB / 442 MB, free: 7.895 MB / 331 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.2585, allocations: 12.42 kB / 442 MB, free: 7.883 MB / 331 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.2585, allocations: 0 / 442 MB, free: 7.883 MB / 331 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.2586, allocations: 55.44 kB / 442.1 MB, free: 7.816 MB / 331 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2586, allocations: 0 / 442.1 MB, free: 7.816 MB / 331 MB Notification: Performance of matching and sorting (n=4): time 0.0001142/0.2587, allocations: 45.69 kB / 442.1 MB, free: 7.766 MB / 331 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2587, allocations: 64.91 kB / 442.2 MB, free: 7.691 MB / 331 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.2588, allocations: 92.98 kB / 442.3 MB, free: 7.594 MB / 331 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2588, allocations: 29.7 kB / 442.3 MB, free: 7.559 MB / 331 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.2588, allocations: 84.14 kB / 442.4 MB, free: 7.473 MB / 331 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.2589, allocations: 3.906 kB / 442.4 MB, free: 7.469 MB / 331 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.2589, allocations: 0 / 442.4 MB, free: 7.469 MB / 331 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.259, allocations: 318.8 kB / 442.7 MB, free: 7.148 MB / 331 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.259, allocations: 4 kB / 442.7 MB, free: 7.145 MB / 331 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.259, allocations: 34.5 kB / 442.7 MB, free: 7.102 MB / 331 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.69e-05/0.259, allocations: 4 kB / 442.7 MB, free: 7.098 MB / 331 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2591, allocations: 0 / 442.7 MB, free: 7.098 MB / 331 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.633e-05/0.2591, allocations: 57.53 kB / 442.8 MB, free: 7.035 MB / 331 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.2591, allocations: 4 kB / 442.8 MB, free: 7.031 MB / 331 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2592, allocations: 0 / 442.8 MB, free: 7.031 MB / 331 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2592, allocations: 4.062 kB / 442.8 MB, free: 7.027 MB / 331 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.2593, allocations: 15.98 kB / 442.8 MB, free: 7.012 MB / 331 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2593, allocations: 3.75 kB / 442.8 MB, free: 7.012 MB / 331 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.2593, allocations: 11.66 kB / 442.8 MB, free: 7.004 MB / 331 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.2593, allocations: 0 / 442.8 MB, free: 7.004 MB / 331 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.dutyCycleGenerator.offTime,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.499e-05/0.2594, allocations: 112.9 kB / 442.9 MB, free: 6.887 MB / 331 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.2594, allocations: 4 kB / 442.9 MB, free: 6.883 MB / 331 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.2594, allocations: 7.672 kB / 442.9 MB, free: 6.875 MB / 331 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2594, allocations: 4 kB / 442.9 MB, free: 6.871 MB / 331 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2595, allocations: 3.906 kB / 443 MB, free: 6.867 MB / 331 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2595, allocations: 0 / 443 MB, free: 6.867 MB / 331 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.2596, allocations: 134.2 kB / 443.1 MB, free: 6.699 MB / 331 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2596, allocations: 3.938 kB / 443.1 MB, free: 6.695 MB / 331 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.2596, allocations: 11.98 kB / 443.1 MB, free: 6.684 MB / 331 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2596, allocations: 4 kB / 443.1 MB, free: 6.68 MB / 331 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2597, allocations: 4 kB / 443.1 MB, free: 6.676 MB / 331 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2597, allocations: 3.938 kB / 443.1 MB, free: 6.672 MB / 331 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2597, allocations: 0 / 443.1 MB, free: 6.672 MB / 331 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.647e-05/0.2598, allocations: 81.11 kB / 443.2 MB, free: 6.574 MB / 331 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.2598, allocations: 85.33 kB / 443.3 MB, free: 6.473 MB / 331 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2598, allocations: 0 / 443.3 MB, free: 6.473 MB / 331 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.2599, allocations: 15.98 kB / 443.3 MB, free: 6.457 MB / 331 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.2599, allocations: 4 kB / 443.3 MB, free: 6.453 MB / 331 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2599, allocations: 0 / 443.3 MB, free: 6.453 MB / 331 MB Notification: Performance of sort global known variables: time 3.962e-05/0.26, allocations: 87.27 kB / 443.4 MB, free: 6.367 MB / 331 MB Notification: Performance of remove unused functions: time 0.0001852/0.2602, allocations: 4 kB / 443.4 MB, free: 6.363 MB / 331 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 7.704e-05/0.2602, allocations: 91.25 kB / 443.5 MB, free: 6.262 MB / 331 MB Notification: Performance of simCode: created initialization part: time 7.054e-05/0.2603, allocations: 19.94 kB / 443.5 MB, free: 6.242 MB / 331 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2603, allocations: 4.125 kB / 443.5 MB, free: 6.238 MB / 331 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.2604, allocations: 12 kB / 443.5 MB, free: 6.227 MB / 331 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.541e-05/0.2605, allocations: 7.906 kB / 443.5 MB, free: 6.219 MB / 331 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.2606, allocations: 62.36 kB / 443.6 MB, free: 6.137 MB / 331 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.2609, allocations: 0.7001 MB / 444.3 MB, free: 5.414 MB / 331 MB Notification: Performance of SimCode: time 2.9e-07/0.2609, allocations: 0 / 444.3 MB, free: 5.414 MB / 331 MB Notification: Performance of Templates: time 0.001696/0.2626, allocations: 393.6 kB / 444.7 MB, free: 5.035 MB / 331 MB make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & ./MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1)