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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9533/0.9533, allocations: 177.2 MB / 200.3 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 164.6 kB / 257 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02443/0.02443, allocations: 6.662 MB / 266.9 MB, free: 3.062 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 285.6 MB, free: 368 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.594e-05, allocations: 6.25 kB / 285.6 MB, free: 360 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.1117/0.1117, allocations: 0.489 MB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.1118, allocations: 27.28 kB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.1118, allocations: 0 / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.1119, allocations: 2.875 kB / 286.1 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.1119, allocations: 2.734 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.32e-05/0.112, allocations: 5.625 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.1121, allocations: 23.27 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.1121, allocations: 2.234 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.1121, allocations: 12.22 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.1122, allocations: 4.688 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1122, allocations: 0.8125 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.1122, allocations: 2.688 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1122, allocations: 2 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.373e-05/0.1122, allocations: 7.75 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.774e-05/0.1123, allocations: 12.69 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1123, allocations: 1.094 kB / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1123, allocations: 0 / 286.2 MB, free: 22.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.1123, allocations: 0 / 286.2 MB, free: 22.36 MB / 266.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.0002285/0.1125, allocations: 225.9 kB / 286.4 MB, free: 22.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1126, allocations: 9.969 kB / 286.5 MB, free: 22.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.153e-05/0.1126, allocations: 3.625 kB / 286.5 MB, free: 22.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.958e-05/0.1127, allocations: 114.4 kB / 286.6 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1127, allocations: 2.312 kB / 286.6 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1127, allocations: 3.469 kB / 286.6 MB, free: 22.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.1127, allocations: 35.27 kB / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1128, allocations: 2.375 kB / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.1128, allocations: 6.906 kB / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1128, allocations: 384 / 286.6 MB, free: 21.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.1128, allocations: 8.203 kB / 286.6 MB, free: 21.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.15e-05/0.1129, allocations: 59.42 kB / 286.7 MB, free: 21.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.1129, allocations: 33.67 kB / 286.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.1129, allocations: 8.438 kB / 286.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.1129, allocations: 2.906 kB / 286.7 MB, free: 21.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.1129, allocations: 33.41 kB / 286.8 MB, free: 21.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1129, allocations: 4.484 kB / 286.8 MB, free: 21.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 8.076e-05/0.113, allocations: 41.97 kB / 286.8 MB, free: 21.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.113, allocations: 55.52 kB / 286.9 MB, free: 21.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.315e-05/0.1131, allocations: 102.5 kB / 287 MB, free: 21.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.1131, allocations: 26.2 kB / 287 MB, free: 21.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-06/0.1131, allocations: 85.34 kB / 287.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.1131, allocations: 9.609 kB / 287.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.1131, allocations: 18.38 kB / 287.1 MB, free: 21.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.861e-05/0.1132, allocations: 321.1 kB / 287.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.1132, allocations: 3.094 kB / 287.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-06/0.1132, allocations: 3.312 kB / 287.4 MB, free: 21.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.1132, allocations: 14.98 kB / 287.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1132, allocations: 3.719 kB / 287.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.371e-05/0.1132, allocations: 46.17 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1133, allocations: 7.281 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1133, allocations: 0 / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1133, allocations: 1.062 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.1133, allocations: 8.781 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.1134, allocations: 0.6562 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.1134, allocations: 2.156 kB / 287.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-06/0.1134, allocations: 1.25 kB / 287.5 MB, free: 21.15 MB / 266.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 () * 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 3.344e-05/0.1134, allocations: 117.1 kB / 287.6 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-06/0.1134, allocations: 3.797 kB / 287.6 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.1134, allocations: 6.891 kB / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1134, allocations: 0 / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1134, allocations: 4.344 kB / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1134, allocations: 0 / 287.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.986e-05/0.1135, allocations: 82.34 kB / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1135, allocations: 0 / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.1135, allocations: 9.688 kB / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1135, allocations: 0.5 kB / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1135, allocations: 3.391 kB / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1135, allocations: 2.75 kB / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1135, allocations: 1.375 kB / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.466e-05/0.1136, allocations: 73.41 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.1136, allocations: 2.719 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.1136, allocations: 3.25 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-06/0.1136, allocations: 0.7188 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.1136, allocations: 2.531 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.1136, allocations: 2.125 kB / 287.8 MB, free: 20.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.187e-06/0.1136, allocations: 18.33 kB / 287.8 MB, free: 20.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1136, allocations: 0 / 287.8 MB, free: 20.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.84e-05/0.1137, allocations: 5.375 kB / 287.8 MB, free: 20.86 MB / 266.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 () * 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 5.851e-05/0.1138, allocations: 73.19 kB / 287.9 MB, free: 20.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.664e-05/0.1138, allocations: 18.58 kB / 287.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1138, allocations: 0.9375 kB / 287.9 MB, free: 20.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.1138, allocations: 15.5 kB / 287.9 MB, free: 20.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.976e-05/0.1139, allocations: 6.656 kB / 287.9 MB, free: 20.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.1141, allocations: 159.4 kB / 288.1 MB, free: 20.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.802e-05/0.1141, allocations: 59.41 kB / 288.2 MB, free: 20.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.053e-05/0.1142, allocations: 0.8438 kB / 288.2 MB, free: 20.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.1142, allocations: 52.16 kB / 288.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1142, allocations: 0 / 288.2 MB, free: 20.52 MB / 266.7 MB Notification: Performance of Templates: time 0.001701/0.1159, allocations: 287.1 kB / 288.5 MB, free: 20.51 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.533600476104766]