Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.001254/0.001254, 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.9899/0.9899, 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.001143/0.001143, allocations: 164.6 kB / 257 MB, free: 12.81 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.02407/0.02407, allocations: 6.663 MB / 266.9 MB, free: 3.066 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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 285.7 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.506e-05, allocations: 6.312 kB / 285.7 MB, free: 308 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.1128/0.1128, allocations: 1.896 MB / 287.6 MB, free: 21.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008568/0.1136, allocations: 486.3 kB / 288.1 MB, free: 21.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.1137, allocations: 2.75 kB / 288.1 MB, free: 21.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1138, allocations: 23.05 kB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.44e-05/0.1139, allocations: 33.02 kB / 288.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.1141, allocations: 26.11 kB / 288.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1142, allocations: 135.5 kB / 288.3 MB, free: 21.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1144, allocations: 26.3 kB / 288.3 MB, free: 21.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1145, allocations: 74.16 kB / 288.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1146, allocations: 37.36 kB / 288.4 MB, free: 21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.1146, allocations: 10.53 kB / 288.4 MB, free: 21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.1146, allocations: 9.812 kB / 288.4 MB, free: 21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.1147, allocations: 27.38 kB / 288.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.402e-05/0.1147, allocations: 34.91 kB / 288.5 MB, free: 20.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1149, allocations: 86.36 kB / 288.6 MB, free: 20.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1149, allocations: 0 / 288.6 MB, free: 20.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1149, allocations: 1.156 kB / 288.6 MB, free: 20.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1149, allocations: 1.219 kB / 288.6 MB, free: 20.93 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004013/0.1153, allocations: 311.2 kB / 288.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1153, allocations: 9.156 kB / 288.9 MB, free: 20.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.1154, allocations: 19 kB / 288.9 MB, free: 20.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1155, allocations: 130.3 kB / 289 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1155, allocations: 10.09 kB / 289 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1156, allocations: 12.75 kB / 289.1 MB, free: 20.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1157, allocations: 100.6 kB / 289.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1157, allocations: 0.9688 kB / 289.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1157, allocations: 10.03 kB / 289.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1158, allocations: 10.16 kB / 289.2 MB, free: 20.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.1158, allocations: 31 kB / 289.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.1163, allocations: 345.1 kB / 289.5 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.1164, allocations: 38.81 kB / 289.6 MB, free: 20.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.1164, allocations: 11.52 kB / 289.6 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.1164, allocations: 1 kB / 289.6 MB, free: 20.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.1164, allocations: 36.72 kB / 289.6 MB, free: 20.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1164, allocations: 0 / 289.6 MB, free: 20.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001213/0.1166, allocations: 56.06 kB / 289.7 MB, free: 20.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.1166, allocations: 53.17 kB / 289.7 MB, free: 19.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/0.1166, allocations: 131.6 kB / 289.9 MB, free: 19.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.1167, allocations: 26.89 kB / 289.9 MB, free: 19.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.1167, allocations: 123 kB / 290 MB, free: 19.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.1167, allocations: 11.33 kB / 290 MB, free: 19.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1167, allocations: 22.14 kB / 290 MB, free: 19.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.1168, allocations: 319 kB / 290.4 MB, free: 19.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.1168, allocations: 5.328 kB / 290.4 MB, free: 19.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.1168, allocations: 31.62 kB / 290.4 MB, free: 19.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.1169, allocations: 33.02 kB / 290.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1169, allocations: 0.5625 kB / 290.4 MB, free: 19.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.584e-05/0.1169, allocations: 62.53 kB / 290.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.117, allocations: 6.125 kB / 290.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.117, allocations: 0.5312 kB / 290.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.117, allocations: 6.516 kB / 290.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1171, allocations: 22.36 kB / 290.5 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1171, allocations: 1.891 kB / 290.5 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.1171, allocations: 10.55 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1171, allocations: 2.5 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 4.37e-05/0.1172, allocations: 112.4 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1172, allocations: 6.391 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.1172, allocations: 17.66 kB / 290.7 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1172, allocations: 1.125 kB / 290.7 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1172, allocations: 0.9375 kB / 290.7 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1172, allocations: 1.922 kB / 290.7 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.1174, allocations: 89.14 kB / 290.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1174, allocations: 1.25 kB / 290.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1174, allocations: 15.83 kB / 290.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1174, allocations: 1.234 kB / 290.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1175, allocations: 6.312 kB / 290.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1175, allocations: 0.9375 kB / 290.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1175, allocations: 4.641 kB / 290.8 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.992e-05/0.1176, allocations: 143.2 kB / 290.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.1176, allocations: 6.938 kB / 290.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1176, allocations: 1.812 kB / 290.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.1177, allocations: 4.188 kB / 290.9 MB, free: 18.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.1177, allocations: 13.72 kB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1177, allocations: 1.703 kB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.977e-05/0.1177, allocations: 25.44 kB / 291 MB, free: 18.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1177, allocations: 0 / 291 MB, free: 18.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.1179, allocations: 21.19 kB / 291 MB, free: 18.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 7.214e-05/0.118, allocations: 81.39 kB / 291.1 MB, free: 18.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.469e-05/0.1181, allocations: 27.55 kB / 291.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.1181, allocations: 1.062 kB / 291.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.1181, allocations: 16.75 kB / 291.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.1183, allocations: 9.5 kB / 291.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.1189, allocations: 264 kB / 291.4 MB, free: 18.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.1189, allocations: 64.5 kB / 291.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.877e-05/0.1189, allocations: 4.781 kB / 291.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.119, allocations: 60.05 kB / 291.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.119, allocations: 7.938 kB / 291.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of Templates: time 0.002386/0.1214, allocations: 0.7122 MB / 292.2 MB, free: 18.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.558874612208456]