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.001733/0.001733, allocations: 88.72 kB / 19.44 MB, free: 356 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 1.602/1.602, allocations: 177.1 MB / 199.7 MB, free: 5.816 MB / 186.7 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.002024/0.002024, allocations: 156.6 kB / 256.3 MB, free: 13.17 MB / 250.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.03891/0.03891, allocations: 6.656 MB / 319.4 MB, free: 26.58 MB / 266.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 2.565e-06/2.565e-06, allocations: 0 / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.95e-05/4.207e-05, allocations: 6.25 kB / 390.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.1968/0.1968, allocations: 21.98 MB / 412.9 MB, free: 68.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02102/0.2178, allocations: 7.802 MB / 420.7 MB, free: 67.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008038/0.2259, allocations: 203.6 kB / 420.9 MB, free: 67.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01629/0.2422, allocations: 6.026 MB / 426.9 MB, free: 65.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.2528, allocations: 2.824 MB / 429.8 MB, free: 63.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006002/0.2588, allocations: 1.61 MB / 431.4 MB, free: 62.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01157/0.2704, allocations: 7.634 MB / 439 MB, free: 57.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01926/0.2896, allocations: 9.015 MB / 448 MB, free: 49.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/0.302, allocations: 5.651 MB / 453.7 MB, free: 43.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007324/0.3093, allocations: 3.617 MB / 457.3 MB, free: 40.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003328/0.3126, allocations: 1.07 MB / 458.4 MB, free: 39.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00539/0.318, allocations: 1.456 MB / 459.8 MB, free: 37.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003333/0.3213, allocations: 2.193 MB / 462 MB, free: 35.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008415/0.3297, allocations: 2.76 MB / 464.8 MB, free: 32.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.3488, allocations: 14.7 MB / 479.5 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.91e-05/0.3488, allocations: 0 / 479.5 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3488, allocations: 4 kB / 479.5 MB, free: 17.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005185/0.3494, allocations: 0 / 479.5 MB, free: 17.95 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.0274/0.3768, allocations: 8.818 MB / 488.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.3768, allocations: 16.02 kB / 488.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02664/0.4035, allocations: 5.483 MB / 493.8 MB, free: 3.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.4145, allocations: 4.824 MB / 498.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000762/0.4153, allocations: 489.1 kB / 499.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00305/0.4183, allocations: 0.621 MB / 499.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03327/0.4516, allocations: 10.49 MB / 0.4983 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003995/0.452, allocations: 11.89 kB / 0.4983 GB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002662/0.4547, allocations: 268 kB / 0.4985 GB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006681/0.4553, allocations: 413.7 kB / 0.4989 GB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02713/0.4824, allocations: 9.853 MB / 0.5085 GB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07563/0.5581, allocations: 30.45 MB / 0.5383 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/0.5757, allocations: 6.714 MB / 0.5448 GB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005235/0.581, allocations: 2.132 MB / 0.5469 GB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/0.5815, allocations: 94.25 kB / 0.547 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.5816, allocations: 64.89 kB / 0.5471 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=295): time 5.731e-06/0.5816, allocations: 0 / 0.5471 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of matching and sorting (n=301): time 0.2045/0.7861, allocations: 10.89 MB / 0.5577 GB, free: 118.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.7862, allocations: 85.64 kB / 0.5578 GB, free: 118.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005512/0.7917, allocations: 2.892 MB / 0.5606 GB, free: 117.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005864/0.7923, allocations: 69.2 kB / 0.5607 GB, free: 117.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.7947, allocations: 2.963 MB / 0.5636 GB, free: 115.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001609/0.7963, allocations: 1.068 MB / 0.5646 GB, free: 114.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003662/0.8, allocations: 0.9114 MB / 0.5655 GB, free: 114.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.8001, allocations: 306.1 kB / 0.5658 GB, free: 114 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004423/0.8045, allocations: 2.031 MB / 0.5678 GB, free: 113.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006515/0.811, allocations: 3.751 MB / 0.5714 GB, free: 110.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009139/0.8201, allocations: 6.06 MB / 0.5773 GB, free: 106.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/0.8203, allocations: 18.12 kB / 0.5774 GB, free: 106.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01493/0.8352, allocations: 6.847 MB / 0.584 GB, free: 101.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.8354, allocations: 28.22 kB / 0.5841 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.8355, allocations: 62.19 kB / 0.5841 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.8381, allocations: 0.7626 MB / 0.5849 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.8423, allocations: 1.076 MB / 0.5859 GB, free: 100.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008352/0.8507, allocations: 6.03 MB / 0.5918 GB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/0.8549, allocations: 272.9 kB / 0.5921 GB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000989/0.8559, allocations: 229.4 kB / 0.5923 GB, free: 94.33 MB / 394.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.004632/0.8606, allocations: 2.318 MB / 0.5946 GB, free: 92.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/0.8621, allocations: 410 kB / 0.595 GB, free: 91.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009372/0.8714, allocations: 4.608 MB / 0.5995 GB, free: 87.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-05/0.8715, allocations: 32 kB / 0.5995 GB, free: 87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.8715, allocations: 4 kB / 0.5995 GB, free: 87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.161e-05/0.8716, allocations: 21.56 kB / 0.5995 GB, free: 86.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/0.8927, allocations: 9.55 MB / 0.6088 GB, free: 77.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/0.8928, allocations: 7.625 kB / 0.6088 GB, free: 77.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/0.8952, allocations: 0.5305 MB / 0.6094 GB, free: 76.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/0.8974, allocations: 0.6629 MB / 0.61 GB, free: 76.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006948/0.8981, allocations: 67.98 kB / 0.6101 GB, free: 76.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007033/0.9052, allocations: 5.272 MB / 0.6152 GB, free: 70.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.9052, allocations: 8 kB / 0.6152 GB, free: 70.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.9162, allocations: 6.668 MB / 0.6217 GB, free: 63.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/0.9186, allocations: 0.6383 MB / 0.6224 GB, free: 63.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/0.9197, allocations: 56 kB / 0.6224 GB, free: 63.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/0.9223, allocations: 147.8 kB / 0.6226 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008024/0.9231, allocations: 217.8 kB / 0.6228 GB, free: 62.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003604/0.9234, allocations: 95.98 kB / 0.6229 GB, free: 62.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003505/0.9269, allocations: 1.843 MB / 0.6247 GB, free: 60.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.9269, allocations: 0 / 0.6247 GB, free: 60.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006369/0.9333, allocations: 1.168 MB / 0.6258 GB, free: 59.74 MB / 394.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.001004/0.9343, allocations: 244.7 kB / 0.626 GB, free: 59.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009161/0.9435, allocations: 4.832 MB / 0.6307 GB, free: 54.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/0.9435, allocations: 0 / 0.6307 GB, free: 54.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.9478, allocations: 2.119 MB / 0.6328 GB, free: 52.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/0.9526, allocations: 0.5991 MB / 0.6334 GB, free: 51.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02275/0.9754, allocations: 11.27 MB / 0.6444 GB, free: 40.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007213/0.9826, allocations: 3.646 MB / 0.648 GB, free: 36.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004299/0.9869, allocations: 1.306 MB / 0.6492 GB, free: 35.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.9882, allocations: 284.4 kB / 0.6495 GB, free: 35.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.552e-06/0.9882, allocations: 0 / 0.6495 GB, free: 35.28 MB / 394.7 MB Notification: Performance of Templates: time 0.07596/1.064, allocations: 43.09 MB / 0.6916 GB, free: 8.707 MB / 410.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.925892933038995]