Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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.0007982/0.0007982, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.00204, 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.9914/0.9914, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1644/1.156, allocations: 53.64 MB / 241.9 MB, free: 2.734 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.0008339/0.0008339, allocations: 156 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001924, allocations: 479.4 kB / 243.2 MB, free: 1.414 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.0242/0.0242, allocations: 6.659 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004948/0.02915, allocations: 2.663 MB / 253.3 MB, free: 7.559 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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 254.6 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.24e-05, allocations: 4.422 kB / 254.6 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.02777/0.0278, allocations: 24.22 MB / 278.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.04085, allocations: 8.404 MB / 287.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.0427, allocations: 203 kB / 287.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006267/0.04896, allocations: 6.472 MB / 293.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.05319, allocations: 2.82 MB / 296.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.05518, allocations: 1.632 MB / 298.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005041/0.06022, allocations: 7.683 MB / 306 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007738/0.06796, allocations: 9.04 MB / 315.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004341/0.0723, allocations: 6.014 MB / 321.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1365/0.2088, allocations: 4.084 MB / 325.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002541/0.2114, allocations: 1.065 MB / 326.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.2146, allocations: 1.458 MB / 327.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.2162, allocations: 1.774 MB / 329.5 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003119/0.2193, allocations: 2.337 MB / 331.8 MB, free: 17.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00538/0.2247, allocations: 6.597 MB / 338.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.2247, allocations: 0 / 338.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2247, allocations: 0.875 kB / 338.4 MB, free: 16.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.431e-05/0.2248, allocations: 0.8438 kB / 338.4 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.01059/0.2353, allocations: 9.832 MB / 348.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2354, allocations: 8.5 kB / 348.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.2466, allocations: 4.542 MB / 352.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.2504, allocations: 2.525 MB / 355.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.2506, allocations: 489.1 kB / 355.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006092/0.2512, allocations: 0.6238 MB / 356.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005646/0.2568, allocations: 5.276 MB / 361.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.2569, allocations: 14.66 kB / 361.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004894/0.2574, allocations: 263 kB / 362 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.2576, allocations: 420.8 kB / 362.4 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.2612, allocations: 2.735 MB / 365.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.2818, allocations: 21.12 MB / 386.2 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/0.2868, allocations: 4.051 MB / 390.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008766/0.2877, allocations: 0.7856 MB / 391.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.2878, allocations: 113.2 kB / 391.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.2879, allocations: 68.83 kB / 391.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 4.038e-06/0.2879, allocations: 2.844 kB / 391.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.01177/0.2997, allocations: 4.631 MB / 395.9 MB, free: 8.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.2997, allocations: 85.77 kB / 396 MB, free: 8.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.3032, allocations: 1.962 MB / 397.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004903/0.3037, allocations: 73.7 kB / 398 MB, free: 6.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001821/0.3055, allocations: 2.731 MB / 400.7 MB, free: 4.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001311/0.3068, allocations: 1.066 MB / 401.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/0.3083, allocations: 0.8384 MB / 402.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.3084, allocations: 313 kB / 402.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3098, allocations: 0.5738 MB / 403.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.3121, allocations: 2.196 MB / 405.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.3164, allocations: 3.195 MB / 408.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.827e-05/0.3164, allocations: 16 kB / 408.9 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.007157/0.3236, allocations: 2.977 MB / 411.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.3236, allocations: 28 kB / 411.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.242e-05/0.3237, allocations: 56 kB / 412 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.3256, allocations: 0.572 MB / 412.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/0.3296, allocations: 1.133 MB / 413.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.3354, allocations: 3.232 MB / 416.9 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.3391, allocations: 183.8 kB / 417.1 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006561/0.3398, allocations: 180 kB / 417.3 MB, free: 3.086 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.002512/0.3423, allocations: 422.8 kB / 417.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/0.3431, allocations: 279.7 kB / 418 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/0.3478, allocations: 2.08 MB / 420 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/0.3478, allocations: 32 kB / 420.1 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3478, allocations: 4 kB / 420.1 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.3479, allocations: 19.94 kB / 420.1 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.3609, allocations: 5.054 MB / 425.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.3609, allocations: 4 kB / 425.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/0.363, allocations: 0.5497 MB / 425.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/0.3647, allocations: 385 kB / 426.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.3662, allocations: 473.3 kB / 426.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.3664, allocations: 63.98 kB / 426.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/0.3712, allocations: 2.919 MB / 429.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.3712, allocations: 8 kB / 429.5 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/0.3769, allocations: 2.47 MB / 432 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007907/0.3777, allocations: 59.98 kB / 432.1 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008724/0.3786, allocations: 75.98 kB / 432.1 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.3789, allocations: 217.3 kB / 432.3 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.379, allocations: 63.45 kB / 432.4 MB, free: 4.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.3801, allocations: 0.888 MB / 433.3 MB, free: 3.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 4.031 kB / 433.3 MB, free: 3.566 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002753/0.3829, allocations: 1.164 MB / 434.5 MB, free: 2.402 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.0003356/0.3832, allocations: 219.2 kB / 434.7 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00267/0.3859, allocations: 2.373 MB / 437 MB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001439/0.386, allocations: 90.95 kB / 437.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.3873, allocations: 1.18 MB / 438.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.3887, allocations: 0.8649 MB / 439.2 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/0.4295, allocations: 9.444 MB / 448.6 MB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.4307, allocations: 1.212 MB / 449.8 MB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001644/0.4324, allocations: 0.5322 MB / 450.4 MB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.4335, allocations: 0.6662 MB / 451 MB, free: 2.043 MB / 394.7 MB Notification: Performance of SimCode: time 1.854e-06/0.4335, allocations: 0 / 451 MB, free: 2.043 MB / 394.7 MB Notification: Performance of Templates: time 0.1941/0.6276, allocations: 48.26 MB / 499.3 MB, free: 113.9 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.038934135809541]