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.00141/0.00141, allocations: 88.72 kB / 19.44 MB, free: 352 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.496/1.496, allocations: 177.1 MB / 199.7 MB, free: 4.797 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.001831/0.001831, allocations: 168.2 kB / 256.3 MB, free: 332 kB / 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.04145/0.04145, allocations: 6.661 MB / 319.4 MB, free: 1.359 MB / 298.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 2.735e-06/2.735e-06, allocations: 4 kB / 391 MB, free: 58.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.759e-05, allocations: 3.094 kB / 391 MB, free: 58.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.01978/0.01981, allocations: 22.01 MB / 413 MB, free: 36.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.03768, allocations: 7.797 MB / 420.8 MB, free: 28.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006537/0.04421, allocations: 203 kB / 421 MB, free: 28.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01333/0.05755, allocations: 6.019 MB / 427 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00927/0.06682, allocations: 2.828 MB / 429.8 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.07227, allocations: 1.616 MB / 431.4 MB, free: 17.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.08231, allocations: 7.629 MB / 439.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01557/0.09788, allocations: 9.015 MB / 448.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01529/0.1132, allocations: 5.647 MB / 453.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00921/0.1224, allocations: 3.625 MB / 457.3 MB, free: 7.879 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00448/0.1269, allocations: 1.07 MB / 458.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00672/0.1336, allocations: 1.452 MB / 459.9 MB, free: 5.355 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005238/0.1388, allocations: 2.182 MB / 462.1 MB, free: 3.168 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009173/0.148, allocations: 2.764 MB / 464.8 MB, free: 408 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2165/0.3645, allocations: 14.7 MB / 479.5 MB, free: 34.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3645, allocations: 0 / 479.5 MB, free: 34.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3645, allocations: 4.625 kB / 479.5 MB, free: 34.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000619/0.3651, allocations: 0 / 479.5 MB, free: 34.98 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.03275/0.3979, allocations: 8.817 MB / 488.3 MB, free: 31.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.398, allocations: 12.3 kB / 488.4 MB, free: 31.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02963/0.4276, allocations: 5.491 MB / 493.8 MB, free: 29.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.4391, allocations: 4.816 MB / 498.7 MB, free: 26.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006724/0.4397, allocations: 484.6 kB / 499.1 MB, free: 26.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003782/0.4435, allocations: 0.6353 MB / 499.8 MB, free: 26.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/0.4761, allocations: 10.48 MB / 0.4983 GB, free: 18.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003134/0.4764, allocations: 17.5 kB / 0.4983 GB, free: 18.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003856/0.4802, allocations: 261.1 kB / 0.4986 GB, free: 18.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000438/0.4807, allocations: 417.7 kB / 0.499 GB, free: 17.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/0.5039, allocations: 9.853 MB / 0.5086 GB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07279/0.5767, allocations: 30.44 MB / 0.5383 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/0.5934, allocations: 6.719 MB / 0.5449 GB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004734/0.5981, allocations: 2.111 MB / 0.5469 GB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/0.5985, allocations: 98.27 kB / 0.547 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.982e-05/0.5986, allocations: 72.81 kB / 0.5471 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=295): time 9.108e-06/0.5986, allocations: 7.984 kB / 0.5471 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of matching and sorting (n=301): time 0.02946/0.6281, allocations: 10.88 MB / 0.5577 GB, free: 5.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6282, allocations: 89.77 kB / 0.5578 GB, free: 5.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006852/0.6351, allocations: 2.88 MB / 0.5606 GB, free: 2.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007561/0.6358, allocations: 73.7 kB / 0.5607 GB, free: 2.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003842/0.6397, allocations: 2.974 MB / 0.5636 GB, free: 15.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001952/0.6416, allocations: 1.073 MB / 0.5646 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002548/0.6442, allocations: 0.9099 MB / 0.5655 GB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.6443, allocations: 308.9 kB / 0.5658 GB, free: 13.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/0.6487, allocations: 2.027 MB / 0.5678 GB, free: 11.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006993/0.6557, allocations: 3.757 MB / 0.5715 GB, free: 7.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.6672, allocations: 6.06 MB / 0.5774 GB, free: 456 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.251e-05/0.6673, allocations: 16 kB / 0.5774 GB, free: 440 kB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0184/0.6857, allocations: 6.842 MB / 0.5841 GB, free: 9.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/0.6858, allocations: 28 kB / 0.5841 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/0.6859, allocations: 56 kB / 0.5842 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/0.6888, allocations: 0.7687 MB / 0.5849 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/0.6937, allocations: 1.077 MB / 0.586 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.705, allocations: 6.024 MB / 0.5919 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/0.7095, allocations: 279.6 kB / 0.5921 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.7107, allocations: 235.9 kB / 0.5923 GB, free: 1.488 MB / 410.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.005995/0.7167, allocations: 2.315 MB / 0.5946 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/0.718, allocations: 420.3 kB / 0.595 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.7295, allocations: 4.589 MB / 0.5995 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/0.7296, allocations: 31.19 kB / 0.5995 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/0.7296, allocations: 8 kB / 0.5995 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.317e-05/0.7297, allocations: 15.94 kB / 0.5995 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/0.7572, allocations: 9.555 MB / 0.6089 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.7572, allocations: 4 kB / 0.6089 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/0.7596, allocations: 0.5354 MB / 0.6094 GB, free: 104 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1658/0.9254, allocations: 0.6479 MB / 0.61 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007446/0.9262, allocations: 72.33 kB / 0.6101 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008129/0.9343, allocations: 5.276 MB / 0.6153 GB, free: 145.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/0.9343, allocations: 3.719 kB / 0.6153 GB, free: 145.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.946, allocations: 6.657 MB / 0.6218 GB, free: 144.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/0.9482, allocations: 0.642 MB / 0.6224 GB, free: 144 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008816/0.9491, allocations: 62.75 kB / 0.6224 GB, free: 144 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.9511, allocations: 144.9 kB / 0.6226 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005781/0.9517, allocations: 222.2 kB / 0.6228 GB, free: 143.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/0.9519, allocations: 90.58 kB / 0.6229 GB, free: 143.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003403/0.9553, allocations: 1.843 MB / 0.6247 GB, free: 143.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.9553, allocations: 0 / 0.6247 GB, free: 143.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005801/0.9611, allocations: 1.175 MB / 0.6258 GB, free: 143 MB / 426.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.0008575/0.962, allocations: 238.6 kB / 0.6261 GB, free: 142.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00816/0.9701, allocations: 4.836 MB / 0.6308 GB, free: 141.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.9702, allocations: 0 / 0.6308 GB, free: 141.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003679/0.9738, allocations: 2.118 MB / 0.6329 GB, free: 140.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/0.9775, allocations: 0.6071 MB / 0.6334 GB, free: 140 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.9979, allocations: 11.26 MB / 0.6444 GB, free: 130.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006426/1.004, allocations: 3.651 MB / 0.648 GB, free: 127.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004228/1.009, allocations: 1.299 MB / 0.6493 GB, free: 126.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.01, allocations: 279.8 kB / 0.6495 GB, free: 126.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/1.01, allocations: 4 kB / 0.6495 GB, free: 126.6 MB / 426.7 MB Notification: Performance of Templates: time 0.06877/1.079, allocations: 43.09 MB / 0.6916 GB, free: 85.32 MB / 426.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.608403409947641]