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.002693/0.002693, allocations: 81.48 kB / 19.44 MB, free: 348 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.596/1.596, allocations: 177.1 MB / 199.7 MB, free: 5.816 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.002045/0.002045, allocations: 160.5 kB / 256.3 MB, free: 13.18 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.04135/0.04135, allocations: 6.666 MB / 319.4 MB, free: 26.58 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_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.572e-06/1.572e-06, allocations: 0 / 391 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.876e-05, allocations: 6.109 kB / 391 MB, free: 2.914 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1754/0.1754, allocations: 24.55 MB / 415.5 MB, free: 69.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.1917, allocations: 8.006 MB / 423.5 MB, free: 67.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006026/0.1977, allocations: 204.8 kB / 423.7 MB, free: 67.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01517/0.2129, allocations: 6.429 MB / 430.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009368/0.2223, allocations: 2.855 MB / 433 MB, free: 61.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.227, allocations: 1.647 MB / 434.7 MB, free: 60.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008954/0.2359, allocations: 7.635 MB / 442.3 MB, free: 55.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.2482, allocations: 9.02 MB / 451.3 MB, free: 46.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008578/0.2568, allocations: 5.706 MB / 457 MB, free: 41.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006328/0.2631, allocations: 3.972 MB / 461 MB, free: 37.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002776/0.2659, allocations: 1.07 MB / 462.1 MB, free: 36.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.2707, allocations: 1.452 MB / 463.5 MB, free: 34.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.2728, allocations: 2.225 MB / 465.7 MB, free: 32.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004896/0.2776, allocations: 2.795 MB / 468.5 MB, free: 29.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.289, allocations: 14.79 MB / 483.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.289, allocations: 0 / 483.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.289, allocations: 0 / 483.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002854/0.2893, allocations: 0 / 483.3 MB, free: 14.83 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.02342/0.3127, allocations: 10.14 MB / 493.5 MB, free: 4.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3128, allocations: 8.031 kB / 493.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02601/0.3388, allocations: 5.487 MB / 499 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.3515, allocations: 4.487 MB / 0.4916 GB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008497/0.3523, allocations: 489.1 kB / 0.4921 GB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00259/0.3549, allocations: 0.621 MB / 0.4927 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/0.3803, allocations: 10.6 MB / 0.5031 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.3805, allocations: 11.95 kB / 0.5031 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008289/0.3813, allocations: 268 kB / 0.5033 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005149/0.3818, allocations: 417.7 kB / 0.5037 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/0.4023, allocations: 8.732 MB / 0.5123 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.22/0.6223, allocations: 56.74 MB / 0.5677 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.636, allocations: 6.337 MB / 0.5739 GB, free: 99.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.6387, allocations: 1.82 MB / 0.5756 GB, free: 99.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.639, allocations: 95.89 kB / 0.5757 GB, free: 99.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.639, allocations: 70.14 kB / 0.5758 GB, free: 99.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=295): time 4.919e-06/0.639, allocations: 0 / 0.5758 GB, free: 99.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=301): time 0.0175/0.6565, allocations: 9.472 MB / 0.585 GB, free: 95.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.6566, allocations: 81.72 kB / 0.5851 GB, free: 95.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004585/0.6612, allocations: 3.889 MB / 0.5889 GB, free: 93.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004162/0.6616, allocations: 72.45 kB / 0.589 GB, free: 93.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.6632, allocations: 3.32 MB / 0.5922 GB, free: 90.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009641/0.6641, allocations: 1.174 MB / 0.5934 GB, free: 89.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.6656, allocations: 1.194 MB / 0.5945 GB, free: 88.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.478e-05/0.6656, allocations: 476.8 kB / 0.595 GB, free: 88.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/0.6678, allocations: 1.624 MB / 0.5966 GB, free: 87.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/0.6709, allocations: 4.33 MB / 0.6008 GB, free: 81.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005894/0.6768, allocations: 6.504 MB / 0.6072 GB, free: 74.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.086e-05/0.6769, allocations: 20 kB / 0.6072 GB, free: 74.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.00906/0.686, allocations: 6.083 MB / 0.6131 GB, free: 68.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.686, allocations: 32.22 kB / 0.6131 GB, free: 68.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.414e-05/0.6861, allocations: 56 kB / 0.6132 GB, free: 68.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.6882, allocations: 0.7693 MB / 0.614 GB, free: 67.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/0.6917, allocations: 1.076 MB / 0.615 GB, free: 66.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.699, allocations: 6.662 MB / 0.6215 GB, free: 59.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.7025, allocations: 267.7 kB / 0.6218 GB, free: 59.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005559/0.703, allocations: 232 kB / 0.622 GB, free: 58.95 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.002884/0.7059, allocations: 2.138 MB / 0.6241 GB, free: 56.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/0.7067, allocations: 409.9 kB / 0.6245 GB, free: 56.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006315/0.713, allocations: 4.122 MB / 0.6285 GB, free: 52.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.713, allocations: 32 kB / 0.6285 GB, free: 52.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.713, allocations: 4 kB / 0.6285 GB, free: 52.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.7131, allocations: 15.94 kB / 0.6285 GB, free: 52.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/0.7309, allocations: 11.68 MB / 0.6399 GB, free: 40.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.731, allocations: 4 kB / 0.6399 GB, free: 40.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/0.7329, allocations: 0.5359 MB / 0.6405 GB, free: 39.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.7348, allocations: 0.6628 MB / 0.6411 GB, free: 39.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.7351, allocations: 71.97 kB / 0.6412 GB, free: 39.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/0.7414, allocations: 5.89 MB / 0.6469 GB, free: 33.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7414, allocations: 11.98 kB / 0.647 GB, free: 33.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007545/0.7489, allocations: 5.581 MB / 0.6524 GB, free: 27.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.7506, allocations: 0.5953 MB / 0.653 GB, free: 26.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/0.751, allocations: 56 kB / 0.653 GB, free: 26.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.7526, allocations: 143.8 kB / 0.6532 GB, free: 26.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/0.753, allocations: 224.1 kB / 0.6534 GB, free: 26.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.7531, allocations: 87.98 kB / 0.6535 GB, free: 26.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002382/0.7555, allocations: 2.05 MB / 0.6555 GB, free: 24.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7555, allocations: 0 / 0.6555 GB, free: 24.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003803/0.7593, allocations: 1.176 MB / 0.6566 GB, free: 22.95 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.0004311/0.7598, allocations: 222.1 kB / 0.6568 GB, free: 22.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006816/0.7666, allocations: 4.671 MB / 0.6614 GB, free: 18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.7666, allocations: 4 kB / 0.6614 GB, free: 18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.7698, allocations: 2.083 MB / 0.6634 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.7727, allocations: 0.6089 MB / 0.664 GB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.7876, allocations: 10.48 MB / 0.6743 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/0.7905, allocations: 3.369 MB / 0.6776 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002842/0.7933, allocations: 1.109 MB / 0.6786 GB, free: 152 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/0.7941, allocations: 280.4 kB / 0.6789 GB, free: 15.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7941, allocations: 0 / 0.6789 GB, free: 15.88 MB / 410.7 MB Notification: Performance of Templates: time 0.2488/1.043, allocations: 43.02 MB / 0.7209 GB, free: 129 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: 7.26116237603128]