Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.001376/0.001376, 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.534/1.534, 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.001865/0.001865, allocations: 202.3 kB / 309.2 MB, free: 3.137 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.04331/0.04331, allocations: 8.921 MB / 374.6 MB, free: 6.562 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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") [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: 79.88 kB / 0.4897 GB, free: 44.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08059/0.08313, allocations: 55.6 MB / 0.544 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2372/0.3203, allocations: 21.97 MB / 0.5654 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.3342, allocations: 7.771 MB / 0.573 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00467/0.3389, allocations: 207 kB / 0.5732 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01437/0.3533, allocations: 5.722 MB / 0.5788 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.3651, allocations: 2.771 MB / 0.5815 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005753/0.3709, allocations: 1.608 MB / 0.5831 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01083/0.3817, allocations: 7.394 MB / 0.5903 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01648/0.3982, allocations: 8.987 MB / 0.5991 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007981/0.4062, allocations: 3.843 MB / 0.6028 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009262/0.4154, allocations: 4.038 MB / 0.6068 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003712/0.4191, allocations: 1.072 MB / 0.6078 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/0.4248, allocations: 1.444 MB / 0.6092 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004009/0.4288, allocations: 2.155 MB / 0.6113 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0086/0.4374, allocations: 3.201 MB / 0.6144 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02229/0.4597, allocations: 14.56 MB / 0.6287 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4597, allocations: 3.938 kB / 0.6287 GB, free: 6.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4597, allocations: 0 / 0.6287 GB, free: 6.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004319/0.4601, allocations: 4 kB / 0.6287 GB, free: 6.609 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.02945/0.4896, allocations: 8.881 MB / 0.6373 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4896, allocations: 15.98 kB / 0.6374 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/0.5187, allocations: 4.409 MB / 0.6417 GB, free: 9.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.5308, allocations: 4.631 MB / 0.6462 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005579/0.5313, allocations: 485.1 kB / 0.6467 GB, free: 4.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002354/0.5337, allocations: 0.6326 MB / 0.6473 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02376/0.5574, allocations: 10.48 MB / 0.6575 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/0.5576, allocations: 15.88 kB / 0.6575 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/0.5586, allocations: 264 kB / 0.6578 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005147/0.5592, allocations: 417.7 kB / 0.6582 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/0.581, allocations: 9.849 MB / 0.6678 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06203/0.643, allocations: 29.69 MB / 0.6968 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/0.6582, allocations: 6.693 MB / 0.7033 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/0.6621, allocations: 2.11 MB / 0.7054 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.6624, allocations: 74.27 kB / 0.7054 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.375e-05/0.6625, allocations: 64.89 kB / 0.7055 GB, free: 7.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.801e-06/0.6625, allocations: 0 / 0.7055 GB, free: 7.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02361/0.6861, allocations: 10.79 MB / 0.716 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.6862, allocations: 89.72 kB / 0.7161 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/0.6915, allocations: 2.892 MB / 0.7189 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000394/0.6919, allocations: 69.7 kB / 0.719 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002639/0.6945, allocations: 2.981 MB / 0.7219 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.6959, allocations: 1.085 MB / 0.723 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/0.6974, allocations: 0.9255 MB / 0.7239 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6976, allocations: 305.1 kB / 0.7242 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.7009, allocations: 2.027 MB / 0.7262 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/0.7058, allocations: 3.757 MB / 0.7298 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008709/0.7145, allocations: 6.055 MB / 0.7357 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.286e-05/0.7146, allocations: 16 kB / 0.7358 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01336/0.7279, allocations: 6.624 MB / 0.7422 GB, free: 128 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.728, allocations: 30.03 kB / 0.7423 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.7281, allocations: 56 kB / 0.7423 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/0.7302, allocations: 0.6682 MB / 0.743 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/0.7345, allocations: 1.08 MB / 0.744 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.7448, allocations: 5.991 MB / 0.7499 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/0.7486, allocations: 275.7 kB / 0.7501 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008303/0.7495, allocations: 232 kB / 0.7503 GB, free: 7.691 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.005164/0.7546, allocations: 2.319 MB / 0.7526 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.7557, allocations: 314 kB / 0.7529 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00886/0.7645, allocations: 4.612 MB / 0.7574 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.7645, allocations: 31.94 kB / 0.7574 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.7646, allocations: 8 kB / 0.7575 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.401e-05/0.7646, allocations: 19.94 kB / 0.7575 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/0.7839, allocations: 9.542 MB / 0.7668 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.7839, allocations: 8.625 kB / 0.7668 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/0.7862, allocations: 0.5344 MB / 0.7673 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.7879, allocations: 0.5632 MB / 0.7679 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003438/0.7883, allocations: 67.97 kB / 0.7679 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008317/0.7966, allocations: 5.227 MB / 0.773 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.7966, allocations: 8 kB / 0.773 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2433/1.04, allocations: 6.56 MB / 0.7795 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/1.042, allocations: 0.6349 MB / 0.7801 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007357/1.043, allocations: 64.08 kB / 0.7801 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.044, allocations: 145.2 kB / 0.7803 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004361/1.045, allocations: 224.2 kB / 0.7805 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.045, allocations: 88.92 kB / 0.7806 GB, free: 167.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002752/1.048, allocations: 1.844 MB / 0.7824 GB, free: 166.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/1.048, allocations: 5.156 kB / 0.7824 GB, free: 166.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004261/1.052, allocations: 1.173 MB / 0.7835 GB, free: 166.8 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.0006922/1.053, allocations: 226.4 kB / 0.7837 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.065, allocations: 4.835 MB / 0.7885 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.065, allocations: 4.984 kB / 0.7885 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/1.07, allocations: 2.112 MB / 0.7905 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/1.075, allocations: 0.5682 MB / 0.7911 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/1.105, allocations: 11.19 MB / 0.802 GB, free: 158.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006728/1.112, allocations: 3.654 MB / 0.8056 GB, free: 157.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005549/1.118, allocations: 1.297 MB / 0.8068 GB, free: 157.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.119, allocations: 278.3 kB / 0.8071 GB, free: 157.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.833e-06/1.119, allocations: 0 / 0.8071 GB, free: 157.3 MB / 0.545 GB Notification: Performance of Templates: time 0.09939/1.219, allocations: 49.74 MB / 0.8557 GB, free: 117 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4612251203507185] Failed to read output from testmodel.py, exit status != 0: 1.2267288491129875 1.237596519 0.775218463 Calling exit ...