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.001001/0.001001, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.00227, 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 1.048/1.048, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2313/1.279, allocations: 53.65 MB / 242 MB, free: 2.617 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.0009284/0.0009284, allocations: 152.1 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001757/0.002685, allocations: 478.8 kB / 243.4 MB, free: 1.285 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.02467/0.02467, allocations: 6.653 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00588/0.03055, allocations: 2.672 MB / 253.5 MB, free: 7.406 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_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: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 254.8 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.527e-05, allocations: 2.312 kB / 254.8 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02544/0.02547, allocations: 24.23 MB / 279 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01972/0.04519, allocations: 8.404 MB / 287.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007474/0.05267, allocations: 207 kB / 287.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.06413, allocations: 6.456 MB / 294.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009888/0.07402, allocations: 2.827 MB / 296.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.07863, allocations: 1.639 MB / 298.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.08953, allocations: 7.684 MB / 306.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.1047, allocations: 9.036 MB / 315.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/0.118, allocations: 6.018 MB / 321.3 MB, free: 3.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1856/0.3035, allocations: 4.085 MB / 325.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00373/0.3073, allocations: 1.065 MB / 326.4 MB, free: 17.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.3113, allocations: 1.466 MB / 327.9 MB, free: 17.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.3127, allocations: 1.771 MB / 329.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003032/0.3158, allocations: 2.334 MB / 332 MB, free: 17.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006488/0.3223, allocations: 6.577 MB / 338.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.3223, allocations: 3.375 kB / 338.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3223, allocations: 0 / 338.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003985/0.3227, allocations: 3.656 kB / 338.6 MB, free: 16.86 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.01473/0.3374, allocations: 9.829 MB / 348.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3374, allocations: 7.344 kB / 348.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.3493, allocations: 4.54 MB / 353 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/0.3537, allocations: 2.518 MB / 355.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.354, allocations: 489 kB / 356 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007286/0.3547, allocations: 0.6342 MB / 356.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.3695, allocations: 5.273 MB / 361.9 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004647/0.37, allocations: 13.48 kB / 361.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/0.3728, allocations: 263.2 kB / 362.1 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003586/0.3731, allocations: 397.2 kB / 362.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009408/0.3826, allocations: 2.739 MB / 365.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03733/0.4199, allocations: 21.11 MB / 386.4 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00578/0.4257, allocations: 4.049 MB / 390.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.4269, allocations: 0.7931 MB / 391.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.4271, allocations: 102.2 kB / 391.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.4272, allocations: 60.89 kB / 391.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 4.869e-06/0.4272, allocations: 4 kB / 391.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.01264/0.4398, allocations: 5.543 MB / 396.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.4399, allocations: 81.78 kB / 397 MB, free: 7.461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.4425, allocations: 1.962 MB / 399 MB, free: 5.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.4427, allocations: 73.7 kB / 399.1 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.4441, allocations: 2.731 MB / 401.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007707/0.4449, allocations: 1.072 MB / 402.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009755/0.4458, allocations: 0.8412 MB / 403.7 MB, free: 1.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.4459, allocations: 301.1 kB / 404 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009544/0.4469, allocations: 0.581 MB / 404.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.4487, allocations: 2.198 MB / 406.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003568/0.4523, allocations: 3.426 MB / 410.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.328e-05/0.4523, allocations: 16 kB / 410.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004777/0.4571, allocations: 2.976 MB / 413.2 MB, free: 7.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.4572, allocations: 32 kB / 413.2 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.026e-05/0.4572, allocations: 55.61 kB / 413.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.4585, allocations: 0.5692 MB / 413.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.4608, allocations: 1.131 MB / 415 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.4645, allocations: 3.213 MB / 418.2 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.4671, allocations: 175.8 kB / 418.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/0.4675, allocations: 188 kB / 418.5 MB, free: 1.832 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.002153/0.4697, allocations: 423.1 kB / 419 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.4703, allocations: 279.7 kB / 419.2 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.4734, allocations: 2.08 MB / 421.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.4734, allocations: 31.98 kB / 421.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4735, allocations: 8 kB / 421.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/0.4735, allocations: 11.95 kB / 421.4 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009908/0.4834, allocations: 5.058 MB / 426.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.4834, allocations: 4 kB / 426.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.4847, allocations: 0.549 MB / 427 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.486, allocations: 376.3 kB / 427.3 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.4871, allocations: 483.9 kB / 427.8 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.4872, allocations: 63.98 kB / 427.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/0.4904, allocations: 2.902 MB / 430.8 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4904, allocations: 7.375 kB / 430.8 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.4943, allocations: 2.486 MB / 433.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006731/0.495, allocations: 56 kB / 433.3 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/0.496, allocations: 76.02 kB / 433.4 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.4963, allocations: 217.5 kB / 433.6 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.4965, allocations: 59.98 kB / 433.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.4978, allocations: 0.8944 MB / 434.6 MB, free: 2.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4978, allocations: 0 / 434.6 MB, free: 2.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004293/0.5021, allocations: 1.164 MB / 435.7 MB, free: 1.156 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.0006143/0.5027, allocations: 223.5 kB / 435.9 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.5072, allocations: 2.446 MB / 438.4 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000198/0.5074, allocations: 87.73 kB / 438.5 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004002/0.5114, allocations: 1.953 MB / 440.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/0.5163, allocations: 4.721 MB / 445.1 MB, free: 7.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04637/0.5627, allocations: 9.032 MB / 454.2 MB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.5649, allocations: 1.212 MB / 455.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0022/0.5671, allocations: 0.5322 MB / 455.9 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.5685, allocations: 0.6709 MB / 456.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.525e-06/0.5685, allocations: 0 / 456.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of Templates: time 0.2629/0.8314, allocations: 47.74 MB / 0.4925 GB, free: 116.8 MB / 426.7 MB " [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=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.342460832558572]