Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.001316/0.001316, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.088/1.088, allocations: 177.2 MB / 200.3 MB, free: 5.348 MB / 186.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.001908/0.001908, allocations: 163.3 kB / 256.9 MB, free: 12.8 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.02372/0.02372, allocations: 6.661 MB / 320.1 MB, free: 26.34 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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 392.1 MB, free: 2.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.359e-05, allocations: 2.312 kB / 392.1 MB, free: 2.199 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.1435/0.1435, allocations: 24 MB / 416.1 MB, free: 68.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.1573, allocations: 7.957 MB / 424.1 MB, free: 67.42 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.16, allocations: 203.8 kB / 424.3 MB, free: 67.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005808/0.1658, allocations: 6.309 MB / 430.6 MB, free: 64.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.1698, allocations: 2.835 MB / 433.4 MB, free: 61.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.1717, allocations: 1.618 MB / 435.1 MB, free: 60.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.176, allocations: 7.643 MB / 442.7 MB, free: 55.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0066/0.1826, allocations: 9.019 MB / 451.7 MB, free: 46.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.1866, allocations: 5.764 MB / 457.5 MB, free: 41.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.1893, allocations: 4.058 MB / 461.5 MB, free: 37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007321/0.19, allocations: 1.062 MB / 462.6 MB, free: 35.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.1917, allocations: 1.448 MB / 464 MB, free: 34.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008077/0.1925, allocations: 2.217 MB / 466.3 MB, free: 32.26 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.194, allocations: 2.787 MB / 469.1 MB, free: 29.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.1983, allocations: 6.98 MB / 476 MB, free: 22.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1983, allocations: 0 / 476 MB, free: 22.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1983, allocations: 7.938 kB / 476 MB, free: 22.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.879e-05/0.1984, allocations: 0 / 476 MB, free: 22.46 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.009463/0.2078, allocations: 8.889 MB / 484.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2079, allocations: 12.03 kB / 484.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.2193, allocations: 4.305 MB / 489.2 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005876/0.2252, allocations: 4.183 MB / 493.4 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003068/0.2255, allocations: 481.1 kB / 493.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009962/0.2265, allocations: 0.6317 MB / 494.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006781/0.2333, allocations: 5.175 MB / 499.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-05/0.2334, allocations: 15.88 kB / 499.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.2338, allocations: 264 kB / 500 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002664/0.2341, allocations: 417.7 kB / 0.4887 GB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.2377, allocations: 2.607 MB / 0.4912 GB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.2622, allocations: 27.04 MB / 0.5176 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.2677, allocations: 4.852 MB / 0.5224 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009781/0.2687, allocations: 0.9013 MB / 0.5232 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.2688, allocations: 118.2 kB / 0.5233 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.2689, allocations: 63.72 kB / 0.5234 GB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.238e-06/0.2689, allocations: 0 / 0.5234 GB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.008461/0.2773, allocations: 5.232 MB / 0.5285 GB, free: 4.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.2774, allocations: 85.78 kB / 0.5286 GB, free: 4.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.2796, allocations: 2.521 MB / 0.5311 GB, free: 2.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.2797, allocations: 73.7 kB / 0.5311 GB, free: 2.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.2811, allocations: 3.149 MB / 0.5342 GB, free: 14.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.2817, allocations: 1.112 MB / 0.5353 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009358/0.2826, allocations: 0.9929 MB / 0.5363 GB, free: 12.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2828, allocations: 484.5 kB / 0.5367 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006904/0.2834, allocations: 0.5281 MB / 0.5372 GB, free: 11.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.2855, allocations: 3.072 MB / 0.5402 GB, free: 7.605 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.2889, allocations: 4 MB / 0.5441 GB, free: 2.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/0.2889, allocations: 16 kB / 0.5442 GB, free: 2.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.1834/0.4723, allocations: 3.686 MB / 0.5478 GB, free: 93.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.4724, allocations: 28.34 kB / 0.5478 GB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-05/0.4724, allocations: 55.47 kB / 0.5478 GB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.4738, allocations: 0.5963 MB / 0.5484 GB, free: 93.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.476, allocations: 1 MB / 0.5494 GB, free: 93.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.4799, allocations: 4.194 MB / 0.5535 GB, free: 91.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.4817, allocations: 170.1 kB / 0.5537 GB, free: 91.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/0.4819, allocations: 200.5 kB / 0.5538 GB, free: 91.42 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.001318/0.4833, allocations: 459.4 kB / 0.5543 GB, free: 91.26 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/0.4837, allocations: 412.6 kB / 0.5547 GB, free: 91.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.4867, allocations: 2.494 MB / 0.5571 GB, free: 91.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.4867, allocations: 34.47 kB / 0.5572 GB, free: 91.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4867, allocations: 10.03 kB / 0.5572 GB, free: 91.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.4867, allocations: 15.83 kB / 0.5572 GB, free: 91.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008059/0.4948, allocations: 6.135 MB / 0.5632 GB, free: 90.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4948, allocations: 3.969 kB / 0.5632 GB, free: 90.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/0.4957, allocations: 490.9 kB / 0.5636 GB, free: 90.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009051/0.4966, allocations: 0.508 MB / 0.5641 GB, free: 90.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.4968, allocations: 73.58 kB / 0.5642 GB, free: 90.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.4996, allocations: 3.822 MB / 0.5679 GB, free: 88.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.4996, allocations: 10.44 kB / 0.5679 GB, free: 88.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.5027, allocations: 2.988 MB / 0.5709 GB, free: 87.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/0.5033, allocations: 0.5455 MB / 0.5714 GB, free: 87.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.5035, allocations: 58.59 kB / 0.5715 GB, free: 87.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.5042, allocations: 71.16 kB / 0.5715 GB, free: 87.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.5044, allocations: 230 kB / 0.5717 GB, free: 87.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/0.5045, allocations: 67.92 kB / 0.5718 GB, free: 87.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009222/0.5054, allocations: 1.138 MB / 0.5729 GB, free: 87.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5054, allocations: 4.031 kB / 0.5729 GB, free: 87.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002476/0.5079, allocations: 1.165 MB / 0.5741 GB, free: 87.05 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.0003176/0.5082, allocations: 234 kB / 0.5743 GB, free: 86.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.5108, allocations: 2.725 MB / 0.5769 GB, free: 86.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5108, allocations: 0.5 kB / 0.5769 GB, free: 86.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.512, allocations: 1.361 MB / 0.5783 GB, free: 86.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.5133, allocations: 0.6034 MB / 0.5789 GB, free: 86.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008222/0.5215, allocations: 9.329 MB / 0.588 GB, free: 79.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009718/0.5225, allocations: 1.639 MB / 0.5896 GB, free: 78.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001073/0.5236, allocations: 0.5347 MB / 0.5901 GB, free: 77.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.5246, allocations: 0.7353 MB / 0.5908 GB, free: 77.23 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5246, allocations: 0 / 0.5908 GB, free: 77.23 MB / 394.7 MB Notification: Performance of Templates: time 0.05375/0.5784, allocations: 46.59 MB / 0.6363 GB, free: 31.97 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.322978367097676]