Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008081/0.008081, allocations: 101.1 kB / 15.88 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.371/2.371, allocations: 222.9 MB / 239.5 MB, free: 4.832 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002278/0.002279, allocations: 188.5 kB / 289.8 MB, free: 2.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06485/0.06485, allocations: 8.793 MB / 348.7 MB, free: 4.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 79.73 kB / 411.1 MB, free: 42.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1429, allocations: 51.57 MB / 462.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.002825/0.1458, allocations: 0.5432 MB / 463.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001746/0.146, allocations: 25.39 kB / 463.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.146, allocations: 0 / 463.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.1461, allocations: 3.938 kB / 463.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.1461, allocations: 0 / 463.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.1463, allocations: 12 kB / 463.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1464, allocations: 7.938 kB / 463.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.1464, allocations: 0 / 463.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.1465, allocations: 7.984 kB / 463.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.1466, allocations: 4 kB / 463.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1466, allocations: 7.938 kB / 463.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.1466, allocations: 4 kB / 463.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.1466, allocations: 3.984 kB / 463.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.1467, allocations: 0 / 463.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.601e-05/0.1467, allocations: 3.984 kB / 463.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1468, allocations: 4 kB / 463.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1468, allocations: 3.938 kB / 463.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1468, allocations: 0 / 463.2 MB, free: 14.38 MB / 302.1 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.0004882/0.1473, allocations: 327.5 kB / 463.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.1474, allocations: 8.031 kB / 463.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1474, allocations: 4.938 kB / 463.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.1476, allocations: 164.4 kB / 463.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1476, allocations: 4.375 kB / 463.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.1477, allocations: 4.375 kB / 463.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1478, allocations: 34.25 kB / 463.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1478, allocations: 192 / 463.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1479, allocations: 3.938 kB / 463.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1479, allocations: 4 kB / 463.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.148, allocations: 8 kB / 463.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.1482, allocations: 157.7 kB / 464 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.1483, allocations: 42.53 kB / 464 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.1484, allocations: 12.86 kB / 464 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.1484, allocations: 0 / 464 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.1485, allocations: 34.56 kB / 464 MB, free: 13.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.734e-06/0.1485, allocations: 0 / 464 MB, free: 13.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.000228/0.1487, allocations: 61.56 kB / 464.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1488, allocations: 51.41 kB / 464.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1489, allocations: 97.84 kB / 464.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1489, allocations: 29.7 kB / 464.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.149, allocations: 80.14 kB / 464.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.149, allocations: 12.12 kB / 464.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1491, allocations: 17.72 kB / 464.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1492, allocations: 314.8 kB / 464.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.1493, allocations: 15.94 kB / 464.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.1493, allocations: 4 kB / 464.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.1494, allocations: 16.86 kB / 464.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.1494, allocations: 3.984 kB / 464.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.1496, allocations: 45.64 kB / 464.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1496, allocations: 4 kB / 464.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1496, allocations: 3.938 kB / 464.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1496, allocations: 0 / 464.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1498, allocations: 11.98 kB / 464.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1498, allocations: 7.922 kB / 464.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.1499, allocations: 11.91 kB / 464.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1499, allocations: 0 / 464.8 MB, free: 12.59 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.15, allocations: 113.8 kB / 464.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.15, allocations: 4 kB / 464.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.1501, allocations: 7.438 kB / 464.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1501, allocations: 0 / 464.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1501, allocations: 0 / 464.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1501, allocations: 0 / 464.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1503, allocations: 153.7 kB / 465.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1503, allocations: 4 kB / 465.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1505, allocations: 11.98 kB / 465.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1505, allocations: 0 / 465.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1505, allocations: 4.453 kB / 465.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1505, allocations: 7.938 kB / 465.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1505, allocations: 0 / 465.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1507, allocations: 77.11 kB / 465.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1508, allocations: 77.11 kB / 465.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1508, allocations: 15.98 kB / 465.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.1509, allocations: 0 / 465.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.1509, allocations: 8.031 kB / 465.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1509, allocations: 0 / 465.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.151, allocations: 75.28 kB / 465.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.151, allocations: 4 kB / 465.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003351/0.1514, allocations: 0 / 465.4 MB, free: 11.93 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/0.1515, allocations: 91.25 kB / 465.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1516, allocations: 27.92 kB / 465.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1517, allocations: 0 / 465.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.1517, allocations: 8 kB / 465.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.152, allocations: 10.19 kB / 465.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1524, allocations: 141.1 kB / 465.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1527, allocations: 0.677 MB / 466.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.1528, allocations: 15.38 kB / 466.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1528, allocations: 4 kB / 466.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Templates: time 0.002678/0.1555, allocations: 467.8 kB / 466.8 MB, free: 10.44 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)