Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.EquivalentCircuit.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.0009107/0.0009107, allocations: 92.2 kB / 20.19 MB, free: 4.359 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 1.081/1.081, allocations: 177.1 MB / 200.5 MB, free: 5.816 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.001544/0.001544, allocations: 163.6 kB / 257 MB, free: 13.18 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.02409/0.02409, allocations: 6.666 MB / 320.1 MB, free: 26.56 MB / 266.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.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") translateModel(HanserModelica.Machines.EquivalentCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Machines.EquivalentCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 391.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.629e-05, allocations: 6.25 kB / 391.7 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01386/0.01388, allocations: 18.02 MB / 409.7 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1527/0.1666, allocations: 5.048 MB / 414.7 MB, free: 68.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004942/0.1716, allocations: 183.1 kB / 414.9 MB, free: 68.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.1843, allocations: 8.726 MB / 423.6 MB, free: 66.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008859/0.1932, allocations: 2.243 MB / 425.9 MB, free: 65.51 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.1972, allocations: 1.58 MB / 427.5 MB, free: 64.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.2077, allocations: 11.26 MB / 438.7 MB, free: 58.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0209/0.2286, allocations: 16.32 MB / 455 MB, free: 42.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01356/0.2422, allocations: 9.126 MB / 464.2 MB, free: 34.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01036/0.2525, allocations: 6.698 MB / 470.9 MB, free: 27.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004991/0.2575, allocations: 1.621 MB / 472.5 MB, free: 25.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006276/0.2638, allocations: 1.937 MB / 474.4 MB, free: 24.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004613/0.2684, allocations: 3.425 MB / 477.8 MB, free: 20.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009234/0.2776, allocations: 4.347 MB / 482.2 MB, free: 16.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.2917, allocations: 11.04 MB / 493.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2917, allocations: 4 kB / 493.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2917, allocations: 0 / 493.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005919/0.2923, allocations: 0 / 493.2 MB, free: 5.152 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3006 * Number of variables: 3006 Notification: Performance of Generate backend data structure: time 0.02978/0.3221, allocations: 14.93 MB / 0.4963 GB, free: 6.121 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.3221, allocations: 8.031 kB / 0.4963 GB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03091/0.353, allocations: 9.53 MB / 0.5056 GB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.3646, allocations: 6.371 MB / 0.5118 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009086/0.3655, allocations: 0.807 MB / 0.5126 GB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003315/0.3688, allocations: 1.074 MB / 0.5136 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0287/0.3975, allocations: 9.665 MB / 0.5231 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000319/0.3978, allocations: 7.953 kB / 0.5231 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002084/0.3999, allocations: 448 kB / 0.5235 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004797/0.4004, allocations: 0.5735 MB / 0.5241 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.4172, allocations: 5.168 MB / 0.5291 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3219/0.7391, allocations: 42.55 MB / 0.5707 GB, free: 103.8 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006879/0.7459, allocations: 5.431 MB / 0.576 GB, free: 102.7 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.7484, allocations: 1.625 MB / 0.5776 GB, free: 102.3 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.7487, allocations: 164.4 kB / 0.5777 GB, free: 102.3 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.256e-05/0.7487, allocations: 92.83 kB / 0.5778 GB, free: 102.2 MB / 394.8 MB Notification: Performance of pre-optimization done (n=492): time 8.116e-06/0.7488, allocations: 2.281 kB / 0.5778 GB, free: 102.2 MB / 394.8 MB Notification: Performance of matching and sorting (n=492): time 0.009951/0.7587, allocations: 5.691 MB / 0.5834 GB, free: 100.9 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.7588, allocations: 137.1 kB / 0.5835 GB, free: 100.8 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/0.7629, allocations: 3.415 MB / 0.5868 GB, free: 99.39 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000339/0.7633, allocations: 104 kB / 0.5869 GB, free: 99.3 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.7655, allocations: 4.758 MB / 0.5916 GB, free: 96.5 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.7667, allocations: 1.807 MB / 0.5933 GB, free: 95.23 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.768, allocations: 1.501 MB / 0.5948 GB, free: 93.89 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.7681, allocations: 476.8 kB / 0.5953 GB, free: 93.42 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.7699, allocations: 1.052 MB / 0.5963 GB, free: 92.37 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/0.7726, allocations: 4.575 MB / 0.6007 GB, free: 86.35 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005183/0.7778, allocations: 6.225 MB / 0.6068 GB, free: 78.66 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-05/0.7779, allocations: 24 kB / 0.6069 GB, free: 78.64 MB / 394.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.008372/0.7862, allocations: 5.94 MB / 0.6127 GB, free: 72.64 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.7863, allocations: 36.03 kB / 0.6127 GB, free: 72.61 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.468e-05/0.7863, allocations: 80 kB / 0.6128 GB, free: 72.53 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.7885, allocations: 1.024 MB / 0.6138 GB, free: 71.5 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.7916, allocations: 1.529 MB / 0.6153 GB, free: 69.97 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007773/0.7993, allocations: 11.78 MB / 0.6268 GB, free: 57.74 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/0.8035, allocations: 0.8578 MB / 0.6276 GB, free: 56.88 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009702/0.8044, allocations: 320 kB / 0.6279 GB, free: 56.56 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (790): * Single equations (assignments): 784 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003263/0.8077, allocations: 0.588 MB / 0.6285 GB, free: 55.96 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009242/0.8086, allocations: 0.5599 MB / 0.629 GB, free: 55.4 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005928/0.8146, allocations: 4.393 MB / 0.6333 GB, free: 50.95 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003908/0.8185, allocations: 3.173 MB / 0.6364 GB, free: 47.72 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.482e-05/0.8185, allocations: 16 kB / 0.6364 GB, free: 47.7 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.8185, allocations: 31.89 kB / 0.6365 GB, free: 47.67 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/0.8395, allocations: 13.2 MB / 0.6494 GB, free: 34.25 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.8395, allocations: 12 kB / 0.6494 GB, free: 34.23 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/0.8415, allocations: 0.9595 MB / 0.6503 GB, free: 33.27 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.8438, allocations: 0.9344 MB / 0.6512 GB, free: 32.32 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003821/0.8442, allocations: 132 kB / 0.6513 GB, free: 32.2 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007106/0.8513, allocations: 11.63 MB / 0.6627 GB, free: 20.11 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.8513, allocations: 25.19 kB / 0.6627 GB, free: 20.08 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008932/0.8602, allocations: 6.239 MB / 0.6688 GB, free: 13.23 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.8623, allocations: 0.9722 MB / 0.6698 GB, free: 12.25 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004429/0.8627, allocations: 112 kB / 0.6699 GB, free: 12.14 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.8641, allocations: 315.6 kB / 0.6702 GB, free: 11.83 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005952/0.8646, allocations: 419.4 kB / 0.6706 GB, free: 11.42 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/0.8649, allocations: 175.9 kB / 0.6707 GB, free: 11.25 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001836/0.8667, allocations: 1.487 MB / 0.6722 GB, free: 9.766 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8667, allocations: 0 / 0.6722 GB, free: 9.766 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.006611/0.8733, allocations: 2.69 MB / 0.6748 GB, free: 7.066 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (501): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,30,100.0%), (1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007854/0.8741, allocations: 312.2 kB / 0.6751 GB, free: 6.758 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.007125/0.8812, allocations: 5.27 MB / 0.6803 GB, free: 1.371 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/0.8812, allocations: 4 kB / 0.6803 GB, free: 1.367 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.8847, allocations: 2.958 MB / 0.6832 GB, free: 14.33 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/0.8879, allocations: 0.9503 MB / 0.6841 GB, free: 13.42 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1586/1.047, allocations: 15.9 MB / 0.6996 GB, free: 122.1 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/1.051, allocations: 3.002 MB / 0.7025 GB, free: 121.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00434/1.055, allocations: 2.137 MB / 0.7046 GB, free: 121.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008227/1.056, allocations: 406.4 kB / 0.705 GB, free: 121.8 MB / 410.8 MB Notification: Performance of SimCode: time 4.098e-06/1.056, allocations: 0 / 0.705 GB, free: 121.8 MB / 410.8 MB Notification: Performance of Templates: time 0.07751/1.133, allocations: 63.49 MB / 0.767 GB, free: 73.95 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; mkfifo HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe >> ../files/HanserModelica_HanserModelica.Machines.EquivalentCircuit.sim & ./HanserModelica_HanserModelica.Machines.EquivalentCircuit -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.364130160072818]