Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.001039/0.001039, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002483, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.9711/0.9711, allocations: 177.2 MB / 188.4 MB, free: 4.391 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2127/1.184, allocations: 53.65 MB / 242 MB, free: 2.598 MB / 234.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.0008387/0.0008387, allocations: 153.9 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001982, allocations: 478 kB / 243.4 MB, free: 1.266 MB / 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.02364/0.02364, allocations: 6.65 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004165/0.02781, allocations: 2.668 MB / 253.5 MB, free: 7.395 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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 254.8 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.616e-05, allocations: 2.312 kB / 254.8 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01978/0.0198, allocations: 24.24 MB / 279 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.03692, allocations: 8.408 MB / 287.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005288/0.0422, allocations: 203.1 kB / 287.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008748/0.05095, allocations: 6.456 MB / 294.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008826/0.05978, allocations: 2.824 MB / 296.9 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003192/0.06297, allocations: 1.636 MB / 298.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008175/0.07114, allocations: 7.674 MB / 306.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009791/0.08094, allocations: 9.04 MB / 315.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008123/0.08906, allocations: 6.018 MB / 321.3 MB, free: 3.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2342/0.3232, allocations: 4.089 MB / 325.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004583/0.3278, allocations: 1.064 MB / 326.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006904/0.3347, allocations: 1.461 MB / 327.9 MB, free: 17.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003999/0.3387, allocations: 1.774 MB / 329.7 MB, free: 17.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009791/0.3485, allocations: 2.335 MB / 332 MB, free: 17.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.3618, allocations: 6.579 MB / 338.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.3618, allocations: 0 / 338.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3618, allocations: 0 / 338.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005422/0.3623, allocations: 0.875 kB / 338.6 MB, free: 16.84 MB / 314.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.02282/0.3851, allocations: 9.825 MB / 348.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3852, allocations: 8.938 kB / 348.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.4016, allocations: 4.535 MB / 353 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008351/0.4099, allocations: 2.52 MB / 355.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/0.4103, allocations: 489.1 kB / 356 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/0.4127, allocations: 0.6357 MB / 356.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.4236, allocations: 5.269 MB / 361.9 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/0.4238, allocations: 15.97 kB / 361.9 MB, free: 9.316 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006066/0.4244, allocations: 262.7 kB / 362.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003258/0.4248, allocations: 399.7 kB / 362.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00556/0.4303, allocations: 2.747 MB / 365.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03263/0.463, allocations: 21.11 MB / 386.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005825/0.4688, allocations: 4.048 MB / 390.4 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.47, allocations: 0.7968 MB / 391.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.4702, allocations: 102.2 kB / 391.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.4702, allocations: 64.89 kB / 391.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 5.159e-06/0.4703, allocations: 0 / 391.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.01269/0.4829, allocations: 5.546 MB / 396.9 MB, free: 7.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.483, allocations: 81.78 kB / 397 MB, free: 7.441 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.4856, allocations: 1.963 MB / 399 MB, free: 5.844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.4857, allocations: 77.7 kB / 399.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.4871, allocations: 2.723 MB / 401.8 MB, free: 3.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008864/0.488, allocations: 1.076 MB / 402.9 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.4891, allocations: 0.8416 MB / 403.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4892, allocations: 301.1 kB / 404 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.4901, allocations: 0.5777 MB / 404.6 MB, free: 484 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.4917, allocations: 2.192 MB / 406.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/0.4952, allocations: 3.43 MB / 410.2 MB, free: 9.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.016e-05/0.4952, allocations: 16 kB / 410.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004405/0.4996, allocations: 2.981 MB / 413.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.4997, allocations: 30.03 kB / 413.2 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.218e-05/0.4997, allocations: 56 kB / 413.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.5009, allocations: 0.5698 MB / 413.8 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.5031, allocations: 1.131 MB / 415 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.5068, allocations: 3.211 MB / 418.2 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.5094, allocations: 175.8 kB / 418.4 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003725/0.5098, allocations: 184 kB / 418.5 MB, free: 1.812 MB / 362.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.002663/0.5125, allocations: 421.6 kB / 418.9 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009505/0.5134, allocations: 283.7 kB / 419.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.5165, allocations: 2.071 MB / 421.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.5165, allocations: 31.75 kB / 421.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.5165, allocations: 15.05 kB / 421.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.5166, allocations: 15.95 kB / 421.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009786/0.5263, allocations: 5.053 MB / 426.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5263, allocations: 4.625 kB / 426.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.5276, allocations: 0.5542 MB / 427 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.5291, allocations: 379.4 kB / 427.3 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.5301, allocations: 480 kB / 427.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.5302, allocations: 63.97 kB / 427.9 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.5335, allocations: 2.906 MB / 430.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.5335, allocations: 11.56 kB / 430.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/0.5374, allocations: 2.48 MB / 433.3 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006095/0.538, allocations: 60 kB / 433.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/0.5389, allocations: 71.98 kB / 433.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/0.5392, allocations: 213.6 kB / 433.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.5393, allocations: 68.02 kB / 433.7 MB, free: 3.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001513/0.5408, allocations: 0.8887 MB / 434.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5408, allocations: 0 / 434.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005063/0.5459, allocations: 1.168 MB / 435.7 MB, free: 1.129 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.0005758/0.5465, allocations: 211.2 kB / 435.9 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00427/0.5507, allocations: 2.451 MB / 438.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002045/0.5509, allocations: 87.73 kB / 438.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003951/0.5549, allocations: 1.958 MB / 440.4 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/0.5598, allocations: 4.715 MB / 445.1 MB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/0.604, allocations: 9.041 MB / 454.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.6062, allocations: 1.209 MB / 455.4 MB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002099/0.6083, allocations: 0.5361 MB / 455.9 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/0.6096, allocations: 0.6626 MB / 456.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.434e-06/0.6096, allocations: 0 / 456.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of Templates: time 0.2643/0.8739, allocations: 47.74 MB / 0.4925 GB, free: 116.5 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.443528234958649]