Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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.0008401/0.0008401, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8485/0.8485, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.0009446/0.0009446, allocations: 164.6 kB / 256.7 MB, free: 13.34 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.02192/0.02192, allocations: 6.665 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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 446.7 MB, free: 37.08 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.194e-05, allocations: 4.812 kB / 446.7 MB, free: 37.08 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01213/0.01215, allocations: 22.01 MB / 468.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.02322, allocations: 7.78 MB / 476.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.02675, allocations: 207 kB / 476.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005757/0.03251, allocations: 6.025 MB / 482.7 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.03825, allocations: 2.828 MB / 485.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.04092, allocations: 1.624 MB / 487.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006846/0.04776, allocations: 7.631 MB / 494.8 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009179/0.05694, allocations: 9.003 MB / 0.492 GB, free: 11.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005871/0.06281, allocations: 5.655 MB / 0.4975 GB, free: 5.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004245/0.06706, allocations: 3.617 MB / 0.5011 GB, free: 2.371 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.06855, allocations: 1.07 MB / 0.5021 GB, free: 1.301 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.07061, allocations: 1.456 MB / 0.5035 GB, free: 15.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.07178, allocations: 2.186 MB / 0.5057 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002779/0.07456, allocations: 2.764 MB / 0.5084 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.08598, allocations: 14.71 MB / 0.5227 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.08598, allocations: 0 / 0.5227 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08599, allocations: 0 / 0.5227 GB, free: 12.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002365/0.08622, 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.01354/0.09976, allocations: 8.814 MB / 0.5313 GB, free: 3.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.09981, allocations: 8.031 kB / 0.5313 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.1119, allocations: 4.417 MB / 0.5357 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/0.1181, allocations: 4.636 MB / 0.5402 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.1183, allocations: 485.1 kB / 0.5406 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007371/0.1191, allocations: 0.621 MB / 0.5413 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.1308, allocations: 10.49 MB / 0.5515 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.833e-05/0.1309, allocations: 11.89 kB / 0.5515 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004765/0.1314, allocations: 268 kB / 0.5518 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/0.1316, allocations: 417.7 kB / 0.5522 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.1425, allocations: 9.853 MB / 0.5618 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1657/0.3082, allocations: 29.67 MB / 0.5908 GB, free: 95.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006504/0.3147, allocations: 6.703 MB / 0.5973 GB, free: 90.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.3163, allocations: 2.116 MB / 0.5994 GB, free: 87.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.3164, allocations: 74.27 kB / 0.5994 GB, free: 87.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3165, allocations: 64.08 kB / 0.5995 GB, free: 87.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 4.809e-06/0.3165, allocations: 0 / 0.5995 GB, free: 87.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01075/0.3272, allocations: 10.79 MB / 0.61 GB, free: 77.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.3272, allocations: 81.78 kB / 0.6101 GB, free: 77.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.3293, allocations: 2.892 MB / 0.6129 GB, free: 74.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.3294, allocations: 77.7 kB / 0.613 GB, free: 74.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006423/0.33, allocations: 2.964 MB / 0.6159 GB, free: 71.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.3303, allocations: 1.071 MB / 0.617 GB, free: 70.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007093/0.331, allocations: 0.9138 MB / 0.6178 GB, free: 69.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.007e-05/0.331, allocations: 301.1 kB / 0.6181 GB, free: 69.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.3326, allocations: 2.031 MB / 0.6201 GB, free: 67.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.3346, allocations: 3.753 MB / 0.6238 GB, free: 62.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/0.3383, allocations: 6.064 MB / 0.6297 GB, free: 55.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.3383, allocations: 16 kB / 0.6297 GB, free: 55.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.005471/0.3438, allocations: 6.62 MB / 0.6362 GB, free: 49.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.3438, allocations: 28 kB / 0.6362 GB, free: 49.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.3438, allocations: 56 kB / 0.6363 GB, free: 49.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009137/0.3447, allocations: 0.6788 MB / 0.6369 GB, free: 48.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.3465, allocations: 1.072 MB / 0.638 GB, free: 47.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/0.3508, allocations: 5.994 MB / 0.6438 GB, free: 41.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.3523, allocations: 273.4 kB / 0.6441 GB, free: 41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.3525, allocations: 232 kB / 0.6443 GB, free: 40.77 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.002066/0.3546, allocations: 2.316 MB / 0.6466 GB, free: 38.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.3548, allocations: 314 kB / 0.6469 GB, free: 38.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.3588, allocations: 4.611 MB / 0.6514 GB, free: 33.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3588, allocations: 35.94 kB / 0.6514 GB, free: 33.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3588, allocations: 8 kB / 0.6514 GB, free: 33.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.3589, allocations: 15.94 kB / 0.6514 GB, free: 33.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008237/0.3671, allocations: 9.542 MB / 0.6608 GB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3671, allocations: 4.062 kB / 0.6608 GB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009883/0.3681, allocations: 0.5383 MB / 0.6613 GB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/0.3689, allocations: 0.5576 MB / 0.6618 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.369, allocations: 75.97 kB / 0.6619 GB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.3726, allocations: 5.225 MB / 0.667 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3726, allocations: 11.94 kB / 0.667 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00509/0.3777, allocations: 6.554 MB / 0.6734 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008082/0.3785, allocations: 0.6383 MB / 0.674 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.3787, allocations: 67.94 kB / 0.6741 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/0.3794, allocations: 143.8 kB / 0.6742 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.3796, allocations: 221.9 kB / 0.6744 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-05/0.3797, allocations: 91.98 kB / 0.6745 GB, free: 9.418 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001417/0.3811, allocations: 1.85 MB / 0.6763 GB, free: 7.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3811, allocations: 0 / 0.6763 GB, free: 7.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002283/0.3834, allocations: 1.172 MB / 0.6775 GB, free: 6.387 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.0002979/0.3837, allocations: 226.5 kB / 0.6777 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.3878, allocations: 4.828 MB / 0.6824 GB, free: 1.305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3878, allocations: 4.125 kB / 0.6824 GB, free: 1.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.3897, allocations: 2.116 MB / 0.6845 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.3912, allocations: 0.5657 MB / 0.685 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.4027, allocations: 10.98 MB / 0.6958 GB, free: 3.523 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/0.4054, allocations: 3.537 MB / 0.6992 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/0.4062, allocations: 320.4 kB / 0.6995 GB, free: 15.63 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4062, allocations: 0 / 0.6995 GB, free: 15.63 MB / 458.7 MB Notification: Performance of Templates: time 0.1946/0.6008, allocations: 109.1 MB / 0.8061 GB, free: 112.2 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.88594919256866] Failed to read output from testmodel.py, exit status != 0: 0.6058687157928944 0.61188183 0.524461623 Calling exit ...