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.0008416/0.0008416, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001985, allocations: 435.8 kB / 10.33 MB, free: 368 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.9791/0.9791, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.165/1.144, allocations: 53.65 MB / 241.9 MB, free: 2.73 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.001125/0.001125, allocations: 146.4 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002691, allocations: 487.7 kB / 243.2 MB, free: 1.41 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.03302/0.03302, allocations: 6.652 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003724/0.03674, allocations: 2.659 MB / 253.3 MB, free: 7.562 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.262e-06/1.262e-06, allocations: 0 / 254.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/9.808e-06, allocations: 5.266 kB / 254.6 MB, free: 6.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01723/0.01724, allocations: 24.2 MB / 278.8 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.03205, allocations: 8.408 MB / 287.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.0363, allocations: 203 kB / 287.4 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008672/0.04497, allocations: 6.46 MB / 293.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008081/0.05305, allocations: 2.816 MB / 296.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.05665, allocations: 1.644 MB / 298.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009177/0.06583, allocations: 7.68 MB / 306 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01353/0.07936, allocations: 9.032 MB / 315 MB, free: 9.434 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.0905, allocations: 6.022 MB / 321 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.148/0.2385, allocations: 4.087 MB / 325.1 MB, free: 17.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00228/0.2408, allocations: 1.065 MB / 326.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.2435, allocations: 1.46 MB / 327.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.2446, allocations: 1.768 MB / 329.4 MB, free: 17.24 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002261/0.2468, allocations: 2.335 MB / 331.8 MB, free: 17.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005212/0.252, allocations: 6.604 MB / 338.4 MB, free: 16.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.2521, allocations: 0 / 338.4 MB, free: 16.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2521, allocations: 0.75 kB / 338.4 MB, free: 16.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.061e-05/0.2522, allocations: 0 / 338.4 MB, free: 16.79 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.01068/0.2628, allocations: 9.833 MB / 348.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2629, allocations: 10.22 kB / 348.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.2742, allocations: 4.541 MB / 352.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/0.2782, allocations: 2.528 MB / 355.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.2784, allocations: 482.1 kB / 355.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006019/0.279, allocations: 0.6308 MB / 356.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005816/0.2848, allocations: 5.271 MB / 361.6 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.2849, allocations: 7.953 kB / 361.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/0.2854, allocations: 269.1 kB / 361.9 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002324/0.2856, allocations: 422.3 kB / 362.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003844/0.2895, allocations: 2.734 MB / 365.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.3117, allocations: 21.11 MB / 386.2 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005076/0.3167, allocations: 4.051 MB / 390.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008876/0.3176, allocations: 0.8028 MB / 391 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.3178, allocations: 102.2 kB / 391.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.3178, allocations: 64.89 kB / 391.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 4.599e-06/0.3178, allocations: 0 / 391.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.009067/0.3269, allocations: 4.63 MB / 395.8 MB, free: 8.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.327, allocations: 85.78 kB / 395.9 MB, free: 8.523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.3289, allocations: 1.968 MB / 397.9 MB, free: 6.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.329, allocations: 73.7 kB / 398 MB, free: 6.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.3302, allocations: 2.727 MB / 400.7 MB, free: 4.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000618/0.3308, allocations: 1.066 MB / 401.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000957/0.3318, allocations: 0.8427 MB / 402.6 MB, free: 2.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.701e-05/0.3319, allocations: 305.1 kB / 402.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009347/0.3328, allocations: 0.5816 MB / 403.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.3343, allocations: 2.189 MB / 405.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002797/0.3371, allocations: 3.196 MB / 408.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-05/0.3371, allocations: 16 kB / 408.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.004121/0.3412, allocations: 2.978 MB / 411.8 MB, free: 8.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.3413, allocations: 28 kB / 411.9 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.867e-05/0.3413, allocations: 59.28 kB / 411.9 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.3425, allocations: 0.5738 MB / 412.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.3446, allocations: 1.133 MB / 413.6 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/0.348, allocations: 3.232 MB / 416.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.3499, allocations: 179.8 kB / 417 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/0.3502, allocations: 188 kB / 417.2 MB, free: 3.109 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.001468/0.3517, allocations: 416 kB / 417.6 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/0.3521, allocations: 282.9 kB / 417.9 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.3549, allocations: 2.084 MB / 420 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.3549, allocations: 32 kB / 420 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3549, allocations: 4 kB / 420 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.355, allocations: 15.94 kB / 420 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007881/0.3628, allocations: 5.052 MB / 425.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.3629, allocations: 8 kB / 425.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.3641, allocations: 0.5489 MB / 425.7 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.3651, allocations: 376.7 kB / 426 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009549/0.3661, allocations: 482.7 kB / 426.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.3662, allocations: 59.98 kB / 426.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.369, allocations: 2.921 MB / 429.5 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.369, allocations: 7.656 kB / 429.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/0.3724, allocations: 2.471 MB / 432 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005538/0.373, allocations: 59.98 kB / 432 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.3738, allocations: 75.98 kB / 432.1 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/0.3742, allocations: 209.4 kB / 432.3 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.3743, allocations: 67.97 kB / 432.4 MB, free: 4.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.3754, allocations: 0.8895 MB / 433.2 MB, free: 3.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3754, allocations: 0 / 433.2 MB, free: 3.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003378/0.3788, allocations: 1.172 MB / 434.4 MB, free: 2.43 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.0004489/0.3793, allocations: 214.7 kB / 434.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.3827, allocations: 2.38 MB / 437 MB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000158/0.3828, allocations: 88.36 kB / 437.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.3842, allocations: 1.175 MB / 438.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.3863, allocations: 0.8651 MB / 439.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04527/0.4315, allocations: 9.445 MB / 448.6 MB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/0.4334, allocations: 1.216 MB / 449.8 MB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001739/0.4351, allocations: 0.5361 MB / 450.3 MB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/0.4363, allocations: 0.6631 MB / 451 MB, free: 2.066 MB / 394.7 MB Notification: Performance of SimCode: time 1.884e-06/0.4363, allocations: 0 / 451 MB, free: 2.066 MB / 394.7 MB Notification: Performance of Templates: time 0.2102/0.6465, allocations: 48.26 MB / 499.2 MB, free: 114 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.068732510320842]