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.001339/0.001339, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 13.93 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 0.9289/0.9289, allocations: 177.2 MB / 200 MB, free: 4.422 MB / 186.7 MB " [Timeout remaining time 179] 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.001351/0.001351, allocations: 167.8 kB / 256.6 MB, free: 260 kB / 234.7 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.04839/0.04839, allocations: 6.657 MB / 319.8 MB, free: 1.23 MB / 298.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 391.7 MB, free: 58.26 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.33e-05, allocations: 2.312 kB / 391.7 MB, free: 58.26 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01548/0.0155, allocations: 24.66 MB / 416.3 MB, free: 33.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.0292, allocations: 8 MB / 424.3 MB, free: 25.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004685/0.03389, allocations: 203.1 kB / 424.5 MB, free: 25.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007751/0.04164, allocations: 6.444 MB / 431 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.04817, allocations: 2.855 MB / 433.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.05107, allocations: 1.652 MB / 435.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00648/0.05755, allocations: 7.63 MB / 443.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009661/0.06721, allocations: 9.019 MB / 452.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007936/0.07515, allocations: 5.702 MB / 457.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005432/0.08058, allocations: 3.992 MB / 461.8 MB, free: 3.762 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001753/0.08233, allocations: 1.07 MB / 462.9 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.0852, allocations: 1.452 MB / 464.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.132/0.2172, allocations: 2.225 MB / 466.6 MB, free: 34.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006388/0.2236, allocations: 2.801 MB / 469.4 MB, free: 34.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.2339, allocations: 7.003 MB / 476.4 MB, free: 34.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2339, allocations: 3.094 kB / 476.4 MB, free: 34.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2339, allocations: 1.781 kB / 476.4 MB, free: 34.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00033/0.2342, allocations: 0 / 476.4 MB, free: 34.2 MB / 330.7 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.01745/0.2517, allocations: 9.392 MB / 485.8 MB, free: 31.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2517, allocations: 15.7 kB / 485.8 MB, free: 31.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.2663, allocations: 5.491 MB / 491.3 MB, free: 30.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007791/0.2741, allocations: 4.433 MB / 495.7 MB, free: 28.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.2744, allocations: 490.8 kB / 496.2 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.276, allocations: 0.6311 MB / 496.8 MB, free: 28.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.2908, allocations: 5.657 MB / 0.4907 GB, free: 25.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.291, allocations: 15.69 kB / 0.4907 GB, free: 25.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009782/0.292, allocations: 266.9 kB / 0.491 GB, free: 25.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002674/0.2923, allocations: 421.8 kB / 0.4914 GB, free: 25.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009919/0.3022, allocations: 3.339 MB / 0.4946 GB, free: 23.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03598/0.3382, allocations: 27.44 MB / 0.5214 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.3488, allocations: 6.151 MB / 0.5274 GB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.3507, allocations: 1.03 MB / 0.5284 GB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/0.351, allocations: 94.27 kB / 0.5285 GB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/0.351, allocations: 71.66 kB / 0.5286 GB, free: 5.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 6.953e-06/0.351, allocations: 0 / 0.5286 GB, free: 5.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.01479/0.3658, allocations: 6.408 MB / 0.5349 GB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.3659, allocations: 81.78 kB / 0.5349 GB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/0.3697, allocations: 2.57 MB / 0.5374 GB, free: 11.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.3699, allocations: 77.7 kB / 0.5375 GB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/0.3719, allocations: 3.116 MB / 0.5406 GB, free: 8.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008867/0.3728, allocations: 1.109 MB / 0.5416 GB, free: 7.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.3742, allocations: 0.9933 MB / 0.5426 GB, free: 6.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3743, allocations: 484.7 kB / 0.5431 GB, free: 6.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.376, allocations: 0.6871 MB / 0.5437 GB, free: 5.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00319/0.3792, allocations: 3.22 MB / 0.5469 GB, free: 1.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/0.3843, allocations: 4.248 MB / 0.551 GB, free: 11.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-05/0.3843, allocations: 16 kB / 0.5511 GB, free: 11.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007865/0.3922, allocations: 4.077 MB / 0.555 GB, free: 8.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.3923, allocations: 32 kB / 0.5551 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.605e-05/0.3923, allocations: 52.22 kB / 0.5551 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/0.3941, allocations: 0.6195 MB / 0.5557 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/0.3971, allocations: 1.072 MB / 0.5568 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/0.4037, allocations: 4.389 MB / 0.5611 GB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/0.4069, allocations: 271.7 kB / 0.5613 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000681/0.4076, allocations: 232 kB / 0.5615 GB, free: 1.578 MB / 378.7 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.001875/0.4095, allocations: 471.5 kB / 0.562 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/0.4102, allocations: 410 kB / 0.5624 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/0.4142, allocations: 2.73 MB / 0.565 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.4143, allocations: 36 kB / 0.5651 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4143, allocations: 4 kB / 0.5651 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.4143, allocations: 15.94 kB / 0.5651 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.4268, allocations: 7.693 MB / 0.5726 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4268, allocations: 4 kB / 0.5726 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.428, allocations: 0.5334 MB / 0.5731 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.4295, allocations: 0.5174 MB / 0.5736 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.4296, allocations: 71.95 kB / 0.5737 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/0.4336, allocations: 3.97 MB / 0.5776 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4336, allocations: 11.53 kB / 0.5776 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/0.4383, allocations: 3.369 MB / 0.5809 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.4394, allocations: 0.5836 MB / 0.5815 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/0.4398, allocations: 67.98 kB / 0.5815 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.4409, allocations: 143.9 kB / 0.5817 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/0.4412, allocations: 221.6 kB / 0.5819 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.4414, allocations: 91.97 kB / 0.582 GB, free: 12.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001641/0.443, allocations: 1.252 MB / 0.5832 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.443, allocations: 4.031 kB / 0.5832 GB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003234/0.4462, allocations: 1.172 MB / 0.5843 GB, free: 10.03 MB / 410.7 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.0004043/0.4466, allocations: 232.8 kB / 0.5845 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004544/0.4512, allocations: 3.014 MB / 0.5875 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.4512, allocations: 0 / 0.5875 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.453, allocations: 1.479 MB / 0.5889 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.455, allocations: 0.6103 MB / 0.5895 GB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.4678, allocations: 9.432 MB / 0.5987 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.4692, allocations: 1.637 MB / 0.6003 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002173/0.4714, allocations: 1.109 MB / 0.6014 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/0.472, allocations: 284.4 kB / 0.6017 GB, free: 8.273 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/0.472, allocations: 4 kB / 0.6017 GB, free: 8.27 MB / 426.7 MB Notification: Performance of Templates: time 0.1859/0.6578, allocations: 43.07 MB / 0.6438 GB, free: 111.9 MB / 426.7 MB " [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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.57211728207767]