Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.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.001254/0.001254, allocations: 113 kB / 18.94 MB, free: 2.957 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.519/1.519, allocations: 230.6 MB / 252.6 MB, free: 8.309 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.001747/0.001747, allocations: 207.3 kB / 309.2 MB, free: 3.168 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.04203/0.04203, allocations: 8.916 MB / 374.6 MB, free: 1.922 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_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2") [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.002472/0.002472, allocations: 83.88 kB / 0.4897 GB, free: 6.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3105, allocations: 55.6 MB / 0.544 GB, free: 27.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.02143/0.332, allocations: 25.67 MB / 0.5691 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01768/0.3496, allocations: 8.078 MB / 0.577 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006663/0.3563, allocations: 205.3 kB / 0.5772 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01933/0.3756, allocations: 7.768 MB / 0.5848 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.3887, allocations: 3.175 MB / 0.5879 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007944/0.3966, allocations: 2.091 MB / 0.5899 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.4155, allocations: 9.403 MB / 0.5991 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0241/0.4396, allocations: 11.35 MB / 0.6102 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/0.4497, allocations: 4.882 MB / 0.6149 GB, free: 4.219 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.4607, allocations: 5.369 MB / 0.6202 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004567/0.4652, allocations: 1.355 MB / 0.6215 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00763/0.4728, allocations: 1.746 MB / 0.6232 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006233/0.4791, allocations: 2.685 MB / 0.6258 GB, free: 9.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01236/0.4914, allocations: 5.086 MB / 0.6308 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03157/0.523, allocations: 18.22 MB / 0.6486 GB, free: 1.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.523, allocations: 0 / 0.6486 GB, free: 1.656 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.523, allocations: 4 kB / 0.6486 GB, free: 1.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005688/0.5236, allocations: 0 / 0.6486 GB, free: 1.652 MB / 446.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.04007/0.5637, allocations: 10.89 MB / 0.6592 GB, free: 6.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.5637, allocations: 15.97 kB / 0.6592 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03583/0.5995, allocations: 5.661 MB / 0.6648 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/0.6158, allocations: 5.856 MB / 0.6705 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008113/0.6166, allocations: 0.578 MB / 0.6711 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004981/0.6216, allocations: 0.7616 MB / 0.6718 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03777/0.6593, allocations: 12.79 MB / 0.6843 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/0.6596, allocations: 19.89 kB / 0.6843 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002121/0.6618, allocations: 320 kB / 0.6846 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005646/0.6623, allocations: 0.4967 MB / 0.6851 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5585/1.221, allocations: 12.29 MB / 0.6971 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07284/1.294, allocations: 41.39 MB / 0.7375 GB, free: 83.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/1.313, allocations: 9.016 MB / 0.7463 GB, free: 79.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005558/1.319, allocations: 2.716 MB / 0.749 GB, free: 78.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/1.319, allocations: 121.4 kB / 0.7491 GB, free: 78.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004645/1.324, allocations: 2.587 MB / 0.7516 GB, free: 76.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=391): time 8.225e-06/1.324, allocations: 2.688 kB / 0.7516 GB, free: 76.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=397): time 0.0392/1.363, allocations: 18.27 MB / 0.7695 GB, free: 65.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.363, allocations: 363.5 kB / 0.7698 GB, free: 64.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/1.368, allocations: 3.537 MB / 0.7733 GB, free: 61.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005203/1.368, allocations: 89.64 kB / 0.7734 GB, free: 61.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.37, allocations: 3.499 MB / 0.7768 GB, free: 57.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001138/1.371, allocations: 1.415 MB / 0.7782 GB, free: 56.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/1.372, allocations: 1.101 MB / 0.7792 GB, free: 55.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/1.372, allocations: 305.1 kB / 0.7795 GB, free: 55.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/1.376, allocations: 2.556 MB / 0.782 GB, free: 52.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/1.38, allocations: 4.516 MB / 0.7864 GB, free: 47.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008017/1.388, allocations: 7.459 MB / 0.7937 GB, free: 38.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.856e-05/1.388, allocations: 24 kB / 0.7937 GB, free: 38.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.01315/1.401, allocations: 8.297 MB / 0.8018 GB, free: 30.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/1.401, allocations: 53.7 kB / 0.8019 GB, free: 30.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.272e-05/1.401, allocations: 60 kB / 0.802 GB, free: 30.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/1.404, allocations: 1.001 MB / 0.8029 GB, free: 29.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004663/1.408, allocations: 1.26 MB / 0.8042 GB, free: 28.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.419, allocations: 8.73 MB / 0.8127 GB, free: 19.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004552/1.424, allocations: 347.5 kB / 0.813 GB, free: 18.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009754/1.425, allocations: 271.9 kB / 0.8133 GB, free: 18.71 MB / 494.1 MB 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.004812/1.43, allocations: 2.91 MB / 0.8161 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009021/1.431, allocations: 405.4 kB / 0.8165 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009113/1.44, allocations: 6.144 MB / 0.8225 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/1.44, allocations: 44 kB / 0.8225 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/1.44, allocations: 11.94 kB / 0.8226 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/1.44, allocations: 19.92 kB / 0.8226 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.463, allocations: 14.65 MB / 0.8369 GB, free: 10.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.463, allocations: 4 kB / 0.8369 GB, free: 10.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/1.466, allocations: 0.6909 MB / 0.8376 GB, free: 9.707 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/1.469, allocations: 0.8755 MB / 0.8384 GB, free: 8.828 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003197/1.469, allocations: 87.97 kB / 0.8385 GB, free: 8.742 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/1.481, allocations: 7.648 MB / 0.846 GB, free: 0.9766 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/1.481, allocations: 15.97 kB / 0.846 GB, free: 0.9609 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.497, allocations: 8.797 MB / 0.8546 GB, free: 8.039 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.499, allocations: 0.8603 MB / 0.8554 GB, free: 7.176 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006952/1.5, allocations: 76 kB / 0.8555 GB, free: 7.102 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002073/1.502, allocations: 191.8 kB / 0.8557 GB, free: 6.914 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/1.503, allocations: 291 kB / 0.8559 GB, free: 6.629 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.503, allocations: 120 kB / 0.8561 GB, free: 6.512 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004111/1.507, allocations: 2.367 MB / 0.8584 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/1.507, allocations: 0 / 0.8584 GB, free: 4.152 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005582/1.513, allocations: 1.457 MB / 0.8598 GB, free: 2.695 MB / 0.5138 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.0006603/1.513, allocations: 251.2 kB / 0.86 GB, free: 2.445 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.525, allocations: 6.228 MB / 0.8661 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.525, allocations: 0 / 0.8661 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005685/1.531, allocations: 2.891 MB / 0.8689 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005018/1.536, allocations: 0.8137 MB / 0.8697 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/1.564, allocations: 13.99 MB / 0.8834 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007643/1.572, allocations: 5.008 MB / 0.8883 GB, free: 5.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004769/1.577, allocations: 1.594 MB / 0.8898 GB, free: 3.742 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.578, allocations: 355.3 kB / 0.8902 GB, free: 3.395 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.578, allocations: 0 / 0.8902 GB, free: 3.395 MB / 0.545 GB Notification: Performance of Templates: time 0.3776/1.956, allocations: 64.57 MB / 0.9532 GB, free: 154.1 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.819183643907309] Failed to read output from testmodel.py, exit status != 0: 1.9652629198972136 1.976974618 1.45110789 Calling exit ...