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.001594/0.001594, allocations: 110.2 kB / 19.69 MB, free: 2.254 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: 230.6 MB / 253.4 MB, free: 8.277 MB / 206.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.001711/0.001711, allocations: 222.1 kB / 310 MB, free: 3.152 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.04093/0.04093, allocations: 8.919 MB / 375.3 MB, free: 1.906 MB / 302.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.002522/0.002522, allocations: 87.86 kB / 0.4905 GB, free: 6.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3141, allocations: 55.59 MB / 0.5447 GB, free: 27.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01446/0.3285, allocations: 19.03 MB / 0.5633 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.3403, allocations: 5.13 MB / 0.5683 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004971/0.3453, allocations: 190 kB / 0.5685 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01869/0.3639, allocations: 8.313 MB / 0.5766 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009452/0.3734, allocations: 2.223 MB / 0.5788 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00575/0.3791, allocations: 1.647 MB / 0.5804 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01796/0.3971, allocations: 10.92 MB / 0.5911 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04065/0.4378, allocations: 16.39 MB / 0.6071 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01326/0.451, allocations: 6.211 MB / 0.6131 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01382/0.4648, allocations: 6.864 MB / 0.6198 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005612/0.4704, allocations: 1.625 MB / 0.6214 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008229/0.4787, allocations: 1.929 MB / 0.6233 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006915/0.4856, allocations: 3.312 MB / 0.6265 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01486/0.5004, allocations: 6.393 MB / 0.6328 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03336/0.5338, allocations: 21.98 MB / 0.6543 GB, free: 12.51 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-05/0.5338, allocations: 0 / 0.6543 GB, free: 12.51 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5338, allocations: 4 kB / 0.6543 GB, free: 12.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007304/0.5346, allocations: 0 / 0.6543 GB, free: 12.5 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.04609/0.5806, allocations: 13.94 MB / 0.6679 GB, free: 14.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.5807, allocations: 8.031 kB / 0.6679 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04386/0.6246, allocations: 7.781 MB / 0.6755 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0182/0.6428, allocations: 6.9 MB / 0.6822 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/0.6439, allocations: 0.8109 MB / 0.683 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005112/0.649, allocations: 1.066 MB / 0.6841 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5552/1.204, allocations: 17.8 MB / 0.7014 GB, free: 98.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006615/1.205, allocations: 18.83 kB / 0.7015 GB, free: 98.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004671/1.21, allocations: 454.5 kB / 0.7019 GB, free: 98.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/1.211, allocations: 0.57 MB / 0.7024 GB, free: 97.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04222/1.253, allocations: 16.26 MB / 0.7183 GB, free: 92.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1132/1.366, allocations: 51.97 MB / 0.7691 GB, free: 59.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/1.38, allocations: 7.643 MB / 0.7765 GB, free: 53.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00571/1.386, allocations: 3.405 MB / 0.7799 GB, free: 50.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006703/1.387, allocations: 159.8 kB / 0.78 GB, free: 50.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/1.387, allocations: 90.89 kB / 0.7801 GB, free: 50.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=492): time 1.524e-05/1.387, allocations: 3.984 kB / 0.7801 GB, free: 50.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=492): time 0.02441/1.411, allocations: 10.33 MB / 0.7902 GB, free: 39.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.548e-05/1.411, allocations: 129.5 kB / 0.7903 GB, free: 39.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007165/1.418, allocations: 3.503 MB / 0.7937 GB, free: 36.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001111/1.42, allocations: 105.7 kB / 0.7938 GB, free: 35.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00314/1.423, allocations: 4.49 MB / 0.7982 GB, free: 32.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002416/1.425, allocations: 1.755 MB / 0.7999 GB, free: 30.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004833/1.43, allocations: 1.334 MB / 0.8012 GB, free: 28.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/1.43, allocations: 309.1 kB / 0.8015 GB, free: 28.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005927/1.436, allocations: 3.277 MB / 0.8047 GB, free: 25.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007537/1.443, allocations: 5.623 MB / 0.8102 GB, free: 18.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.456, allocations: 9.539 MB / 0.8195 GB, free: 8.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.456, allocations: 20 kB / 0.8196 GB, free: 8.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02253/1.478, allocations: 10.28 MB / 0.8296 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.479, allocations: 36 kB / 0.8296 GB, free: 13.69 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/1.479, allocations: 79.94 kB / 0.8297 GB, free: 13.61 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/1.483, allocations: 1.082 MB / 0.8308 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006643/1.489, allocations: 1.533 MB / 0.8323 GB, free: 10.98 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/1.509, allocations: 13.23 MB / 0.8452 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006351/1.516, allocations: 0.8578 MB / 0.846 GB, free: 12.48 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001874/1.518, allocations: 323.9 kB / 0.8463 GB, free: 12.16 MB / 0.5138 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.01088/1.529, allocations: 4.122 MB / 0.8503 GB, free: 8.023 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/1.531, allocations: 413.3 kB / 0.8507 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02184/1.552, allocations: 7.825 MB / 0.8584 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01568/1.568, allocations: 6.484 MB / 0.8647 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-05/1.568, allocations: 12 kB / 0.8647 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000133/1.568, allocations: 31.83 kB / 0.8648 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04817/1.616, allocations: 17.6 MB / 0.8819 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.232e-05/1.617, allocations: 16.12 kB / 0.882 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004487/1.621, allocations: 0.9672 MB / 0.8829 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/1.624, allocations: 0.9913 MB / 0.8839 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001376/1.626, allocations: 132 kB / 0.884 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/1.645, allocations: 12.9 MB / 0.8966 GB, free: 7.801 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.252e-05/1.645, allocations: 23.88 kB / 0.8966 GB, free: 7.777 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02697/1.672, allocations: 12.13 MB / 0.9085 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00461/1.676, allocations: 1.105 MB / 0.9095 GB, free: 9.996 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/1.678, allocations: 108 kB / 0.9096 GB, free: 9.891 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00401/1.682, allocations: 315.6 kB / 0.9099 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001595/1.684, allocations: 427.5 kB / 0.9104 GB, free: 9.164 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001054/1.685, allocations: 175.9 kB / 0.9105 GB, free: 8.992 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006161/1.691, allocations: 2.358 MB / 0.9128 GB, free: 6.637 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/1.691, allocations: 0 / 0.9128 GB, free: 6.637 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01344/1.704, allocations: 2.679 MB / 0.9154 GB, free: 3.949 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.001992/1.706, allocations: 318.1 kB / 0.9157 GB, free: 3.629 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3098/2.016, allocations: 8.296 MB / 0.9238 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.499e-05/2.016, allocations: 4.688 kB / 0.9238 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006981/2.023, allocations: 3.981 MB / 0.9277 GB, free: 182.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/2.029, allocations: 0.9389 MB / 0.9287 GB, free: 182.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04257/2.071, allocations: 18.89 MB / 0.9471 GB, free: 174.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01744/2.089, allocations: 6.802 MB / 0.9537 GB, free: 171.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003191/2.092, allocations: 473.4 kB / 0.9542 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.893e-06/2.092, allocations: 0 / 0.9542 GB, free: 171.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.6763/2.768, allocations: 357.1 MB / 1.303 GB, free: 42.22 MB / 0.5763 GB " [Timeout remaining time 657] 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: 20.646287048934028] Failed to read output from testmodel.py, exit status != 0: 2.780488383024931 2.792036123 2.255139557 Calling exit ...