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.001812/0.001812, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.558/1.558, allocations: 177.2 MB / 200.1 MB, free: 8.387 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.001797/0.001797, allocations: 159.6 kB / 256.6 MB, free: 4.297 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.03931/0.03931, allocations: 6.66 MB / 319.6 MB, free: 5.379 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.002557/0.002557, allocations: 80.3 kB / 446.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1395, allocations: 55.59 MB / 0.4903 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.02169/0.1612, allocations: 16.27 MB / 0.5061 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3611/0.5223, allocations: 4.937 MB / 0.511 GB, free: 39.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005938/0.5282, allocations: 183.4 kB / 0.5111 GB, free: 39.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0218/0.55, allocations: 8.111 MB / 0.5191 GB, free: 39.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.561, allocations: 2.186 MB / 0.5212 GB, free: 38.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.5667, allocations: 1.561 MB / 0.5227 GB, free: 38.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.5831, allocations: 10.92 MB / 0.5334 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04337/0.6265, allocations: 16.25 MB / 0.5492 GB, free: 24.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01355/0.64, allocations: 6.202 MB / 0.5553 GB, free: 21.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01639/0.6564, allocations: 6.719 MB / 0.5619 GB, free: 18.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01039/0.6668, allocations: 1.621 MB / 0.5634 GB, free: 18.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.6816, allocations: 1.921 MB / 0.5653 GB, free: 18.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0102/0.6918, allocations: 3.305 MB / 0.5685 GB, free: 16.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02067/0.7124, allocations: 4.988 MB / 0.5734 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05068/0.7631, allocations: 22.09 MB / 0.595 GB, free: 452 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/0.7631, allocations: 0 / 0.595 GB, free: 452 kB / 430.1 MB Notification: Performance of FrontEnd: time 5.14e-06/0.7631, allocations: 2.875 kB / 0.595 GB, free: 452 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001332/0.7645, allocations: 0 / 0.595 GB, free: 452 kB / 430.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.06351/0.828, allocations: 13.93 MB / 0.6086 GB, free: 2.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.493e-05/0.828, allocations: 19.98 kB / 0.6086 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04592/0.874, allocations: 7.774 MB / 0.6162 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/0.8942, allocations: 6.908 MB / 0.6229 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001496/0.8957, allocations: 0.807 MB / 0.6237 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008986/0.9047, allocations: 1.066 MB / 0.6248 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06248/0.9672, allocations: 18.03 MB / 0.6424 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005616/0.9677, allocations: 7.953 kB / 0.6424 GB, free: 144 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004798/0.9725, allocations: 448 kB / 0.6428 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008404/0.9734, allocations: 0.5813 MB / 0.6434 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04724/1.021, allocations: 16.19 MB / 0.6592 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/1.141, allocations: 46.32 MB / 0.7044 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/1.156, allocations: 7.596 MB / 0.7119 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006388/1.162, allocations: 3.397 MB / 0.7152 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004471/1.163, allocations: 128.3 kB / 0.7153 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/1.163, allocations: 94.94 kB / 0.7154 GB, free: 4.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=492): time 8.486e-06/1.163, allocations: 0 / 0.7154 GB, free: 4.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=492): time 0.3321/1.495, allocations: 10.33 MB / 0.7255 GB, free: 146.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.495, allocations: 129 kB / 0.7256 GB, free: 146.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008054/1.503, allocations: 3.585 MB / 0.7291 GB, free: 145.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001294/1.505, allocations: 101.7 kB / 0.7292 GB, free: 145.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003547/1.508, allocations: 4.497 MB / 0.7336 GB, free: 142.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.51, allocations: 1.75 MB / 0.7353 GB, free: 141.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001965/1.512, allocations: 1.326 MB / 0.7366 GB, free: 140.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/1.512, allocations: 305.1 kB / 0.7369 GB, free: 140.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004294/1.516, allocations: 3.281 MB / 0.7401 GB, free: 139.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005456/1.522, allocations: 5.613 MB / 0.7456 GB, free: 135.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/1.532, allocations: 9.545 MB / 0.7549 GB, free: 129.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/1.532, allocations: 22.75 kB / 0.7549 GB, free: 129.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01811/1.551, allocations: 10.28 MB / 0.7649 GB, free: 125.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/1.551, allocations: 36.62 kB / 0.765 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/1.551, allocations: 74.97 kB / 0.7651 GB, free: 125.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/1.554, allocations: 1.086 MB / 0.7661 GB, free: 125.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006268/1.56, allocations: 1.53 MB / 0.7676 GB, free: 124.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/1.574, allocations: 12.94 MB / 0.7802 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005611/1.58, allocations: 0.8555 MB / 0.7811 GB, free: 115.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.582, allocations: 324.1 kB / 0.7814 GB, free: 115.8 MB / 0.545 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.008919/1.591, allocations: 4.111 MB / 0.7854 GB, free: 113.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.592, allocations: 412.3 kB / 0.7858 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.604, allocations: 7.828 MB / 0.7934 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008627/1.613, allocations: 6.493 MB / 0.7998 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-05/1.613, allocations: 11.34 kB / 0.7998 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.57e-05/1.613, allocations: 28.95 kB / 0.7998 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/1.643, allocations: 15.45 MB / 0.8149 GB, free: 99.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/1.643, allocations: 12 kB / 0.8149 GB, free: 99.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003914/1.647, allocations: 0.9692 MB / 0.8159 GB, free: 99.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/1.65, allocations: 0.9764 MB / 0.8168 GB, free: 98.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006478/1.65, allocations: 136 kB / 0.8169 GB, free: 98.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.663, allocations: 12.63 MB / 0.8293 GB, free: 85.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/1.663, allocations: 22.66 kB / 0.8293 GB, free: 85.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/1.681, allocations: 12.14 MB / 0.8412 GB, free: 72.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/1.684, allocations: 1.101 MB / 0.8422 GB, free: 71.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/1.685, allocations: 108 kB / 0.8423 GB, free: 71.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.688, allocations: 315.6 kB / 0.8426 GB, free: 71.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007841/1.688, allocations: 427.4 kB / 0.843 GB, free: 70.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003272/1.689, allocations: 172 kB / 0.8432 GB, free: 70.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003188/1.692, allocations: 2.322 MB / 0.8455 GB, free: 68.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.692, allocations: 0 / 0.8455 GB, free: 68.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01327/1.705, allocations: 2.686 MB / 0.8481 GB, free: 65.41 MB / 0.545 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.001539/1.707, allocations: 309.7 kB / 0.8484 GB, free: 65.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.721, allocations: 8.291 MB / 0.8565 GB, free: 56.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.68e-05/1.721, allocations: 0 / 0.8565 GB, free: 56.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006736/1.728, allocations: 3.983 MB / 0.8604 GB, free: 52.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007626/1.735, allocations: 0.9256 MB / 0.8613 GB, free: 51.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03783/1.773, allocations: 19.21 MB / 0.88 GB, free: 32.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009489/1.783, allocations: 6.575 MB / 0.8865 GB, free: 25.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006259/1.789, allocations: 2.539 MB / 0.8889 GB, free: 23.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/1.79, allocations: 412.3 kB / 0.8893 GB, free: 22.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.713e-06/1.79, allocations: 0 / 0.8893 GB, free: 22.81 MB / 0.545 GB Notification: Performance of Templates: time 0.4801/2.271, allocations: 63.73 MB / 0.9516 GB, free: 158.9 MB / 0.5762 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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Machines.EquivalentCircuit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.798756566015072] Failed to read output from testmodel.py, exit status != 0: 2.2812261360231787 2.292575307 1.526355131 Calling exit ...