Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.001858/0.001858, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.65/1.65, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001697/0.001697, allocations: 207.5 kB / 309.2 MB, free: 3.09 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.0433/0.0433, allocations: 8.921 MB / 374.6 MB, free: 6.555 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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [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.002582/0.002582, allocations: 83.88 kB / 0.4896 GB, free: 44.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08749, allocations: 55.6 MB / 0.5439 GB, free: 4.504 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2489/0.3364, allocations: 21.95 MB / 0.5654 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.3507, allocations: 7.771 MB / 0.573 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004604/0.3553, allocations: 202.5 kB / 0.5732 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01357/0.3689, allocations: 5.725 MB / 0.5788 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008856/0.3778, allocations: 2.769 MB / 0.5815 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.3827, allocations: 1.6 MB / 0.583 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.3934, allocations: 7.401 MB / 0.5902 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01808/0.4115, allocations: 8.99 MB / 0.599 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008614/0.4201, allocations: 3.846 MB / 0.6028 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008469/0.4286, allocations: 4.034 MB / 0.6067 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003583/0.4322, allocations: 1.07 MB / 0.6078 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005716/0.4379, allocations: 1.447 MB / 0.6092 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004179/0.4421, allocations: 2.153 MB / 0.6113 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008652/0.4507, allocations: 3.207 MB / 0.6144 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02042/0.4711, allocations: 14.55 MB / 0.6286 GB, free: 6.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.4712, allocations: 4 kB / 0.6286 GB, free: 6.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4712, allocations: 0 / 0.6286 GB, free: 6.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003998/0.4716, allocations: 0 / 0.6286 GB, free: 6.605 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02804/0.4996, allocations: 8.881 MB / 0.6373 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4996, allocations: 15.98 kB / 0.6373 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02636/0.526, allocations: 4.417 MB / 0.6416 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.5372, allocations: 4.625 MB / 0.6461 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005458/0.5378, allocations: 485 kB / 0.6466 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002463/0.5403, allocations: 0.6288 MB / 0.6472 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.5666, allocations: 10.48 MB / 0.6575 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/0.5669, allocations: 15.95 kB / 0.6575 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/0.5685, allocations: 264 kB / 0.6577 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004924/0.569, allocations: 425.6 kB / 0.6581 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02419/0.5932, allocations: 9.85 MB / 0.6677 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06778/0.661, allocations: 29.68 MB / 0.6967 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.677, allocations: 6.693 MB / 0.7033 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004697/0.6817, allocations: 2.102 MB / 0.7053 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.6821, allocations: 82.25 kB / 0.7054 GB, free: 7.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.454e-05/0.6822, allocations: 64.89 kB / 0.7055 GB, free: 7.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 6.332e-06/0.6822, allocations: 0 / 0.7055 GB, free: 7.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.0268/0.709, allocations: 10.79 MB / 0.716 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/0.7091, allocations: 85.72 kB / 0.7161 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006279/0.7154, allocations: 2.892 MB / 0.7189 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005239/0.7159, allocations: 77.7 kB / 0.719 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.7186, allocations: 2.977 MB / 0.7219 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001637/0.7202, allocations: 1.081 MB / 0.7229 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/0.7222, allocations: 0.9255 MB / 0.7238 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7224, allocations: 305.1 kB / 0.7241 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/0.726, allocations: 2.027 MB / 0.7261 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005284/0.7313, allocations: 3.757 MB / 0.7298 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009529/0.7408, allocations: 6.051 MB / 0.7357 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-05/0.7409, allocations: 16 kB / 0.7357 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01324/0.7541, allocations: 6.628 MB / 0.7422 GB, free: 120 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.7542, allocations: 32 kB / 0.7422 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.443e-05/0.7543, allocations: 52.22 kB / 0.7423 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.7564, allocations: 0.668 MB / 0.7429 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004261/0.7606, allocations: 1.08 MB / 0.744 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.7711, allocations: 5.987 MB / 0.7498 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004193/0.7753, allocations: 275.7 kB / 0.7501 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/0.7767, allocations: 231.9 kB / 0.7503 GB, free: 7.688 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006418/0.7831, allocations: 2.323 MB / 0.7526 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/0.7844, allocations: 314 kB / 0.7529 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.7948, allocations: 4.604 MB / 0.7574 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/0.7949, allocations: 35.94 kB / 0.7574 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.7949, allocations: 4 kB / 0.7574 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.079e-05/0.7949, allocations: 15.94 kB / 0.7574 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/0.8172, allocations: 9.55 MB / 0.7667 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.8172, allocations: 7.938 kB / 0.7668 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/0.8195, allocations: 0.5344 MB / 0.7673 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.8214, allocations: 0.5675 MB / 0.7678 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002832/0.8216, allocations: 67.98 kB / 0.7679 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008699/0.8303, allocations: 5.231 MB / 0.773 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.8304, allocations: 8 kB / 0.773 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2624/1.093, allocations: 6.568 MB / 0.7794 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.095, allocations: 0.6303 MB / 0.78 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006556/1.096, allocations: 65.83 kB / 0.7801 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.097, allocations: 144.5 kB / 0.7802 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/1.098, allocations: 219.4 kB / 0.7805 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/1.098, allocations: 96.44 kB / 0.7805 GB, free: 167.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003212/1.101, allocations: 1.843 MB / 0.7823 GB, free: 167 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/1.101, allocations: 0 / 0.7823 GB, free: 167 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006091/1.107, allocations: 1.169 MB / 0.7835 GB, free: 166.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007993/1.108, allocations: 226.4 kB / 0.7837 GB, free: 166.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.118, allocations: 4.831 MB / 0.7884 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.118, allocations: 1.375 kB / 0.7884 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00461/1.123, allocations: 2.116 MB / 0.7905 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/1.127, allocations: 0.571 MB / 0.791 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02947/1.157, allocations: 11.18 MB / 0.802 GB, free: 158.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008803/1.166, allocations: 3.647 MB / 0.8055 GB, free: 157.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004523/1.17, allocations: 1.306 MB / 0.8068 GB, free: 157.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/1.172, allocations: 281.2 kB / 0.8071 GB, free: 157.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.263e-06/1.172, allocations: 3.938 kB / 0.8071 GB, free: 157.4 MB / 0.545 GB Notification: Performance of Templates: time 0.07603/1.248, allocations: 49.73 MB / 0.8556 GB, free: 117 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.644528044387698] Failed to read output from testmodel.py, exit status != 0: 1.25592209585011 1.266037605 0.792305683 Calling exit ...