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.0009092/0.0009092, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.9193/0.9193, allocations: 177.2 MB / 200.3 MB, free: 5.699 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.001892/0.001892, allocations: 159.3 kB / 257 MB, free: 12.98 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.04368/0.04368, allocations: 6.654 MB / 266.9 MB, free: 3.234 MB / 250.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.252e-06/1.252e-06, allocations: 0 / 285.7 MB, free: 440 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.467e-05, allocations: 5.828 kB / 285.7 MB, free: 436 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.126/0.126, allocations: 24.02 MB / 309.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.1372, allocations: 8.348 MB / 318.1 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.1388, allocations: 207 kB / 318.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00567/0.1444, allocations: 6.45 MB / 324.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.1478, allocations: 2.841 MB / 327.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.1496, allocations: 1.629 MB / 329.2 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004863/0.1545, allocations: 7.647 MB / 336.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.1621, allocations: 9.286 MB / 346.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.1669, allocations: 5.784 MB / 351.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.1706, allocations: 4.086 MB / 356 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008511/0.1714, allocations: 1.066 MB / 357.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.173, allocations: 1.464 MB / 358.5 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.174, allocations: 2.217 MB / 360.8 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.1762, allocations: 2.784 MB / 363.5 MB, free: 320 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00586/0.1821, allocations: 6.984 MB / 370.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1821, allocations: 0 / 370.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1821, allocations: 0 / 370.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002703/0.1824, allocations: 0 / 370.5 MB, free: 9.305 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.0125/0.1949, allocations: 8.41 MB / 378.9 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1949, allocations: 12.03 kB / 378.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.2082, allocations: 4.543 MB / 383.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.2122, allocations: 2.529 MB / 386 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002363/0.2146, allocations: 493 kB / 386.5 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/0.2163, allocations: 0.6326 MB / 387.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.2291, allocations: 5.265 MB / 392.4 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.2292, allocations: 15.88 kB / 392.4 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007833/0.23, allocations: 268 kB / 392.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002957/0.2303, allocations: 413.7 kB / 393.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006856/0.2372, allocations: 2.736 MB / 395.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03161/0.2688, allocations: 21.01 MB / 416.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005969/0.2747, allocations: 4.054 MB / 420.9 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.276, allocations: 0.8011 MB / 421.7 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/0.2763, allocations: 106.2 kB / 421.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.2763, allocations: 56.89 kB / 421.8 MB, free: 4.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.65e-06/0.2763, allocations: 0 / 421.8 MB, free: 4.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.009623/0.2859, allocations: 4.631 MB / 426.5 MB, free: 184 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.286, allocations: 89.72 kB / 426.6 MB, free: 80 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1335/0.4195, allocations: 1.947 MB / 428.5 MB, free: 79.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000425/0.42, allocations: 74.52 kB / 428.6 MB, free: 79.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.4213, allocations: 2.731 MB / 431.3 MB, free: 78.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008843/0.4222, allocations: 1.076 MB / 432.4 MB, free: 78.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.4233, allocations: 0.8384 MB / 433.2 MB, free: 78.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.4233, allocations: 304.8 kB / 433.5 MB, free: 77.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.4244, allocations: 0.5765 MB / 434.1 MB, free: 77.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.4258, allocations: 2.19 MB / 436.3 MB, free: 75.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.4285, allocations: 3.202 MB / 439.5 MB, free: 73.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-05/0.4285, allocations: 16.28 kB / 439.5 MB, free: 73.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.003934/0.4324, allocations: 2.987 MB / 442.5 MB, free: 73.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.4325, allocations: 32.02 kB / 442.5 MB, free: 73.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/0.4325, allocations: 53.19 kB / 442.6 MB, free: 73.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4336, allocations: 0.569 MB / 443.1 MB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.4355, allocations: 1.04 MB / 444.2 MB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.4387, allocations: 3.231 MB / 447.4 MB, free: 72.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.4406, allocations: 167.9 kB / 447.6 MB, free: 72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.4408, allocations: 185.9 kB / 447.8 MB, free: 72 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.001112/0.4419, allocations: 423.2 kB / 448.2 MB, free: 71.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.4423, allocations: 283.4 kB / 448.4 MB, free: 71.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.4447, allocations: 2.088 MB / 450.5 MB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.4447, allocations: 31.59 kB / 450.6 MB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4447, allocations: 5.531 kB / 450.6 MB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.4448, allocations: 16.64 kB / 450.6 MB, free: 71.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006272/0.451, allocations: 5.057 MB / 455.6 MB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.451, allocations: 8.938 kB / 455.7 MB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.452, allocations: 0.4934 MB / 456.1 MB, free: 70.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008331/0.4529, allocations: 481.8 kB / 456.6 MB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.453, allocations: 65.11 kB / 456.7 MB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.4554, allocations: 2.905 MB / 459.6 MB, free: 69.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4554, allocations: 10.47 kB / 459.6 MB, free: 69.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.4581, allocations: 2.474 MB / 462.1 MB, free: 68.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007135/0.4588, allocations: 387.1 kB / 462.4 MB, free: 67.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.459, allocations: 66.25 kB / 462.5 MB, free: 67.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.4596, allocations: 73.17 kB / 462.6 MB, free: 67.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.4599, allocations: 219.6 kB / 462.8 MB, free: 67.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/0.46, allocations: 66.11 kB / 462.9 MB, free: 67.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007231/0.4607, allocations: 0.8874 MB / 463.8 MB, free: 67.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4607, allocations: 0 / 463.8 MB, free: 67.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002558/0.4633, allocations: 1.166 MB / 464.9 MB, free: 66.16 MB / 378.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.0003353/0.4636, allocations: 221.3 kB / 465.1 MB, free: 66.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.4666, allocations: 2.386 MB / 467.5 MB, free: 64.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.171e-05/0.4667, allocations: 51.94 kB / 467.6 MB, free: 64.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.4679, allocations: 1.19 MB / 468.8 MB, free: 63.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.4695, allocations: 0.5827 MB / 469.3 MB, free: 63.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.4811, allocations: 9.203 MB / 478.5 MB, free: 55.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.4823, allocations: 1.212 MB / 479.8 MB, free: 54.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001676/0.4839, allocations: 0.5429 MB / 480.3 MB, free: 53.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/0.4851, allocations: 0.6718 MB / 481 MB, free: 53.03 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4851, allocations: 0 / 481 MB, free: 53.03 MB / 378.7 MB Notification: Performance of Templates: time 0.05525/0.5404, allocations: 46.89 MB / 0.5155 GB, free: 6.984 MB / 378.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.852861471939832]