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.001253/0.001253, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.608/1.608, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.00223/0.00223, allocations: 204 kB / 309.2 MB, free: 3.164 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.04438/0.04438, allocations: 8.923 MB / 374.6 MB, free: 1.914 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.003801/0.003801, allocations: 87.88 kB / 0.4897 GB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3479, allocations: 55.61 MB / 0.544 GB, free: 27.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.EquivalentCircuit): time 0.01431/0.3622, allocations: 19.03 MB / 0.5626 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.3737, allocations: 5.122 MB / 0.5676 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005471/0.3792, allocations: 188.1 kB / 0.5678 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.3977, allocations: 8.316 MB / 0.5759 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008694/0.4064, allocations: 2.232 MB / 0.5781 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.4111, allocations: 1.628 MB / 0.5796 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01668/0.4278, allocations: 10.92 MB / 0.5903 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03722/0.465, allocations: 16.39 MB / 0.6063 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/0.4786, allocations: 6.215 MB / 0.6124 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01423/0.4928, allocations: 6.864 MB / 0.6191 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005689/0.4985, allocations: 1.621 MB / 0.6207 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007545/0.5061, allocations: 1.937 MB / 0.6226 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006294/0.5124, allocations: 3.308 MB / 0.6258 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01452/0.5269, allocations: 6.389 MB / 0.632 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03515/0.562, allocations: 21.99 MB / 0.6535 GB, free: 12.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.562, allocations: 0 / 0.6535 GB, free: 12.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.562, allocations: 4 kB / 0.6535 GB, free: 12.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007453/0.5628, allocations: 0 / 0.6535 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.04774/0.6105, allocations: 13.93 MB / 0.6671 GB, free: 14.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.6106, allocations: 8.031 kB / 0.6671 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04575/0.6563, allocations: 7.785 MB / 0.6747 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/0.6748, allocations: 6.904 MB / 0.6815 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/0.6758, allocations: 0.8108 MB / 0.6823 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00536/0.6812, allocations: 1.062 MB / 0.6833 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6048/1.286, allocations: 17.8 MB / 0.7007 GB, free: 98.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009837/1.287, allocations: 10.73 kB / 0.7007 GB, free: 98.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005222/1.292, allocations: 453.2 kB / 0.7011 GB, free: 98.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/1.293, allocations: 0.5781 MB / 0.7017 GB, free: 98.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0397/1.333, allocations: 16.25 MB / 0.7176 GB, free: 92.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1091/1.442, allocations: 51.98 MB / 0.7683 GB, free: 59.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/1.455, allocations: 7.631 MB / 0.7758 GB, free: 53.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005487/1.461, allocations: 3.409 MB / 0.7791 GB, free: 50.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/1.462, allocations: 160 kB / 0.7793 GB, free: 50.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/1.462, allocations: 82.95 kB / 0.7793 GB, free: 50.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=492): time 1.536e-05/1.462, allocations: 4 kB / 0.7793 GB, free: 50.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=492): time 0.02278/1.484, allocations: 10.34 MB / 0.7894 GB, free: 39.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/1.485, allocations: 125.5 kB / 0.7896 GB, free: 39.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006014/1.491, allocations: 3.507 MB / 0.793 GB, free: 36.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007438/1.491, allocations: 105.6 kB / 0.7931 GB, free: 35.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002376/1.494, allocations: 4.488 MB / 0.7975 GB, free: 31.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002041/1.496, allocations: 1.76 MB / 0.7992 GB, free: 30.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003386/1.499, allocations: 1.331 MB / 0.8005 GB, free: 28.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/1.499, allocations: 305.1 kB / 0.8008 GB, free: 28.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004632/1.504, allocations: 3.277 MB / 0.804 GB, free: 25.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00613/1.51, allocations: 5.619 MB / 0.8095 GB, free: 18.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.521, allocations: 9.539 MB / 0.8188 GB, free: 8.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.84e-05/1.521, allocations: 20 kB / 0.8188 GB, free: 8.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02017/1.541, allocations: 10.28 MB / 0.8288 GB, free: 13.68 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.541, allocations: 40 kB / 0.8289 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001712/1.542, allocations: 75.94 kB / 0.8289 GB, free: 13.57 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003607/1.545, allocations: 1.09 MB / 0.83 GB, free: 12.47 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/1.551, allocations: 1.521 MB / 0.8315 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/1.571, allocations: 13.23 MB / 0.8444 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005534/1.576, allocations: 0.8578 MB / 0.8453 GB, free: 12.42 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.578, allocations: 327.9 kB / 0.8456 GB, free: 12.1 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.009122/1.587, allocations: 4.127 MB / 0.8496 GB, free: 7.961 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001678/1.588, allocations: 413.3 kB / 0.85 GB, free: 7.555 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.607, allocations: 7.825 MB / 0.8576 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01365/1.62, allocations: 6.484 MB / 0.864 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/1.62, allocations: 15.98 kB / 0.864 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001057/1.62, allocations: 27.89 kB / 0.864 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04118/1.662, allocations: 17.6 MB / 0.8812 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/1.662, allocations: 16 kB / 0.8812 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004/1.666, allocations: 0.9595 MB / 0.8821 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/1.669, allocations: 0.9869 MB / 0.8831 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006281/1.669, allocations: 132 kB / 0.8832 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/1.687, allocations: 12.89 MB / 0.8958 GB, free: 7.797 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-05/1.687, allocations: 23.88 kB / 0.8959 GB, free: 7.773 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0215/1.708, allocations: 12.14 MB / 0.9077 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003286/1.711, allocations: 1.101 MB / 0.9088 GB, free: 9.988 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.712, allocations: 115.9 kB / 0.9089 GB, free: 9.875 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.715, allocations: 307.6 kB / 0.9092 GB, free: 9.574 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009323/1.716, allocations: 431.5 kB / 0.9096 GB, free: 9.152 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005681/1.717, allocations: 172 kB / 0.9098 GB, free: 8.984 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004744/1.722, allocations: 2.362 MB / 0.9121 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/1.722, allocations: 0 / 0.9121 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00844/1.73, allocations: 2.675 MB / 0.9147 GB, free: 3.941 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.001104/1.731, allocations: 314.1 kB / 0.915 GB, free: 3.625 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3204/2.051, allocations: 8.303 MB / 0.9231 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.994e-05/2.051, allocations: 2.656 kB / 0.9231 GB, free: 183.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.007092/2.059, allocations: 3.978 MB / 0.927 GB, free: 182.8 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004979/2.064, allocations: 0.9477 MB / 0.9279 GB, free: 182.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04032/2.104, allocations: 19.2 MB / 0.9467 GB, free: 174.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01814/2.122, allocations: 7.018 MB / 0.9535 GB, free: 171.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008818/2.131, allocations: 2.539 MB / 0.956 GB, free: 171.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/2.133, allocations: 407 kB / 0.9564 GB, free: 171.4 MB / 0.5763 GB Notification: Performance of SimCode: time 2.204e-06/2.133, allocations: 0 / 0.9564 GB, free: 171.4 MB / 0.5763 GB Notification: Performance of Templates: time 0.1299/2.263, allocations: 74.08 MB / 1.029 GB, free: 110.2 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.829781909938902] Failed to read output from testmodel.py, exit status != 0: 2.2752017111051828 2.284514213 1.719600667 Calling exit ...