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.0007873/0.0007873, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.8386/0.8386, allocations: 177.1 MB / 200.2 MB, free: 5.926 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.0009827/0.0009827, allocations: 168.1 kB / 256.7 MB, free: 13.33 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.02141/0.02141, allocations: 6.661 MB / 319.8 MB, free: 26.76 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.924e-06/1.924e-06, allocations: 0 / 446.7 MB, free: 37.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.053e-05, allocations: 5.094 kB / 446.7 MB, free: 37.07 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01454/0.01456, allocations: 22.01 MB / 468.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.0247, allocations: 7.776 MB / 476.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002535/0.02724, allocations: 203 kB / 476.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005266/0.03251, allocations: 6.02 MB / 482.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.03673, allocations: 2.843 MB / 485.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.03882, allocations: 1.604 MB / 487.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005549/0.04437, allocations: 7.648 MB / 494.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008017/0.05239, allocations: 9.015 MB / 0.492 GB, free: 11.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004608/0.057, allocations: 5.643 MB / 0.4975 GB, free: 5.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/0.05996, allocations: 3.621 MB / 0.5011 GB, free: 2.367 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007552/0.06072, allocations: 1.07 MB / 0.5021 GB, free: 1.297 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.06221, allocations: 1.452 MB / 0.5035 GB, free: 15.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00131/0.06352, allocations: 2.193 MB / 0.5057 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.06538, allocations: 2.756 MB / 0.5084 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009232/0.07461, allocations: 14.71 MB / 0.5227 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.07461, allocations: 0 / 0.5227 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.07461, allocations: 0 / 0.5227 GB, free: 12.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001714/0.07479, allocations: 4 kB / 0.5227 GB, free: 12.13 MB / 394.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.01272/0.08751, allocations: 8.818 MB / 0.5313 GB, free: 3.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.08755, allocations: 8.031 kB / 0.5313 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.09957, allocations: 4.421 MB / 0.5357 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/0.1052, allocations: 4.629 MB / 0.5402 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/0.1057, allocations: 485.1 kB / 0.5406 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007443/0.1065, allocations: 0.6327 MB / 0.5413 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.1184, allocations: 10.47 MB / 0.5515 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.1185, allocations: 19.88 kB / 0.5515 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004895/0.119, allocations: 268 kB / 0.5518 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002806/0.1193, allocations: 421.7 kB / 0.5522 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.1306, allocations: 9.849 MB / 0.5618 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1745/0.3051, allocations: 29.67 MB / 0.5908 GB, free: 95.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006585/0.3117, allocations: 6.701 MB / 0.5973 GB, free: 90.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.3134, allocations: 2.108 MB / 0.5994 GB, free: 88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.3135, allocations: 78.25 kB / 0.5994 GB, free: 87.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3136, allocations: 65.66 kB / 0.5995 GB, free: 87.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.019e-06/0.3136, allocations: 3.984 kB / 0.5995 GB, free: 87.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01086/0.3244, allocations: 10.79 MB / 0.61 GB, free: 77.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3245, allocations: 81.78 kB / 0.6101 GB, free: 77.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.3265, allocations: 2.894 MB / 0.6129 GB, free: 74.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.3266, allocations: 81.7 kB / 0.613 GB, free: 74.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006749/0.3273, allocations: 2.955 MB / 0.6159 GB, free: 71.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.3276, allocations: 1.075 MB / 0.617 GB, free: 70.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007142/0.3283, allocations: 0.9099 MB / 0.6178 GB, free: 69.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.207e-05/0.3283, allocations: 301.1 kB / 0.6181 GB, free: 69.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.33, allocations: 2.027 MB / 0.6201 GB, free: 67.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.332, allocations: 3.761 MB / 0.6238 GB, free: 62.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003879/0.3359, allocations: 6.06 MB / 0.6297 GB, free: 55.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.3359, allocations: 16 kB / 0.6297 GB, free: 55.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005684/0.3416, allocations: 6.628 MB / 0.6362 GB, free: 49.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.3416, allocations: 31.98 kB / 0.6362 GB, free: 49.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.3416, allocations: 56 kB / 0.6363 GB, free: 49.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009398/0.3426, allocations: 0.6626 MB / 0.6369 GB, free: 48.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.3443, allocations: 1.08 MB / 0.638 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.3488, allocations: 5.99 MB / 0.6438 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.3504, allocations: 271.7 kB / 0.6441 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.3506, allocations: 239.9 kB / 0.6443 GB, free: 40.8 MB / 426.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.002242/0.3529, allocations: 2.312 MB / 0.6466 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.3532, allocations: 318 kB / 0.6469 GB, free: 38.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.3572, allocations: 4.608 MB / 0.6514 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3572, allocations: 31.94 kB / 0.6514 GB, free: 33.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3572, allocations: 11.98 kB / 0.6514 GB, free: 33.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.3573, allocations: 11.95 kB / 0.6514 GB, free: 33.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008752/0.366, allocations: 9.545 MB / 0.6607 GB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.366, allocations: 4 kB / 0.6608 GB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.367, allocations: 0.535 MB / 0.6613 GB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007989/0.3678, allocations: 0.5654 MB / 0.6618 GB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.3679, allocations: 71.98 kB / 0.6619 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.3716, allocations: 5.229 MB / 0.667 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3716, allocations: 4 kB / 0.667 GB, free: 17.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.3769, allocations: 6.558 MB / 0.6734 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008814/0.3777, allocations: 0.6383 MB / 0.674 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.378, allocations: 63.92 kB / 0.6741 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007689/0.3787, allocations: 143.9 kB / 0.6742 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.379, allocations: 217.8 kB / 0.6744 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.3791, allocations: 95.91 kB / 0.6745 GB, free: 9.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001474/0.3805, allocations: 1.847 MB / 0.6763 GB, free: 7.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3805, allocations: 3.938 kB / 0.6763 GB, free: 7.598 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00237/0.3829, allocations: 1.176 MB / 0.6775 GB, free: 6.422 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.0003186/0.3832, allocations: 226.5 kB / 0.6777 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004141/0.3874, allocations: 4.831 MB / 0.6824 GB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3874, allocations: 1 kB / 0.6824 GB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.3893, allocations: 2.114 MB / 0.6845 GB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.3908, allocations: 0.5717 MB / 0.685 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.4027, allocations: 10.98 MB / 0.6958 GB, free: 3.559 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.4052, allocations: 3.537 MB / 0.6992 GB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008612/0.406, allocations: 328.4 kB / 0.6995 GB, free: 15.66 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/0.406, allocations: 0 / 0.6995 GB, free: 15.66 MB / 458.7 MB Notification: Performance of Templates: time 0.1982/0.6042, allocations: 109.1 MB / 0.8061 GB, free: 112.6 MB / 490.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.868037638254464] Failed to read output from testmodel.py, exit status != 0: 0.6097024632617831 0.615031141 0.539091516 Calling exit ...