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.001369/0.001369, allocations: 78.3 kB / 19.01 MB, free: 2.691 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.446/1.446, allocations: 177.2 MB / 199.3 MB, free: 9.461 MB / 190.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.001736/0.001736, allocations: 161.4 kB / 255.8 MB, free: 0.8984 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.03908/0.03908, allocations: 6.666 MB / 318.9 MB, free: 48.47 MB / 286.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.002959/0.002959, allocations: 83.88 kB / 445.7 MB, free: 1.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2436, allocations: 55.58 MB / 0.4895 GB, free: 26.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01827/0.2618, allocations: 21.99 MB / 0.511 GB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.2783, allocations: 7.773 MB / 0.5186 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007271/0.2856, allocations: 199.1 kB / 0.5188 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01631/0.3019, allocations: 6.005 MB / 0.5246 GB, free: 6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009578/0.3115, allocations: 2.777 MB / 0.5274 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005269/0.3167, allocations: 1.605 MB / 0.5289 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01258/0.3293, allocations: 7.402 MB / 0.5362 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01687/0.3462, allocations: 8.988 MB / 0.5449 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01444/0.3606, allocations: 5.828 MB / 0.5506 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00919/0.3698, allocations: 4.04 MB / 0.5546 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003638/0.3734, allocations: 1.066 MB / 0.5556 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005626/0.3791, allocations: 1.441 MB / 0.557 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003954/0.383, allocations: 2.147 MB / 0.5591 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008151/0.3912, allocations: 3.206 MB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02198/0.4132, allocations: 14.56 MB / 0.5765 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4132, allocations: 0 / 0.5765 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4132, allocations: 0 / 0.5765 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003718/0.4135, allocations: 0 / 0.5765 GB, free: 0.6758 MB / 430.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.02753/0.4411, allocations: 8.893 MB / 0.5852 GB, free: 7.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4411, allocations: 12.03 kB / 0.5852 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02622/0.4673, allocations: 4.409 MB / 0.5895 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.4792, allocations: 4.629 MB / 0.594 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005942/0.4798, allocations: 485.1 kB / 0.5945 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/0.4824, allocations: 0.6249 MB / 0.5951 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02721/0.5096, allocations: 10.49 MB / 0.6053 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003169/0.5099, allocations: 7.953 kB / 0.6053 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002033/0.5119, allocations: 264 kB / 0.6056 GB, free: 2.637 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005671/0.5125, allocations: 421.6 kB / 0.606 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2854/0.7979, allocations: 9.85 MB / 0.6156 GB, free: 95.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05713/0.855, allocations: 29.7 MB / 0.6446 GB, free: 71.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.8676, allocations: 6.692 MB / 0.6511 GB, free: 65.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/0.871, allocations: 2.112 MB / 0.6532 GB, free: 62.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/0.8714, allocations: 78.25 kB / 0.6533 GB, free: 62.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.8715, allocations: 68.83 kB / 0.6533 GB, free: 62.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=295): time 6.923e-06/0.8715, allocations: 2 kB / 0.6533 GB, free: 62.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=301): time 0.02239/0.8939, allocations: 10.79 MB / 0.6639 GB, free: 52.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.8939, allocations: 85.78 kB / 0.6639 GB, free: 52.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/0.8992, allocations: 2.891 MB / 0.6668 GB, free: 49.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004415/0.8996, allocations: 73.7 kB / 0.6668 GB, free: 49.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.9011, allocations: 2.973 MB / 0.6697 GB, free: 46.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/0.9021, allocations: 1.079 MB / 0.6708 GB, free: 45.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002149/0.9043, allocations: 0.9216 MB / 0.6717 GB, free: 44.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.9043, allocations: 305.1 kB / 0.672 GB, free: 44.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/0.9074, allocations: 2.027 MB / 0.674 GB, free: 41.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/0.911, allocations: 3.753 MB / 0.6776 GB, free: 37.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006691/0.9177, allocations: 6.062 MB / 0.6836 GB, free: 30.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.375e-05/0.9178, allocations: 16 kB / 0.6836 GB, free: 30.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01106/0.9289, allocations: 6.625 MB / 0.69 GB, free: 23.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.9289, allocations: 34.12 kB / 0.6901 GB, free: 23.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-05/0.929, allocations: 56 kB / 0.6901 GB, free: 23.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.9307, allocations: 0.6735 MB / 0.6908 GB, free: 23.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003555/0.9343, allocations: 1.072 MB / 0.6918 GB, free: 22.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007347/0.9416, allocations: 5.998 MB / 0.6977 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/0.9452, allocations: 271.7 kB / 0.6979 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/0.9459, allocations: 235.9 kB / 0.6982 GB, free: 15.46 MB / 462.1 MB 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.004062/0.95, allocations: 2.315 MB / 0.7004 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000928/0.9509, allocations: 317.9 kB / 0.7007 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007276/0.9582, allocations: 4.604 MB / 0.7052 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.9582, allocations: 32 kB / 0.7053 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.9582, allocations: 11.88 kB / 0.7053 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.9582, allocations: 19.94 kB / 0.7053 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.976, allocations: 9.532 MB / 0.7146 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.976, allocations: 4.625 kB / 0.7146 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.9782, allocations: 0.5382 MB / 0.7151 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.98, allocations: 0.5653 MB / 0.7157 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.9802, allocations: 71.97 kB / 0.7158 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008527/0.9887, allocations: 5.23 MB / 0.7209 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.9888, allocations: 11.94 kB / 0.7209 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1, allocations: 6.566 MB / 0.7273 GB, free: 1.254 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/1.002, allocations: 0.6422 MB / 0.7279 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006538/1.003, allocations: 59.98 kB / 0.728 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.005, allocations: 139.9 kB / 0.7281 GB, free: 424 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/1.005, allocations: 225.9 kB / 0.7283 GB, free: 196 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.005, allocations: 95.97 kB / 0.7284 GB, free: 100 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003302/1.009, allocations: 1.839 MB / 0.7302 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.009, allocations: 0 / 0.7302 GB, free: 14.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004136/1.013, allocations: 1.172 MB / 0.7313 GB, free: 13.08 MB / 494.1 MB 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.0005037/1.013, allocations: 227.8 kB / 0.7316 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008862/1.022, allocations: 4.836 MB / 0.7363 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.022, allocations: 128 / 0.7363 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003915/1.026, allocations: 2.118 MB / 0.7384 GB, free: 5.852 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.029, allocations: 0.5609 MB / 0.7389 GB, free: 5.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.051, allocations: 11.2 MB / 0.7498 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005976/1.057, allocations: 3.646 MB / 0.7534 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004086/1.061, allocations: 1.305 MB / 0.7547 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.062, allocations: 280.4 kB / 0.7549 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/1.062, allocations: 0 / 0.7549 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of Templates: time 0.08556/1.148, allocations: 43.15 MB / 0.7971 GB, free: 9.992 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.10013135150075] Failed to read output from testmodel.py, exit status != 0: 1.1573016364127398 1.1719328980000001 0.755313308 Calling exit ...