Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.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.001399/0.001399, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.516/1.516, allocations: 230.6 MB / 253.4 MB, free: 14.06 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.001596/0.001596, allocations: 211.2 kB / 310 MB, free: 3.176 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.04134/0.04134, allocations: 8.928 MB / 375.3 MB, free: 6.559 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.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3") [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.002548/0.002548, allocations: 87.88 kB / 0.4904 GB, free: 44.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09631, allocations: 55.62 MB / 0.5447 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve3): time 0.2557/0.352, allocations: 21.98 MB / 0.5662 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02058/0.3726, allocations: 7.706 MB / 0.5737 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008202/0.3808, allocations: 204.8 kB / 0.5739 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01792/0.3987, allocations: 7.158 MB / 0.5809 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.409, allocations: 3.103 MB / 0.5839 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005734/0.4147, allocations: 2.005 MB / 0.5859 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01271/0.4274, allocations: 9.399 MB / 0.5951 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02021/0.4476, allocations: 11.2 MB / 0.606 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009298/0.4569, allocations: 4.879 MB / 0.6108 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01057/0.4675, allocations: 5.036 MB / 0.6157 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0039/0.4714, allocations: 1.355 MB / 0.617 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006917/0.4783, allocations: 1.726 MB / 0.6187 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005098/0.4834, allocations: 2.673 MB / 0.6213 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01069/0.4941, allocations: 3.957 MB / 0.6252 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02756/0.5217, allocations: 18.29 MB / 0.643 GB, free: 8.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.5217, allocations: 7.938 kB / 0.643 GB, free: 8.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.02e-06/0.5217, allocations: 3.938 kB / 0.643 GB, free: 8.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005166/0.5222, allocations: 4 kB / 0.643 GB, free: 8.625 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.03486/0.5571, allocations: 10.88 MB / 0.6537 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5571, allocations: 11.98 kB / 0.6537 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03339/0.5905, allocations: 5.661 MB / 0.6592 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/0.6058, allocations: 5.84 MB / 0.6649 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007502/0.6066, allocations: 0.5741 MB / 0.6655 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00369/0.6103, allocations: 0.7655 MB / 0.6662 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04085/0.6511, allocations: 12.97 MB / 0.6789 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003871/0.6515, allocations: 23.89 kB / 0.6789 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003125/0.6546, allocations: 327.9 kB / 0.6792 GB, free: 3.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000589/0.6552, allocations: 0.4928 MB / 0.6797 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/0.6852, allocations: 12.23 MB / 0.6916 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08251/0.7677, allocations: 36.66 MB / 0.7274 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/0.7878, allocations: 8.922 MB / 0.7362 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005911/0.7937, allocations: 2.714 MB / 0.7388 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.7943, allocations: 102.9 kB / 0.7389 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005805/0.8001, allocations: 2.791 MB / 0.7416 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=391): time 9.838e-06/0.8001, allocations: 0 / 0.7416 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=397): time 0.05017/0.8502, allocations: 18.31 MB / 0.7595 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002557/0.8505, allocations: 359.5 kB / 0.7599 GB, free: 448 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007318/0.8578, allocations: 3.361 MB / 0.7631 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007255/0.8585, allocations: 89.7 kB / 0.7632 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003521/0.8621, allocations: 3.51 MB / 0.7666 GB, free: 9.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002107/0.8642, allocations: 1.418 MB / 0.768 GB, free: 7.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003361/0.8675, allocations: 1.104 MB / 0.7691 GB, free: 6.883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.8677, allocations: 309 kB / 0.7694 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005073/0.8728, allocations: 2.581 MB / 0.7719 GB, free: 3.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4868/1.36, allocations: 4.715 MB / 0.7765 GB, free: 162.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.371, allocations: 7.465 MB / 0.7838 GB, free: 160 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/1.371, allocations: 17.03 kB / 0.7838 GB, free: 160 MB / 0.545 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0175/1.388, allocations: 8.294 MB / 0.7919 GB, free: 157.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.388, allocations: 57.22 kB / 0.792 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001765/1.388, allocations: 60.44 kB / 0.792 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00308/1.392, allocations: 0.9977 MB / 0.793 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/1.397, allocations: 1.261 MB / 0.7943 GB, free: 156.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.41, allocations: 8.517 MB / 0.8026 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/1.415, allocations: 353.8 kB / 0.8029 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.417, allocations: 276.5 kB / 0.8032 GB, free: 152.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 662 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,48,52.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006371/1.423, allocations: 2.9 MB / 0.806 GB, free: 150.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.424, allocations: 391.1 kB / 0.8064 GB, free: 150.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.434, allocations: 6.162 MB / 0.8124 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/1.434, allocations: 38.94 kB / 0.8124 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/1.434, allocations: 12.62 kB / 0.8124 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/1.434, allocations: 21.42 kB / 0.8125 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/1.455, allocations: 12.75 MB / 0.8249 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/1.455, allocations: 3.906 kB / 0.8249 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.458, allocations: 0.6845 MB / 0.8256 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/1.46, allocations: 0.8749 MB / 0.8264 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004476/1.461, allocations: 95.95 kB / 0.8265 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009334/1.47, allocations: 7.472 MB / 0.8338 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.47, allocations: 8.031 kB / 0.8338 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.483, allocations: 8.816 MB / 0.8424 GB, free: 129.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003527/1.486, allocations: 0.8293 MB / 0.8433 GB, free: 128.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.487, allocations: 75.94 kB / 0.8433 GB, free: 128.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.49, allocations: 197.6 kB / 0.8435 GB, free: 128.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005703/1.49, allocations: 291 kB / 0.8438 GB, free: 127.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.49, allocations: 116 kB / 0.8439 GB, free: 127.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002988/1.493, allocations: 2.169 MB / 0.846 GB, free: 125.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.493, allocations: 0 / 0.846 GB, free: 125.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005577/1.499, allocations: 1.455 MB / 0.8474 GB, free: 124 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 3 (smee.inertiaRotor.w,smee.rotorCage.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,46,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000665/1.5, allocations: 246.8 kB / 0.8477 GB, free: 123.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00956/1.509, allocations: 6.276 MB / 0.8538 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.509, allocations: 0 / 0.8538 GB, free: 117.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004716/1.514, allocations: 2.919 MB / 0.8567 GB, free: 114.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/1.519, allocations: 0.7272 MB / 0.8574 GB, free: 113.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.543, allocations: 13.79 MB / 0.8708 GB, free: 99.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/1.547, allocations: 4.375 MB / 0.8751 GB, free: 95.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.549, allocations: 391.3 kB / 0.8755 GB, free: 95.17 MB / 0.545 GB Notification: Performance of SimCode: time 1.853e-06/1.549, allocations: 7.938 kB / 0.8755 GB, free: 95.16 MB / 0.545 GB Notification: Performance of Templates: time 0.428/1.977, allocations: 135.4 MB / 1.008 GB, free: 185.8 MB / 0.5763 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.08978646295145] Failed to read output from testmodel.py, exit status != 0: 1.986705728340894 2.000563615 1.475803344 Calling exit ...