Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03951/0.03951, allocations: 8.701 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.4 MB / 246 MB, free: 3.527 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.0008752/0.0008752, allocations: 98.94 kB / 299.1 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.842e-05, allocations: 7.984 kB / 359.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2459, allocations: 52.53 MB / 412.1 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09514/0.3411, allocations: 76.08 MB / 488.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.3413, allocations: 59.97 kB / 488.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008447/0.3421, allocations: 466.8 kB / 488.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3422, allocations: 0 / 488.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3422, allocations: 0 / 488.7 MB, free: 9.828 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002398/0.3424, allocations: 322.5 kB / 489 MB, free: 9.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3425, allocations: 8.031 kB / 489 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.3425, allocations: 3.953 kB / 489 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3426, allocations: 167.1 kB / 489.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3426, allocations: 0 / 489.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3427, allocations: 3.906 kB / 489.1 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.968e-05/0.3428, allocations: 33.7 kB / 489.2 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3428, allocations: 7.922 kB / 489.2 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3428, allocations: 0 / 489.2 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.3428, allocations: 7.984 kB / 489.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.3429, allocations: 7.953 kB / 489.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.343, allocations: 157.7 kB / 489.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/0.3431, allocations: 34.58 kB / 489.4 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.3431, allocations: 16.86 kB / 489.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.3431, allocations: 0 / 489.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.3432, allocations: 38.5 kB / 489.4 MB, free: 8.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.3432, allocations: 0 / 489.4 MB, free: 8.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001121/0.3433, allocations: 45.78 kB / 489.5 MB, free: 8.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3433, allocations: 55.41 kB / 489.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.3434, allocations: 92.98 kB / 489.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.3434, allocations: 25.7 kB / 489.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.3435, allocations: 84.14 kB / 489.7 MB, free: 8.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3435, allocations: 7.844 kB / 489.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.3435, allocations: 0 / 489.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3436, allocations: 322.8 kB / 490.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.3436, allocations: 7.281 kB / 490.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.3436, allocations: 4 kB / 490.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.3437, allocations: 15.98 kB / 490.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3437, allocations: 0 / 490.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.209e-05/0.3437, allocations: 53.42 kB / 490.1 MB, free: 8.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3438, allocations: 5.875 kB / 490.1 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3438, allocations: 0 / 490.1 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3438, allocations: 3.984 kB / 490.2 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.3439, allocations: 12 kB / 490.2 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3439, allocations: 0 / 490.2 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.3439, allocations: 4 kB / 490.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.3439, allocations: 0 / 490.2 MB, free: 8.105 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.624e-05/0.344, allocations: 108.9 kB / 490.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.344, allocations: 0 / 490.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.344, allocations: 11.5 kB / 490.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.344, allocations: 0 / 490.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.344, allocations: 0 / 490.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3441, allocations: 4.359 kB / 490.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.3442, allocations: 149.6 kB / 490.4 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3442, allocations: 0 / 490.4 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.3442, allocations: 15.92 kB / 490.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3442, allocations: 4 kB / 490.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.3443, allocations: 4 kB / 490.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3443, allocations: 0 / 490.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3443, allocations: 4 kB / 490.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3444, allocations: 77.06 kB / 490.5 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.3444, allocations: 81.02 kB / 490.6 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3445, allocations: 0 / 490.6 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.836e-05/0.3445, allocations: 4 kB / 490.6 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.3445, allocations: 12.08 kB / 490.6 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3445, allocations: 0 / 490.6 MB, free: 7.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.93e-05/0.3446, allocations: 79.28 kB / 490.7 MB, free: 7.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3446, allocations: 0 / 490.7 MB, free: 7.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.3447, allocations: 4 kB / 490.7 MB, free: 7.461 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001046/0.3448, allocations: 95.19 kB / 490.8 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.254e-05/0.3449, allocations: 16 kB / 490.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3449, allocations: 0 / 490.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.3449, allocations: 15.98 kB / 490.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.778e-05/0.3451, allocations: 11.89 kB / 490.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.3453, allocations: 117.4 kB / 491 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3456, allocations: 0.6848 MB / 491.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.357e-05/0.3456, allocations: 0 / 491.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.3456, allocations: 7.438 kB / 491.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3456, allocations: 4 kB / 491.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of Templates: time 0.001656/0.3473, allocations: 240.4 kB / 491.9 MB, free: 6.223 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1)