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.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001406, allocations: 108.8 kB / 16.41 MB, free: 6.492 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 242.1 MB, free: 15.21 MB / 206.1 MB [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 196 kB / 294.4 MB, free: 12.64 MB / 238.1 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04097/0.04097, allocations: 8.794 MB / 355.3 MB, free: 15.89 MB / 302.1 MB [Timeout remaining time 180] 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.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 0.003824/0.003824, allocations: 75.88 kB / 472.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3178, allocations: 51.57 MB / 0.5119 GB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003329/0.3211, allocations: 1.794 MB / 0.5136 GB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.3221, allocations: 463.3 kB / 0.5141 GB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.3222, allocations: 1.219 kB / 0.5141 GB, free: 10.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.3223, allocations: 22.19 kB / 0.5141 GB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.3224, allocations: 35.75 kB / 0.5141 GB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.3226, allocations: 26.94 kB / 0.5142 GB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3228, allocations: 127.4 kB / 0.5143 GB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.323, allocations: 36.33 kB / 0.5143 GB, free: 10.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.155e-05/0.3231, allocations: 46.8 kB / 0.5144 GB, free: 10.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3232, allocations: 53.91 kB / 0.5144 GB, free: 10.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.3232, allocations: 10.84 kB / 0.5144 GB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.757e-05/0.3233, allocations: 9.562 kB / 0.5144 GB, free: 10.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.3233, allocations: 23.11 kB / 0.5145 GB, free: 10.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.3234, allocations: 58.28 kB / 0.5145 GB, free: 10.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3236, allocations: 121 kB / 0.5146 GB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3236, allocations: 0 / 0.5146 GB, free: 10.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.3236, allocations: 4 kB / 0.5146 GB, free: 10.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3236, allocations: 0 / 0.5146 GB, free: 10.23 MB / 334.1 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.0006312/0.3243, allocations: 419 kB / 0.515 GB, free: 9.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3243, allocations: 8.031 kB / 0.515 GB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3244, allocations: 16.84 kB / 0.5151 GB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3246, allocations: 192.2 kB / 0.5152 GB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3247, allocations: 12.31 kB / 0.5152 GB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.3247, allocations: 12.38 kB / 0.5153 GB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.3249, allocations: 105.9 kB / 0.5154 GB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3249, allocations: 3.984 kB / 0.5154 GB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.325, allocations: 4 kB / 0.5154 GB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.325, allocations: 8 kB / 0.5154 GB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3251, allocations: 55.98 kB / 0.5154 GB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008766/0.326, allocations: 0.4905 MB / 0.5159 GB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3261, allocations: 54.5 kB / 0.516 GB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.3262, allocations: 16.94 kB / 0.516 GB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.3262, allocations: 4 kB / 0.516 GB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3262, allocations: 34.5 kB / 0.516 GB, free: 8.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3262, allocations: 0 / 0.516 GB, free: 8.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002394/0.3265, allocations: 65.77 kB / 0.5161 GB, free: 8.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.3265, allocations: 55.41 kB / 0.5161 GB, free: 8.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3267, allocations: 144.5 kB / 0.5163 GB, free: 8.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3267, allocations: 25.7 kB / 0.5163 GB, free: 8.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.972e-05/0.3268, allocations: 128 kB / 0.5164 GB, free: 8.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.3268, allocations: 11.89 kB / 0.5164 GB, free: 8.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.3269, allocations: 17.72 kB / 0.5164 GB, free: 8.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3271, allocations: 326.8 kB / 0.5168 GB, free: 7.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.3271, allocations: 16 kB / 0.5168 GB, free: 7.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.3272, allocations: 42.55 kB / 0.5168 GB, free: 7.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/0.3273, allocations: 46.52 kB / 0.5169 GB, free: 7.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3273, allocations: 0 / 0.5169 GB, free: 7.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001421/0.3274, allocations: 81.58 kB / 0.5169 GB, free: 7.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3274, allocations: 4 kB / 0.5169 GB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3274, allocations: 160 / 0.5169 GB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3275, allocations: 0 / 0.5169 GB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.3276, allocations: 24.05 kB / 0.517 GB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3276, allocations: 3.984 kB / 0.517 GB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.3276, allocations: 7.891 kB / 0.517 GB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3276, allocations: 8 kB / 0.517 GB, free: 7.578 MB / 334.1 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 9.771e-05/0.3277, allocations: 125.7 kB / 0.5171 GB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.3278, allocations: 7.953 kB / 0.5171 GB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.3278, allocations: 12.25 kB / 0.5171 GB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3278, allocations: 3.984 kB / 0.5171 GB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3278, allocations: 0 / 0.5171 GB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3278, allocations: 4 kB / 0.5171 GB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.3281, allocations: 189.6 kB / 0.5173 GB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3281, allocations: 0 / 0.5173 GB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.3281, allocations: 15.98 kB / 0.5173 GB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3281, allocations: 0 / 0.5173 GB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3282, allocations: 0 / 0.5173 GB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3282, allocations: 7.938 kB / 0.5173 GB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3282, allocations: 0 / 0.5173 GB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.3284, allocations: 175.4 kB / 0.5175 GB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.3284, allocations: 85.05 kB / 0.5176 GB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3285, allocations: 4.031 kB / 0.5176 GB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.956e-05/0.3285, allocations: 0 / 0.5176 GB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.3286, allocations: 4 kB / 0.5176 GB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3286, allocations: 0 / 0.5176 GB, free: 6.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.664e-05/0.3287, allocations: 113.4 kB / 0.5177 GB, free: 6.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3287, allocations: 3.938 kB / 0.5177 GB, free: 6.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.3289, allocations: 23.94 kB / 0.5177 GB, free: 6.719 MB / 334.1 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 9.132e-05/0.329, allocations: 95.31 kB / 0.5178 GB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3291, allocations: 35.92 kB / 0.5178 GB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3291, allocations: 0 / 0.5178 GB, free: 6.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.3292, allocations: 12 kB / 0.5179 GB, free: 6.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.3294, allocations: 14.47 kB / 0.5179 GB, free: 6.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.3301, allocations: 298.7 kB / 0.5182 GB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3305, allocations: 0.7002 MB / 0.5188 GB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.3305, allocations: 8.656 kB / 0.5188 GB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.3306, allocations: 11.44 kB / 0.5189 GB, free: 5.488 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3306, allocations: 0 / 0.5189 GB, free: 5.488 MB / 334.1 MB Notification: Performance of Templates: time 0.003397/0.334, allocations: 0.7101 MB / 0.5196 GB, free: 4.785 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.817849230952561]