Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.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.001357/0.001357, 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.453/1.453, allocations: 230.6 MB / 253.4 MB, free: 8.301 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.001752/0.001752, allocations: 217.8 kB / 310 MB, free: 3.156 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.04041/0.04041, allocations: 8.911 MB / 375.3 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.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") translateModel(HanserModelica.SynchronousMachines.SMEE_VCurve1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1") [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.002444/0.002444, allocations: 85.64 kB / 0.4905 GB, free: 4.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.12, allocations: 55.61 MB / 0.5448 GB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve1): time 0.03154/0.1516, allocations: 25.64 MB / 0.5698 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.171, allocations: 8.08 MB / 0.5777 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005906/0.1769, allocations: 203 kB / 0.5779 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01917/0.1961, allocations: 7.749 MB / 0.5855 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.2097, allocations: 3.175 MB / 0.5886 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006863/0.2166, allocations: 2.107 MB / 0.5906 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01615/0.2327, allocations: 9.395 MB / 0.5998 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02537/0.2581, allocations: 11.36 MB / 0.6109 GB, free: 492 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009454/0.2676, allocations: 4.878 MB / 0.6156 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.2778, allocations: 5.361 MB / 0.6209 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004446/0.2823, allocations: 1.355 MB / 0.6222 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00665/0.2889, allocations: 1.746 MB / 0.6239 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005576/0.2945, allocations: 2.677 MB / 0.6265 GB, free: 436 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01202/0.3065, allocations: 5.09 MB / 0.6315 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02963/0.3361, allocations: 18.23 MB / 0.6493 GB, free: 9.027 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.649e-06/0.3361, allocations: 4 kB / 0.6493 GB, free: 9.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3361, allocations: 0 / 0.6493 GB, free: 9.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006181/0.3368, allocations: 0 / 0.6493 GB, free: 9.023 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: 2183 * Number of variables: 2183 Notification: Performance of Generate backend data structure: time 0.5756/0.9124, allocations: 10.88 MB / 0.6599 GB, free: 89.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.9124, allocations: 8.812 kB / 0.6599 GB, free: 89.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03462/0.947, allocations: 5.67 MB / 0.6655 GB, free: 88.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.9641, allocations: 5.854 MB / 0.6712 GB, free: 85.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/0.9652, allocations: 0.5775 MB / 0.6717 GB, free: 85.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004325/0.9695, allocations: 0.7638 MB / 0.6725 GB, free: 85.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03596/1.005, allocations: 12.79 MB / 0.685 GB, free: 77.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004856/1.006, allocations: 15.89 kB / 0.685 GB, free: 77.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003665/1.01, allocations: 325.6 kB / 0.6853 GB, free: 77.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005686/1.01, allocations: 0.5025 MB / 0.6858 GB, free: 77.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02726/1.037, allocations: 12.29 MB / 0.6978 GB, free: 65.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07646/1.114, allocations: 41.4 MB / 0.7382 GB, free: 23.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/1.13, allocations: 9.009 MB / 0.747 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004583/1.135, allocations: 2.726 MB / 0.7497 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005199/1.135, allocations: 121 kB / 0.7498 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004296/1.14, allocations: 2.587 MB / 0.7523 GB, free: 10.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=391): time 8.646e-06/1.14, allocations: 0 / 0.7523 GB, free: 10.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=397): time 0.03802/1.178, allocations: 18.28 MB / 0.7702 GB, free: 7.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002412/1.178, allocations: 355.5 kB / 0.7705 GB, free: 7.398 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005955/1.184, allocations: 3.527 MB / 0.774 GB, free: 3.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007873/1.185, allocations: 97.64 kB / 0.7741 GB, free: 3.766 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00293/1.188, allocations: 3.493 MB / 0.7775 GB, free: 272 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002025/1.19, allocations: 1.419 MB / 0.7789 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/1.192, allocations: 1.101 MB / 0.7799 GB, free: 13.74 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/1.192, allocations: 305.1 kB / 0.7802 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/1.196, allocations: 2.56 MB / 0.7827 GB, free: 10.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00622/1.202, allocations: 4.512 MB / 0.7871 GB, free: 5.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.214, allocations: 7.467 MB / 0.7944 GB, free: 13.14 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.518e-05/1.214, allocations: 16 kB / 0.7944 GB, free: 13.12 MB / 0.4982 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0164/1.23, allocations: 8.286 MB / 0.8025 GB, free: 4.816 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/1.23, allocations: 57.7 kB / 0.8026 GB, free: 4.754 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.23, allocations: 60.31 kB / 0.8026 GB, free: 4.695 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/1.233, allocations: 1.008 MB / 0.8036 GB, free: 3.688 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004917/1.238, allocations: 1.264 MB / 0.8049 GB, free: 2.422 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.253, allocations: 8.712 MB / 0.8134 GB, free: 9.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005617/1.258, allocations: 355.5 kB / 0.8137 GB, free: 9.242 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.259, allocations: 272 kB / 0.814 GB, free: 8.977 MB / 0.5138 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.006299/1.266, allocations: 2.898 MB / 0.8168 GB, free: 6.059 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.267, allocations: 409.4 kB / 0.8172 GB, free: 5.656 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.279, allocations: 6.144 MB / 0.8232 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/1.279, allocations: 40 kB / 0.8232 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.058e-05/1.279, allocations: 16 kB / 0.8232 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.496e-05/1.279, allocations: 19.92 kB / 0.8233 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02955/1.308, allocations: 14.65 MB / 0.8376 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.308, allocations: 4.594 kB / 0.8376 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003243/1.311, allocations: 0.6865 MB / 0.8383 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/1.314, allocations: 0.8755 MB / 0.8391 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004982/1.315, allocations: 91.97 kB / 0.8392 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/1.327, allocations: 7.661 MB / 0.8467 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.327, allocations: 8.031 kB / 0.8467 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.343, allocations: 8.788 MB / 0.8553 GB, free: 14.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/1.346, allocations: 0.8642 MB / 0.8561 GB, free: 13.33 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.347, allocations: 76 kB / 0.8562 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.35, allocations: 191.8 kB / 0.8564 GB, free: 13.07 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006469/1.35, allocations: 291 kB / 0.8566 GB, free: 12.78 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002509/1.351, allocations: 116 kB / 0.8568 GB, free: 12.67 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004336/1.355, allocations: 2.367 MB / 0.8591 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.2e-07/1.355, allocations: 0 / 0.8591 GB, free: 10.31 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006572/1.361, allocations: 1.461 MB / 0.8605 GB, free: 8.848 MB / 0.5607 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.0008642/1.362, allocations: 250.5 kB / 0.8607 GB, free: 8.59 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0127/1.375, allocations: 6.23 MB / 0.8668 GB, free: 2.34 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-05/1.375, allocations: 4 kB / 0.8668 GB, free: 2.336 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.294/1.669, allocations: 2.88 MB / 0.8696 GB, free: 186.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005269/1.674, allocations: 0.8134 MB / 0.8704 GB, free: 186.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02993/1.704, allocations: 13.82 MB / 0.8839 GB, free: 182.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004636/1.709, allocations: 4.858 MB / 0.8887 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/1.711, allocations: 403.5 kB / 0.889 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.673e-06/1.711, allocations: 3.719 kB / 0.889 GB, free: 180.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.1484/1.859, allocations: 134.8 MB / 1.021 GB, free: 57.02 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_VCurve1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.944528987864032] Failed to read output from testmodel.py, exit status != 0: 1.8686717171221972 1.87823608 1.539406887 Calling exit ...