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.001742/0.001742, allocations: 78.42 kB / 19.01 MB, free: 2.859 MB / 14.72 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.489/1.489, allocations: 177.2 MB / 199.3 MB, free: 9.469 MB / 190.1 MB " [Timeout remaining time 178] 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.001985/0.001985, allocations: 161.4 kB / 255.8 MB, free: 0.8984 MB / 238.1 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.03804/0.03804, allocations: 6.672 MB / 318.9 MB, free: 48.48 MB / 286.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 83.86 kB / 445.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3545, allocations: 55.58 MB / 0.4895 GB, free: 26.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01412/0.3686, allocations: 16.26 MB / 0.5054 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.3791, allocations: 4.948 MB / 0.5102 GB, free: 4.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004744/0.3839, allocations: 183.1 kB / 0.5104 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01844/0.4023, allocations: 8.104 MB / 0.5183 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.4127, allocations: 2.179 MB / 0.5204 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.4184, allocations: 1.566 MB / 0.522 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01594/0.4344, allocations: 10.92 MB / 0.5326 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03444/0.4688, allocations: 16.26 MB / 0.5485 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02224/0.491, allocations: 9.329 MB / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.5049, allocations: 6.7 MB / 0.5641 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005982/0.5109, allocations: 1.625 MB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008695/0.5196, allocations: 1.91 MB / 0.5676 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007725/0.5273, allocations: 3.308 MB / 0.5708 GB, free: 6.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01469/0.542, allocations: 4.992 MB / 0.5757 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03299/0.575, allocations: 22.09 MB / 0.5973 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.575, allocations: 0 / 0.5973 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.575, allocations: 0 / 0.5973 GB, free: 11.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007586/0.5758, allocations: 0 / 0.5973 GB, free: 11.25 MB / 462.1 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.5853/1.161, allocations: 13.92 MB / 0.6109 GB, free: 90.31 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.572e-05/1.161, allocations: 10.17 kB / 0.6109 GB, free: 90.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06567/1.227, allocations: 7.788 MB / 0.6185 GB, free: 88.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01924/1.246, allocations: 6.906 MB / 0.6252 GB, free: 82.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008622/1.247, allocations: 0.8107 MB / 0.626 GB, free: 82.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005879/1.253, allocations: 1.063 MB / 0.6271 GB, free: 81.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05187/1.305, allocations: 18.03 MB / 0.6447 GB, free: 62.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006628/1.305, allocations: 11.95 kB / 0.6447 GB, free: 62.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00512/1.31, allocations: 451.4 kB / 0.6451 GB, free: 62.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006574/1.311, allocations: 0.5735 MB / 0.6457 GB, free: 61.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03435/1.345, allocations: 16.19 MB / 0.6615 GB, free: 45.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09777/1.443, allocations: 46.32 MB / 0.7067 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/1.461, allocations: 7.599 MB / 0.7141 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007343/1.468, allocations: 3.388 MB / 0.7174 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/1.469, allocations: 132.2 kB / 0.7176 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/1.469, allocations: 86.95 kB / 0.7177 GB, free: 4.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=492): time 1.416e-05/1.469, allocations: 4 kB / 0.7177 GB, free: 4.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=492): time 0.02931/1.498, allocations: 10.33 MB / 0.7277 GB, free: 9.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/1.498, allocations: 125.5 kB / 0.7279 GB, free: 9.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008151/1.507, allocations: 3.586 MB / 0.7314 GB, free: 6.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.508, allocations: 105.7 kB / 0.7315 GB, free: 5.949 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004198/1.512, allocations: 4.49 MB / 0.7359 GB, free: 1.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003223/1.515, allocations: 1.751 MB / 0.7376 GB, free: 15.68 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004815/1.52, allocations: 1.335 MB / 0.7389 GB, free: 14.33 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.52, allocations: 301.1 kB / 0.7392 GB, free: 14.04 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006637/1.527, allocations: 3.28 MB / 0.7424 GB, free: 10.75 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009962/1.537, allocations: 5.615 MB / 0.7478 GB, free: 4.082 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01582/1.552, allocations: 9.539 MB / 0.7572 GB, free: 9.461 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.553, allocations: 20 kB / 0.7572 GB, free: 9.441 MB / 0.5138 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02466/1.577, allocations: 10.28 MB / 0.7672 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/1.577, allocations: 43.98 kB / 0.7673 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/1.578, allocations: 72 kB / 0.7673 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/1.581, allocations: 1.094 MB / 0.7684 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007283/1.588, allocations: 1.521 MB / 0.7699 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/1.608, allocations: 12.96 MB / 0.7825 GB, free: 15.02 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006416/1.614, allocations: 0.85 MB / 0.7834 GB, free: 14.16 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/1.616, allocations: 327.9 kB / 0.7837 GB, free: 13.84 MB / 0.5451 GB 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.009745/1.626, allocations: 4.114 MB / 0.7877 GB, free: 9.715 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001727/1.628, allocations: 409.3 kB / 0.7881 GB, free: 9.312 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/1.646, allocations: 7.833 MB / 0.7957 GB, free: 1.414 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01349/1.66, allocations: 6.488 MB / 0.8021 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/1.66, allocations: 12 kB / 0.8021 GB, free: 10.86 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/1.66, allocations: 27.89 kB / 0.8021 GB, free: 10.84 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04261/1.702, allocations: 15.45 MB / 0.8172 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-05/1.702, allocations: 16 kB / 0.8172 GB, free: 11.08 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004466/1.707, allocations: 0.9595 MB / 0.8181 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/1.71, allocations: 0.983 MB / 0.8191 GB, free: 9.125 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/1.711, allocations: 140 kB / 0.8192 GB, free: 8.988 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3078/2.019, allocations: 12.61 MB / 0.8316 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/2.019, allocations: 22.5 kB / 0.8316 GB, free: 194.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/2.039, allocations: 12.13 MB / 0.8434 GB, free: 190.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003762/2.042, allocations: 1.095 MB / 0.8445 GB, free: 190 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/2.044, allocations: 114.4 kB / 0.8446 GB, free: 189.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/2.047, allocations: 314.8 kB / 0.8449 GB, free: 189.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008682/2.048, allocations: 422.2 kB / 0.8453 GB, free: 189.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003242/2.048, allocations: 176.8 kB / 0.8455 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003779/2.052, allocations: 2.322 MB / 0.8477 GB, free: 188.9 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/2.052, allocations: 0 / 0.8477 GB, free: 188.9 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00916/2.061, allocations: 2.688 MB / 0.8504 GB, free: 188.3 MB / 0.5763 GB 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.001246/2.062, allocations: 311.6 kB / 0.8507 GB, free: 188.1 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01286/2.075, allocations: 8.298 MB / 0.8588 GB, free: 184.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-05/2.075, allocations: 0 / 0.8588 GB, free: 184.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006445/2.081, allocations: 3.993 MB / 0.8627 GB, free: 181 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006152/2.088, allocations: 0.9194 MB / 0.8636 GB, free: 180.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03777/2.125, allocations: 19.21 MB / 0.8823 GB, free: 162.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01425/2.14, allocations: 6.585 MB / 0.8887 GB, free: 157 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008972/2.149, allocations: 2.533 MB / 0.8912 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/2.151, allocations: 408.4 kB / 0.8916 GB, free: 154 MB / 0.5763 GB Notification: Performance of SimCode: time 2.645e-06/2.151, allocations: 0 / 0.8916 GB, free: 154 MB / 0.5763 GB Notification: Performance of Templates: time 0.11/2.261, allocations: 63.74 MB / 0.9539 GB, free: 90.95 MB / 0.5763 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.322996065020561] Failed to read output from testmodel.py, exit status != 0: 2.2722760252654552 2.2827776060000002 1.7049095619999999 Calling exit ...