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.0009502/0.0009502, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.00251, 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.039/1.039, allocations: 177.2 MB / 188.4 MB, free: 4.395 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2177/1.256, allocations: 53.65 MB / 242 MB, free: 2.613 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.0008474/0.0008474, allocations: 160 kB / 242.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001049/0.001897, allocations: 472.4 kB / 243.4 MB, free: 1.277 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.02402/0.02402, allocations: 6.661 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005352/0.02937, allocations: 2.661 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_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.562e-06/1.562e-06, allocations: 0 / 254.8 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.391e-05, allocations: 6.312 kB / 254.8 MB, free: 6.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.02375/0.02377, allocations: 24.23 MB / 279 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.04022, allocations: 8.404 MB / 287.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.04358, allocations: 203 kB / 287.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007326/0.05091, allocations: 6.456 MB / 294.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005488/0.0564, allocations: 2.831 MB / 296.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.05923, allocations: 1.628 MB / 298.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006599/0.06583, allocations: 7.682 MB / 306.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00859/0.07442, allocations: 9.032 MB / 315.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/0.08026, allocations: 6.03 MB / 321.3 MB, free: 3.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1794/0.2597, allocations: 4.084 MB / 325.4 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003789/0.2635, allocations: 1.066 MB / 326.4 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/0.2685, allocations: 1.457 MB / 327.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.2701, allocations: 1.773 MB / 329.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004151/0.2743, allocations: 2.334 MB / 332 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008995/0.2833, allocations: 6.578 MB / 338.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.2833, allocations: 0 / 338.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2833, allocations: 0.8438 kB / 338.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003325/0.2836, allocations: 0 / 338.6 MB, free: 16.91 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.0152/0.2988, allocations: 9.824 MB / 348.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2989, allocations: 18.75 kB / 348.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.3109, allocations: 4.533 MB / 353 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/0.3162, allocations: 2.523 MB / 355.5 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.3165, allocations: 487.3 kB / 356 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007718/0.3173, allocations: 0.6325 MB / 356.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/0.3245, allocations: 5.274 MB / 361.9 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.3247, allocations: 14.45 kB / 361.9 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004935/0.3252, allocations: 262.2 kB / 362.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/0.3255, allocations: 403.4 kB / 362.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/0.3295, allocations: 2.738 MB / 365.3 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.3572, allocations: 21.1 MB / 386.4 MB, free: 1.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007413/0.3646, allocations: 4.054 MB / 390.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3658, allocations: 0.7976 MB / 391.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.3661, allocations: 98.25 kB / 391.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/0.3661, allocations: 64.89 kB / 391.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=295): time 6.552e-06/0.3661, allocations: 0 / 391.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=301): time 0.01368/0.3798, allocations: 5.547 MB / 396.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3799, allocations: 81.78 kB / 397 MB, free: 7.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.3819, allocations: 1.963 MB / 399 MB, free: 5.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.382, allocations: 81.17 kB / 399.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004417/0.3864, allocations: 2.722 MB / 401.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007185/0.3871, allocations: 1.069 MB / 402.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.3882, allocations: 0.8451 MB / 403.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.3883, allocations: 305.1 kB / 404 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004311/0.3926, allocations: 0.5777 MB / 404.6 MB, free: 496 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.3943, allocations: 2.191 MB / 406.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/0.4072, allocations: 3.425 MB / 410.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.684e-05/0.4072, allocations: 23.38 kB / 410.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.00466/0.4119, allocations: 2.976 MB / 413.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.4119, allocations: 34.25 kB / 413.2 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.276e-05/0.412, allocations: 56 kB / 413.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.4134, allocations: 0.5683 MB / 413.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/0.4162, allocations: 1.131 MB / 415 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.4198, allocations: 3.21 MB / 418.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.4214, allocations: 179.8 kB / 418.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.4217, allocations: 180 kB / 418.5 MB, free: 1.828 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.001685/0.4233, allocations: 425.9 kB / 418.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/0.4237, allocations: 275.7 kB / 419.2 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.4264, allocations: 2.08 MB / 421.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.4264, allocations: 32 kB / 421.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.4264, allocations: 4 kB / 421.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.4264, allocations: 23.41 kB / 421.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007512/0.4339, allocations: 5.049 MB / 426.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4339, allocations: 4 kB / 426.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.4351, allocations: 0.5472 MB / 427 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.4358, allocations: 388.2 kB / 427.3 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009134/0.4367, allocations: 491 kB / 427.8 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.4368, allocations: 63.97 kB / 427.9 MB, free: 9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.4396, allocations: 2.896 MB / 430.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4396, allocations: 11.98 kB / 430.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.4429, allocations: 2.477 MB / 433.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.4431, allocations: 60 kB / 433.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.4438, allocations: 80.02 kB / 433.4 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.4441, allocations: 217.3 kB / 433.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.4442, allocations: 59.98 kB / 433.7 MB, free: 3.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008378/0.445, allocations: 0.8886 MB / 434.6 MB, free: 2.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.445, allocations: 0 / 434.6 MB, free: 2.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002796/0.4478, allocations: 1.172 MB / 435.7 MB, free: 1.141 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.0003978/0.4482, allocations: 210.2 kB / 435.9 MB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003/0.4512, allocations: 2.445 MB / 438.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001308/0.4513, allocations: 89.61 kB / 438.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002447/0.4538, allocations: 1.956 MB / 440.4 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.457, allocations: 4.723 MB / 445.1 MB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04079/0.4978, allocations: 9.034 MB / 454.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.4993, allocations: 1.212 MB / 455.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002044/0.5013, allocations: 0.5322 MB / 455.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/0.5025, allocations: 0.6662 MB / 456.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.845e-06/0.5025, allocations: 4 kB / 456.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of Templates: time 0.2222/0.7247, allocations: 47.73 MB / 0.4925 GB, free: 116.7 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.250833411701024]