Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7398/0.7398, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 107 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.534e-05, allocations: 8 kB / 0.5535 GB, free: 9.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5038, allocations: 82.31 MB / 0.6338 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.6476, allocations: 112.5 MB / 0.7437 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.6479, allocations: 79.94 kB / 0.7438 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009022/0.6569, allocations: 3.491 MB / 0.7472 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.92e-07/0.657, allocations: 0 / 0.7472 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.657, allocations: 4 kB / 0.7472 GB, free: 6.695 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005436/0.6576, allocations: 431.5 kB / 0.7476 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.6576, allocations: 8.031 kB / 0.7476 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.6577, allocations: 31.7 kB / 0.7477 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.6579, allocations: 234.7 kB / 0.7479 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.658, allocations: 0 / 0.7479 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.658, allocations: 8 kB / 0.7479 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.6581, allocations: 39.98 kB / 0.7479 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.6583, allocations: 117.8 kB / 0.748 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6583, allocations: 0 / 0.748 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.6583, allocations: 7.984 kB / 0.748 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.6583, allocations: 0 / 0.748 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009028/0.6592, allocations: 0.7244 MB / 0.7488 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.683e-05/0.6593, allocations: 34.58 kB / 0.7488 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.6594, allocations: 16.86 kB / 0.7488 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.6594, allocations: 4 kB / 0.7488 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.6596, allocations: 106.7 kB / 0.7489 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.6596, allocations: 4 kB / 0.7489 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0002113/0.6598, allocations: 97.42 kB / 0.749 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.6599, allocations: 132.5 kB / 0.7491 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.66, allocations: 149.8 kB / 0.7493 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.66, allocations: 25.7 kB / 0.7493 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.6601, allocations: 131.8 kB / 0.7494 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.6601, allocations: 39.48 kB / 0.7495 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.6601, allocations: 4.062 kB / 0.7495 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6603, allocations: 322.8 kB / 0.7498 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.6603, allocations: 28.31 kB / 0.7498 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.6604, allocations: 131.1 kB / 0.7499 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.6605, allocations: 39.92 kB / 0.75 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6605, allocations: 0 / 0.75 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002319/0.6608, allocations: 161.3 kB / 0.7501 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6608, allocations: 8 kB / 0.7501 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6608, allocations: 4 kB / 0.7501 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6608, allocations: 4 kB / 0.7501 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.661, allocations: 35.92 kB / 0.7502 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.661, allocations: 7.938 kB / 0.7502 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.6611, allocations: 32.28 kB / 0.7502 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.6612, allocations: 8 kB / 0.7502 GB, free: 3.297 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.543e-05/0.6612, allocations: 116.9 kB / 0.7503 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.6613, allocations: 19.77 kB / 0.7503 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.6613, allocations: 21.83 kB / 0.7504 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6613, allocations: 4 kB / 0.7504 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.6613, allocations: 0 / 0.7504 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6614, allocations: 0 / 0.7504 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.6619, allocations: 474.3 kB / 0.7508 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6619, allocations: 0 / 0.7508 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.662, allocations: 19.98 kB / 0.7508 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.662, allocations: 0 / 0.7508 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6621, allocations: 8.125 kB / 0.7508 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.6621, allocations: 7.938 kB / 0.7509 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6621, allocations: 0 / 0.7509 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.6624, allocations: 353.5 kB / 0.7512 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.6624, allocations: 96.94 kB / 0.7513 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.6625, allocations: 0 / 0.7513 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.6626, allocations: 20.02 kB / 0.7513 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.6627, allocations: 19.88 kB / 0.7513 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6627, allocations: 8 kB / 0.7513 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.813e-05/0.6628, allocations: 124.3 kB / 0.7514 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6628, allocations: 0 / 0.7514 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003215/0.6631, allocations: 27.98 kB / 0.7515 GB, free: 1.887 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 0.0001548/0.6633, allocations: 103.2 kB / 0.7516 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.6635, allocations: 76.8 kB / 0.7516 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6635, allocations: 3.938 kB / 0.7517 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.779e-05/0.6636, allocations: 36.12 kB / 0.7517 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.664, allocations: 53.8 kB / 0.7517 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.6644, allocations: 247.7 kB / 0.752 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6648, allocations: 0.7281 MB / 0.7527 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.097e-05/0.6649, allocations: 17.33 kB / 0.7527 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.6649, allocations: 15.44 kB / 0.7527 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/0.6649, allocations: 0 / 0.7527 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of Templates: time 0.003961/0.6689, allocations: 1.607 MB / 0.7543 GB, free: 14.96 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)