Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001406/0.001406, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9475/0.9475, allocations: 177.2 MB / 200.3 MB, free: 5.348 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.001122/0.001122, allocations: 160.6 kB / 257 MB, free: 12.8 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.02453/0.02453, allocations: 6.671 MB / 266.9 MB, free: 3.035 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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 285.7 MB, free: 296 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.169e-05, allocations: 5.406 kB / 285.7 MB, free: 292 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.1068/0.1068, allocations: 1.893 MB / 287.6 MB, free: 21.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.1075, allocations: 486.8 kB / 288 MB, free: 21.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.1075, allocations: 1.969 kB / 288 MB, free: 21.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.422e-05/0.1076, allocations: 16.52 kB / 288.1 MB, free: 21.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.1077, allocations: 36.7 kB / 288.1 MB, free: 21.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.1078, allocations: 35.84 kB / 288.1 MB, free: 21.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1079, allocations: 123.1 kB / 288.3 MB, free: 21.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.108, allocations: 31.5 kB / 288.3 MB, free: 21.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.1081, allocations: 73.48 kB / 288.4 MB, free: 21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.1082, allocations: 37.53 kB / 288.4 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1082, allocations: 10.5 kB / 288.4 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1082, allocations: 9.781 kB / 288.4 MB, free: 20.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.1083, allocations: 24.06 kB / 288.4 MB, free: 20.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.1083, allocations: 40.03 kB / 288.5 MB, free: 20.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1084, allocations: 82.36 kB / 288.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1084, allocations: 1.344 kB / 288.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1084, allocations: 0 / 288.6 MB, free: 20.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1084, allocations: 0 / 288.6 MB, free: 20.91 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.0003005/0.1087, allocations: 313.9 kB / 288.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.1088, allocations: 9.062 kB / 288.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.1088, allocations: 21.42 kB / 288.9 MB, free: 20.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1089, allocations: 128.8 kB / 289 MB, free: 20.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1089, allocations: 8.906 kB / 289 MB, free: 20.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1089, allocations: 13.62 kB / 289 MB, free: 20.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.109, allocations: 101.3 kB / 289.1 MB, free: 20.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.109, allocations: 1.062 kB / 289.1 MB, free: 20.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1091, allocations: 5.531 kB / 289.1 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1091, allocations: 12 kB / 289.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.763e-05/0.1091, allocations: 26.89 kB / 289.2 MB, free: 20.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.1095, allocations: 346.6 kB / 289.5 MB, free: 20.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.1095, allocations: 41.22 kB / 289.6 MB, free: 20.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.1095, allocations: 11.2 kB / 289.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.1095, allocations: 1.672 kB / 289.6 MB, free: 20.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.1095, allocations: 32.33 kB / 289.6 MB, free: 20.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1095, allocations: 0 / 289.6 MB, free: 20.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.633e-05/0.1096, allocations: 52.28 kB / 289.7 MB, free: 20.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.189e-05/0.1096, allocations: 55.97 kB / 289.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.1097, allocations: 127.1 kB / 289.8 MB, free: 19.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.1097, allocations: 26.73 kB / 289.9 MB, free: 19.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.1097, allocations: 128.9 kB / 290 MB, free: 19.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.1097, allocations: 11.64 kB / 290 MB, free: 19.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.1098, allocations: 26.28 kB / 290 MB, free: 19.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.547e-05/0.1098, allocations: 319.5 kB / 290.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-06/0.1098, allocations: 5.203 kB / 290.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.1098, allocations: 26.14 kB / 290.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.1098, allocations: 32.52 kB / 290.4 MB, free: 19.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1099, allocations: 3.938 kB / 290.4 MB, free: 19.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.392e-05/0.1099, allocations: 61.33 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1099, allocations: 6.266 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1099, allocations: 2.312 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1099, allocations: 5.766 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.11, allocations: 17.62 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.11, allocations: 2.734 kB / 290.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.11, allocations: 10.11 kB / 290.5 MB, free: 19.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1101, allocations: 2.031 kB / 290.5 MB, free: 19.24 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 3.467e-05/0.1101, allocations: 117.3 kB / 290.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.1101, allocations: 10.09 kB / 290.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.1101, allocations: 14.84 kB / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1101, allocations: 1.75 kB / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1101, allocations: 8.312 kB / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1101, allocations: 0 / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.795e-05/0.1102, allocations: 81.61 kB / 290.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.1102, allocations: 0 / 290.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.1102, allocations: 13.86 kB / 290.8 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1103, allocations: 1.844 kB / 290.8 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.1103, allocations: 4.75 kB / 290.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1103, allocations: 1.25 kB / 290.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1103, allocations: 7.109 kB / 290.8 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.329e-05/0.1103, allocations: 141.4 kB / 290.9 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-06/0.1103, allocations: 8.938 kB / 290.9 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.1104, allocations: 1.719 kB / 290.9 MB, free: 18.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.1104, allocations: 8.891 kB / 290.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.1104, allocations: 6.516 kB / 290.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1104, allocations: 8.938 kB / 290.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.982e-05/0.1104, allocations: 23.06 kB / 291 MB, free: 18.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1104, allocations: 0 / 291 MB, free: 18.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001291/0.1106, allocations: 22.73 kB / 291 MB, free: 18.86 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 5.634e-05/0.1106, allocations: 77.22 kB / 291.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.608e-05/0.1107, allocations: 24.56 kB / 291.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1107, allocations: 0.9062 kB / 291.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.1107, allocations: 19.78 kB / 291.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1108, allocations: 9.094 kB / 291.1 MB, free: 18.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.1112, allocations: 268.6 kB / 291.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.1113, allocations: 63.27 kB / 291.4 MB, free: 18.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.1113, allocations: 7.734 kB / 291.4 MB, free: 18.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.1113, allocations: 65.02 kB / 291.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1113, allocations: 0 / 291.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of Templates: time 0.002455/0.1138, allocations: 0.7069 MB / 292.2 MB, free: 18.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5314771430566907]