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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 246.2 MB, free: 13.6 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 193.1 kB / 301.4 MB, free: 9.113 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0416/0.0416, allocations: 8.93 MB / 365.5 MB, free: 9.242 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 86.22 kB / 489.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1201, allocations: 54.4 MB / 0.5311 GB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_VCurve2): time 0.03792/0.158, allocations: 25.62 MB / 0.5561 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01943/0.1774, allocations: 7.975 MB / 0.5639 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005872/0.1833, allocations: 175.5 kB / 0.5641 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01999/0.2033, allocations: 7.732 MB / 0.5716 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.2149, allocations: 3.104 MB / 0.5746 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007409/0.2223, allocations: 2.03 MB / 0.5766 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01605/0.2383, allocations: 9.249 MB / 0.5856 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02479/0.2631, allocations: 10.54 MB / 0.5959 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009685/0.2728, allocations: 4.78 MB / 0.6006 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009923/0.2827, allocations: 5.314 MB / 0.6058 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004449/0.2872, allocations: 1.355 MB / 0.6071 GB, free: 448 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005779/0.293, allocations: 1.718 MB / 0.6088 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.2976, allocations: 2.681 MB / 0.6114 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01102/0.3086, allocations: 5.082 MB / 0.6164 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0266/0.3352, allocations: 18.19 MB / 0.6342 GB, free: 4.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3352, allocations: 8 kB / 0.6342 GB, free: 4.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3352, allocations: 0 / 0.6342 GB, free: 4.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005525/0.3358, allocations: 0 / 0.6342 GB, free: 4.672 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.3234/0.6592, allocations: 10.94 MB / 0.6448 GB, free: 83.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.6593, allocations: 10.16 kB / 0.6449 GB, free: 83.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03266/0.6919, allocations: 5.717 MB / 0.6504 GB, free: 81.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.7068, allocations: 5.811 MB / 0.6561 GB, free: 78.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008049/0.7076, allocations: 0.5861 MB / 0.6567 GB, free: 77.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004348/0.7119, allocations: 0.7635 MB / 0.6574 GB, free: 77.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04028/0.7522, allocations: 12.76 MB / 0.6699 GB, free: 66.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006292/0.7529, allocations: 11.95 kB / 0.6699 GB, free: 66.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004173/0.757, allocations: 329.9 kB / 0.6702 GB, free: 66.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005651/0.7576, allocations: 0.4967 MB / 0.6707 GB, free: 65.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02688/0.7845, allocations: 12.25 MB / 0.6827 GB, free: 53.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07991/0.8644, allocations: 43.35 MB / 0.725 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02626/0.8906, allocations: 24.81 MB / 0.7492 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00699/0.8976, allocations: 2.718 MB / 0.7519 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.8983, allocations: 240.1 kB / 0.7521 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006339/0.9047, allocations: 2.586 MB / 0.7546 GB, free: 7.902 MB / 478.1 MB Notification: Performance of pre-optimization done (n=391): time 9.238e-06/0.9047, allocations: 0 / 0.7546 GB, free: 7.902 MB / 478.1 MB Notification: Performance of matching and sorting (n=397): time 0.05199/0.9567, allocations: 18.38 MB / 0.7726 GB, free: 5.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002571/0.9569, allocations: 359.4 kB / 0.7729 GB, free: 5.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006847/0.9638, allocations: 3.527 MB / 0.7764 GB, free: 1.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009587/0.9647, allocations: 93.7 kB / 0.7765 GB, free: 1.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003242/0.968, allocations: 3.485 MB / 0.7799 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/0.9703, allocations: 1.426 MB / 0.7813 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002213/0.9725, allocations: 1.089 MB / 0.7823 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9727, allocations: 301.1 kB / 0.7826 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/0.9773, allocations: 2.549 MB / 0.7851 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006871/0.9842, allocations: 4.512 MB / 0.7895 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/0.9967, allocations: 7.451 MB / 0.7968 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-05/0.9968, allocations: 16 kB / 0.7968 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02085/1.018, allocations: 8.267 MB / 0.8049 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.018, allocations: 59.27 kB / 0.8049 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001511/1.018, allocations: 63.98 kB / 0.805 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/1.021, allocations: 1.002 MB / 0.806 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005734/1.027, allocations: 1.256 MB / 0.8072 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/1.043, allocations: 8.812 MB / 0.8158 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005607/1.048, allocations: 359.5 kB / 0.8161 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/1.05, allocations: 264 kB / 0.8164 GB, free: 6.555 MB / 0.5294 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.008454/1.058, allocations: 2.906 MB / 0.8192 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/1.06, allocations: 409.4 kB / 0.8196 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.075, allocations: 6.152 MB / 0.8256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.352e-05/1.075, allocations: 40 kB / 0.8257 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/1.075, allocations: 8 kB / 0.8257 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.602e-05/1.075, allocations: 23.92 kB / 0.8257 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03713/1.112, allocations: 14.61 MB / 0.84 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/1.112, allocations: 8 kB / 0.84 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00337/1.115, allocations: 0.6787 MB / 0.8406 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/1.118, allocations: 0.8777 MB / 0.8415 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007887/1.119, allocations: 91.97 kB / 0.8416 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/1.132, allocations: 7.768 MB / 0.8492 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/1.132, allocations: 11.98 kB / 0.8492 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5832/1.715, allocations: 8.755 MB / 0.8577 GB, free: 191.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/1.719, allocations: 0.9325 MB / 0.8586 GB, free: 191.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/1.72, allocations: 73.78 kB / 0.8587 GB, free: 191.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/1.724, allocations: 203.7 kB / 0.8589 GB, free: 191.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008176/1.724, allocations: 267.6 kB / 0.8592 GB, free: 191.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/1.725, allocations: 114 kB / 0.8593 GB, free: 191 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005455/1.73, allocations: 2.364 MB / 0.8616 GB, free: 190.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.41e-07/1.73, allocations: 2.562 kB / 0.8616 GB, free: 190.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009508/1.74, allocations: 1.446 MB / 0.863 GB, free: 190 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.001345/1.741, allocations: 261.3 kB / 0.8632 GB, free: 189.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.752, allocations: 6.214 MB / 0.8693 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.752, allocations: 0 / 0.8693 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.004756/1.756, allocations: 2.872 MB / 0.8721 GB, free: 186.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/1.761, allocations: 0.8066 MB / 0.8729 GB, free: 185.9 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02678/1.788, allocations: 14.05 MB / 0.8866 GB, free: 179.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006224/1.794, allocations: 5.014 MB / 0.8915 GB, free: 177.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004745/1.799, allocations: 1.59 MB / 0.8931 GB, free: 176.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.8, allocations: 330.7 kB / 0.8934 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of SimCode: time 2.324e-06/1.8, allocations: 0 / 0.8934 GB, free: 175.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.1001/1.9, allocations: 61.58 MB / 0.9535 GB, free: 116 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.205680012702942]