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.001827/0.001827, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.625/1.625, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.7 MB " [Timeout remaining time 178] 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.002228/0.002228, allocations: 160.6 kB / 256.3 MB, free: 13.16 MB / 250.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.04138/0.04138, allocations: 6.665 MB / 319.4 MB, free: 26.56 MB / 266.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 2.525e-06/2.525e-06, allocations: 0 / 390.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.1e-05/4.352e-05, allocations: 6.25 kB / 390.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2436/0.2436, allocations: 24.46 MB / 415.4 MB, free: 69.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02543/0.2691, allocations: 7.997 MB / 423.4 MB, free: 67.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0069/0.276, allocations: 204.4 kB / 423.6 MB, free: 67.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02343/0.2994, allocations: 6.42 MB / 430 MB, free: 64.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01382/0.3132, allocations: 2.855 MB / 432.9 MB, free: 62.15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006295/0.3195, allocations: 1.64 MB / 434.5 MB, free: 60.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.3297, allocations: 7.63 MB / 442.1 MB, free: 56.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.3421, allocations: 9.024 MB / 451.2 MB, free: 47.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008337/0.3505, allocations: 5.706 MB / 456.9 MB, free: 41.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005931/0.3564, allocations: 3.984 MB / 460.9 MB, free: 37.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002484/0.3589, allocations: 1.066 MB / 461.9 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004529/0.3634, allocations: 1.452 MB / 463.4 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00213/0.3655, allocations: 2.229 MB / 465.6 MB, free: 32.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004947/0.3705, allocations: 2.795 MB / 468.4 MB, free: 29.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.3841, allocations: 14.78 MB / 483.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3841, allocations: 0 / 483.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3841, allocations: 0 / 483.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000382/0.3845, allocations: 4 kB / 483.2 MB, free: 15.04 MB / 330.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.02499/0.4095, allocations: 10.14 MB / 493.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4095, allocations: 12.03 kB / 493.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02592/0.4354, allocations: 5.479 MB / 498.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.4478, allocations: 4.479 MB / 0.4915 GB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008136/0.4486, allocations: 493 kB / 0.492 GB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.4512, allocations: 0.6288 MB / 0.4926 GB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03016/0.4814, allocations: 10.6 MB / 0.5029 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000303/0.4817, allocations: 7.953 kB / 0.5029 GB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/0.4838, allocations: 260 kB / 0.5032 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006253/0.4844, allocations: 425.5 kB / 0.5036 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.5068, allocations: 8.732 MB / 0.5121 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2268/0.7336, allocations: 56.73 MB / 0.5675 GB, free: 100 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01448/0.7481, allocations: 6.349 MB / 0.5737 GB, free: 99.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003181/0.7513, allocations: 1.82 MB / 0.5755 GB, free: 99.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.7516, allocations: 102.2 kB / 0.5756 GB, free: 99.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.7517, allocations: 68.62 kB / 0.5757 GB, free: 99.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=295): time 5.961e-06/0.7517, allocations: 0 / 0.5757 GB, free: 99.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=301): time 0.01848/0.7702, allocations: 9.466 MB / 0.5849 GB, free: 95.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7702, allocations: 85 kB / 0.585 GB, free: 95.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/0.7748, allocations: 3.89 MB / 0.5888 GB, free: 93.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.7752, allocations: 72.86 kB / 0.5889 GB, free: 93.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.7768, allocations: 3.314 MB / 0.5921 GB, free: 90.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008831/0.7777, allocations: 1.182 MB / 0.5932 GB, free: 89.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/0.7791, allocations: 1.185 MB / 0.5944 GB, free: 89.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.7792, allocations: 480.3 kB / 0.5949 GB, free: 88.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.7816, allocations: 1.622 MB / 0.5964 GB, free: 87.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/0.7864, allocations: 4.334 MB / 0.6007 GB, free: 82.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008863/0.7953, allocations: 6.504 MB / 0.607 GB, free: 74.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/0.7954, allocations: 16 kB / 0.607 GB, free: 74.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01555/0.8109, allocations: 6.083 MB / 0.613 GB, free: 68.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.8111, allocations: 31.94 kB / 0.613 GB, free: 68.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/0.8113, allocations: 56 kB / 0.6131 GB, free: 68.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/0.8146, allocations: 0.7774 MB / 0.6138 GB, free: 67.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005742/0.8204, allocations: 1.069 MB / 0.6149 GB, free: 66.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.8318, allocations: 6.658 MB / 0.6214 GB, free: 59.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005114/0.8369, allocations: 277.7 kB / 0.6216 GB, free: 59.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.838, allocations: 236 kB / 0.6219 GB, free: 59.15 MB / 394.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.005233/0.8433, allocations: 2.131 MB / 0.6239 GB, free: 57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/0.8447, allocations: 410 kB / 0.6243 GB, free: 56.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/0.8552, allocations: 4.114 MB / 0.6283 GB, free: 52.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/0.8553, allocations: 32 kB / 0.6284 GB, free: 52.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/0.8553, allocations: 4 kB / 0.6284 GB, free: 52.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.766e-05/0.8553, allocations: 15.94 kB / 0.6284 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.8771, allocations: 11.69 MB / 0.6398 GB, free: 40.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.8771, allocations: 8 kB / 0.6398 GB, free: 40.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/0.8791, allocations: 0.5382 MB / 0.6403 GB, free: 40 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.881, allocations: 0.6632 MB / 0.641 GB, free: 39.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003109/0.8813, allocations: 71.97 kB / 0.6411 GB, free: 39.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006314/0.8876, allocations: 5.886 MB / 0.6468 GB, free: 33.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8877, allocations: 7.938 kB / 0.6468 GB, free: 33.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008151/0.8958, allocations: 5.581 MB / 0.6523 GB, free: 27.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/0.8978, allocations: 0.5953 MB / 0.6528 GB, free: 26.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006911/0.8985, allocations: 56 kB / 0.6529 GB, free: 26.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.9003, allocations: 143.8 kB / 0.653 GB, free: 26.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/0.9007, allocations: 221.8 kB / 0.6533 GB, free: 26.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.9008, allocations: 91.98 kB / 0.6533 GB, free: 26.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002591/0.9034, allocations: 2.046 MB / 0.6553 GB, free: 24.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.9034, allocations: 0 / 0.6553 GB, free: 24.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004023/0.9074, allocations: 1.172 MB / 0.6565 GB, free: 23.16 MB / 394.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.000426/0.9079, allocations: 230.3 kB / 0.6567 GB, free: 22.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0068/0.9147, allocations: 4.664 MB / 0.6613 GB, free: 18.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.9147, allocations: 6 kB / 0.6613 GB, free: 18.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003113/0.9178, allocations: 2.087 MB / 0.6633 GB, free: 16.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.9209, allocations: 0.6121 MB / 0.6639 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/0.9367, allocations: 10.48 MB / 0.6741 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/0.9399, allocations: 3.365 MB / 0.6774 GB, free: 1.473 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002964/0.9428, allocations: 1.113 MB / 0.6785 GB, free: 368 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/0.9436, allocations: 280.4 kB / 0.6788 GB, free: 88 kB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/0.9436, allocations: 0 / 0.6788 GB, free: 88 kB / 394.7 MB Notification: Performance of Templates: time 0.2157/1.159, allocations: 43.01 MB / 0.7208 GB, free: 129.2 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: 7.405769492033869]