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.001322/0.001322, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9511/0.9511, allocations: 177.1 MB / 200 MB, free: 5.852 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.001255/0.001255, allocations: 156.7 kB / 256.6 MB, free: 13.15 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.02364/0.02364, allocations: 6.661 MB / 319.8 MB, free: 26.5 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.864e-06/1.864e-06, allocations: 0 / 391.7 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.799e-05, allocations: 2.312 kB / 391.7 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.1348/0.1348, allocations: 24.75 MB / 416.4 MB, free: 68.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.1498, allocations: 8.01 MB / 424.5 MB, free: 67.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005711/0.1555, allocations: 204.2 kB / 424.7 MB, free: 67.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.1655, allocations: 6.455 MB / 431.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007676/0.1732, allocations: 2.86 MB / 434 MB, free: 61.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.1764, allocations: 1.641 MB / 435.6 MB, free: 60.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007285/0.1837, allocations: 7.639 MB / 443.2 MB, free: 55.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.1942, allocations: 9.025 MB / 452.3 MB, free: 46.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007694/0.2019, allocations: 5.702 MB / 458 MB, free: 40.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.2074, allocations: 3.984 MB / 462 MB, free: 36.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.2096, allocations: 1.07 MB / 463 MB, free: 35.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.2132, allocations: 1.456 MB / 464.5 MB, free: 34.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.2148, allocations: 2.225 MB / 466.7 MB, free: 31.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004962/0.2198, allocations: 2.795 MB / 469.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007359/0.2271, allocations: 7.015 MB / 476.5 MB, free: 22.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2271, allocations: 0 / 476.5 MB, free: 22.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2271, allocations: 0 / 476.5 MB, free: 22.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000186/0.2273, allocations: 0 / 476.5 MB, free: 22.03 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.01297/0.2403, allocations: 9.397 MB / 485.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2403, allocations: 11.97 kB / 485.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/0.2536, allocations: 5.483 MB / 491.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/0.2597, allocations: 4.445 MB / 495.9 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.26, allocations: 489.1 kB / 496.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009315/0.2609, allocations: 0.6288 MB / 497 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.2729, allocations: 5.653 MB / 0.4908 GB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.273, allocations: 15.94 kB / 0.4909 GB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/0.2735, allocations: 260 kB / 0.4911 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003177/0.2738, allocations: 421.6 kB / 0.4915 GB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007253/0.2811, allocations: 3.336 MB / 0.4948 GB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0344/0.3155, allocations: 27.45 MB / 0.5216 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/0.3233, allocations: 6.156 MB / 0.5276 GB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.3249, allocations: 1.03 MB / 0.5286 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/0.3251, allocations: 98.25 kB / 0.5287 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.3252, allocations: 67.72 kB / 0.5287 GB, free: 4.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 5.991e-06/0.3252, allocations: 0 / 0.5287 GB, free: 4.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.01221/0.3374, allocations: 6.411 MB / 0.535 GB, free: 14.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3374, allocations: 85.78 kB / 0.5351 GB, free: 14.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.3407, allocations: 2.562 MB / 0.5376 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.3409, allocations: 77.7 kB / 0.5377 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.3424, allocations: 3.118 MB / 0.5407 GB, free: 8.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007841/0.3432, allocations: 1.1 MB / 0.5418 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.3442, allocations: 0.9894 MB / 0.5427 GB, free: 6.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3443, allocations: 484.7 kB / 0.5432 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3455, allocations: 0.6844 MB / 0.5439 GB, free: 5.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.348, allocations: 3.22 MB / 0.547 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1529/0.5008, allocations: 4.247 MB / 0.5512 GB, free: 89.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-05/0.5009, allocations: 16 kB / 0.5512 GB, free: 89.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006573/0.5075, allocations: 4.083 MB / 0.5552 GB, free: 89.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.5075, allocations: 31.77 kB / 0.5552 GB, free: 89.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.545e-05/0.5076, allocations: 58.94 kB / 0.5553 GB, free: 89.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.5089, allocations: 0.6121 MB / 0.5559 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.511, allocations: 1.071 MB / 0.5569 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.5154, allocations: 4.381 MB / 0.5612 GB, free: 87.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.5172, allocations: 275.4 kB / 0.5614 GB, free: 87.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.5175, allocations: 230.3 kB / 0.5617 GB, free: 87.37 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.001259/0.5187, allocations: 466.5 kB / 0.5621 GB, free: 87.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/0.5193, allocations: 408.8 kB / 0.5625 GB, free: 87.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/0.523, allocations: 2.744 MB / 0.5652 GB, free: 86.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.523, allocations: 32.22 kB / 0.5652 GB, free: 86.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.523, allocations: 6.125 kB / 0.5652 GB, free: 86.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.523, allocations: 14.73 kB / 0.5652 GB, free: 86.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.5331, allocations: 7.695 MB / 0.5727 GB, free: 86.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.5331, allocations: 3.562 kB / 0.5727 GB, free: 86.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.5342, allocations: 0.5388 MB / 0.5733 GB, free: 86.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.5353, allocations: 0.5172 MB / 0.5738 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.5355, allocations: 72.08 kB / 0.5738 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.5389, allocations: 3.98 MB / 0.5777 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5389, allocations: 3.812 kB / 0.5777 GB, free: 84.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.5431, allocations: 3.367 MB / 0.581 GB, free: 83.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009289/0.544, allocations: 0.59 MB / 0.5816 GB, free: 83.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.5443, allocations: 62.64 kB / 0.5817 GB, free: 83.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.5451, allocations: 139 kB / 0.5818 GB, free: 83.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.5453, allocations: 222.4 kB / 0.582 GB, free: 83.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.5454, allocations: 94.31 kB / 0.5821 GB, free: 83.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001407/0.5468, allocations: 1.248 MB / 0.5833 GB, free: 82.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5468, allocations: 0 / 0.5833 GB, free: 82.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003026/0.5499, allocations: 1.178 MB / 0.5845 GB, free: 81.94 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.000431/0.5503, allocations: 229.1 kB / 0.5847 GB, free: 81.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004098/0.5544, allocations: 3.008 MB / 0.5876 GB, free: 79.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5544, allocations: 4 kB / 0.5876 GB, free: 79.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.556, allocations: 1.482 MB / 0.5891 GB, free: 78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5577, allocations: 0.6098 MB / 0.5897 GB, free: 77.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.5686, allocations: 9.431 MB / 0.5989 GB, free: 68.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.5697, allocations: 1.636 MB / 0.6005 GB, free: 67.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001913/0.5716, allocations: 1.105 MB / 0.6016 GB, free: 66.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.5721, allocations: 284.2 kB / 0.6018 GB, free: 66.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5721, allocations: 0 / 0.6018 GB, free: 66.51 MB / 394.7 MB Notification: Performance of Templates: time 0.04745/0.6196, allocations: 43.08 MB / 0.6439 GB, free: 24.07 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.528639769181609]