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.001487/0.001487, allocations: 73.09 kB / 20.66 MB, free: 3.844 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 0.9225/0.9225, allocations: 177.2 MB / 201 MB, free: 5.699 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.001161/0.001161, allocations: 164.6 kB / 257.7 MB, free: 12.97 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.02423/0.02423, allocations: 6.662 MB / 320.9 MB, free: 26.33 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.853e-06/1.853e-06, allocations: 0 / 392.9 MB, free: 2.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.878e-05, allocations: 10.11 kB / 392.9 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.1496/0.1496, allocations: 23.99 MB / 416.9 MB, free: 69.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1636, allocations: 7.96 MB / 424.9 MB, free: 67.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.1667, allocations: 204 kB / 425.1 MB, free: 67.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006999/0.1737, allocations: 6.311 MB / 431.4 MB, free: 64.13 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005778/0.1795, allocations: 2.834 MB / 434.2 MB, free: 61.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.1819, allocations: 1.62 MB / 435.8 MB, free: 60.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005253/0.1872, allocations: 7.639 MB / 443.5 MB, free: 55.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00726/0.1944, allocations: 9.019 MB / 452.5 MB, free: 46.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.1985, allocations: 5.768 MB / 458.3 MB, free: 41.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002904/0.2014, allocations: 4.051 MB / 462.3 MB, free: 36.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007246/0.2022, allocations: 1.07 MB / 463.4 MB, free: 35.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.2037, allocations: 1.444 MB / 464.8 MB, free: 34.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008659/0.2046, allocations: 2.221 MB / 467.1 MB, free: 32.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.2063, allocations: 2.784 MB / 469.8 MB, free: 29.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004553/0.2108, allocations: 6.988 MB / 476.8 MB, free: 22.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2108, allocations: 0 / 476.8 MB, free: 22.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2108, allocations: 0 / 476.8 MB, free: 22.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.935e-05/0.2109, allocations: 0 / 476.8 MB, free: 22.43 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.009556/0.2204, allocations: 8.889 MB / 485.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.2205, allocations: 12.03 kB / 485.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.2319, allocations: 4.302 MB / 490 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.2357, allocations: 4.183 MB / 494.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.2358, allocations: 485.1 kB / 494.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005969/0.2364, allocations: 0.6327 MB / 495.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.2422, allocations: 5.168 MB / 0.4888 GB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-05/0.2423, allocations: 11.89 kB / 0.4888 GB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000451/0.2427, allocations: 272 kB / 0.489 GB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003034/0.243, allocations: 417.6 kB / 0.4894 GB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.2468, allocations: 2.614 MB / 0.492 GB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02566/0.2725, allocations: 27 MB / 0.5183 GB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005785/0.2783, allocations: 4.861 MB / 0.5231 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2793, allocations: 0.8974 MB / 0.524 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.2794, allocations: 102.2 kB / 0.5241 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.2795, allocations: 63.72 kB / 0.5241 GB, free: 10.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=295): time 4.127e-06/0.2795, allocations: 7.938 kB / 0.5241 GB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=301): time 0.009122/0.2886, allocations: 5.224 MB / 0.5292 GB, free: 4.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2887, allocations: 81.78 kB / 0.5293 GB, free: 4.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2908, allocations: 2.525 MB / 0.5318 GB, free: 2.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.2909, allocations: 73.7 kB / 0.5318 GB, free: 2.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.2924, allocations: 3.145 MB / 0.5349 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006099/0.293, allocations: 1.108 MB / 0.536 GB, free: 13.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009652/0.294, allocations: 1.001 MB / 0.537 GB, free: 12.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2941, allocations: 480.5 kB / 0.5374 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/0.2948, allocations: 0.5243 MB / 0.5379 GB, free: 11.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.2967, allocations: 3.079 MB / 0.541 GB, free: 7.625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.2998, allocations: 4 MB / 0.5449 GB, free: 2.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/0.2998, allocations: 16 kB / 0.5449 GB, free: 2.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.1257/0.4255, allocations: 3.683 MB / 0.5485 GB, free: 94.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.4255, allocations: 27.78 kB / 0.5485 GB, free: 94.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.553e-05/0.4256, allocations: 59.47 kB / 0.5486 GB, free: 94.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.427, allocations: 0.5918 MB / 0.5491 GB, free: 94.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/0.4294, allocations: 0.9973 MB / 0.5501 GB, free: 94.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.4328, allocations: 4.183 MB / 0.5542 GB, free: 92.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4345, allocations: 174.2 kB / 0.5544 GB, free: 92.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.4347, allocations: 195.9 kB / 0.5545 GB, free: 92.99 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.001104/0.4358, allocations: 459 kB / 0.555 GB, free: 92.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/0.4362, allocations: 412.1 kB / 0.5554 GB, free: 92.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.4393, allocations: 2.491 MB / 0.5578 GB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.4393, allocations: 31.28 kB / 0.5578 GB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.4393, allocations: 13.12 kB / 0.5579 GB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.4393, allocations: 17.77 kB / 0.5579 GB, free: 92.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007466/0.4468, allocations: 6.152 MB / 0.5639 GB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4468, allocations: 3.75 kB / 0.5639 GB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/0.4478, allocations: 487.7 kB / 0.5643 GB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.4488, allocations: 0.5043 MB / 0.5648 GB, free: 91.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.449, allocations: 69.69 kB / 0.5649 GB, free: 91.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.4526, allocations: 3.823 MB / 0.5686 GB, free: 89.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.4526, allocations: 11.31 kB / 0.5686 GB, free: 89.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.4566, allocations: 2.986 MB / 0.5716 GB, free: 88.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/0.4574, allocations: 0.5416 MB / 0.5721 GB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/0.4577, allocations: 60.78 kB / 0.5722 GB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.4586, allocations: 69.36 kB / 0.5722 GB, free: 88.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.4589, allocations: 227.6 kB / 0.5724 GB, free: 88.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.4591, allocations: 71.61 kB / 0.5725 GB, free: 88.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00119/0.4602, allocations: 1.138 MB / 0.5736 GB, free: 88.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4602, allocations: 0.875 kB / 0.5736 GB, free: 88.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003041/0.4633, allocations: 1.174 MB / 0.5748 GB, free: 88.61 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.0003433/0.4636, allocations: 224.4 kB / 0.575 GB, free: 88.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003613/0.4672, allocations: 2.737 MB / 0.5776 GB, free: 88.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4672, allocations: 0 / 0.5776 GB, free: 88.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.4689, allocations: 1.366 MB / 0.579 GB, free: 87.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.4708, allocations: 0.6002 MB / 0.5796 GB, free: 87.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.482, allocations: 9.332 MB / 0.5887 GB, free: 80.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.4832, allocations: 1.635 MB / 0.5903 GB, free: 79.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001522/0.4847, allocations: 0.5367 MB / 0.5908 GB, free: 79.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.486, allocations: 0.7338 MB / 0.5915 GB, free: 78.81 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.486, allocations: 0 / 0.5915 GB, free: 78.81 MB / 394.7 MB Notification: Performance of Templates: time 0.06194/0.548, allocations: 47.46 MB / 0.6379 GB, free: 32.79 MB / 394.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: 4.405185424722731]