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.001816/0.001816, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.44/1.44, allocations: 177.2 MB / 200.1 MB, free: 8.324 MB / 190.1 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.001511/0.001511, allocations: 165 kB / 256.6 MB, free: 4.273 MB / 238.1 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.03948/0.03948, allocations: 6.657 MB / 319.6 MB, free: 5.352 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 87.86 kB / 446.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1045, allocations: 55.58 MB / 0.4903 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.2437/0.3482, allocations: 21.97 MB / 0.5117 GB, free: 40.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3634, allocations: 7.762 MB / 0.5193 GB, free: 39.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005022/0.3684, allocations: 208.4 kB / 0.5195 GB, free: 39.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01332/0.3817, allocations: 6.01 MB / 0.5254 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008728/0.3904, allocations: 2.771 MB / 0.5281 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00466/0.3951, allocations: 1.602 MB / 0.5297 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008565/0.4037, allocations: 7.405 MB / 0.5369 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01151/0.4152, allocations: 8.984 MB / 0.5457 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004742/0.4199, allocations: 3.848 MB / 0.5494 GB, free: 24.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006172/0.4261, allocations: 4.037 MB / 0.5534 GB, free: 22.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002399/0.4285, allocations: 1.069 MB / 0.5544 GB, free: 22.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.4327, allocations: 1.439 MB / 0.5558 GB, free: 22.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.4349, allocations: 2.153 MB / 0.5579 GB, free: 20.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006648/0.4416, allocations: 3.203 MB / 0.561 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01952/0.4611, allocations: 14.56 MB / 0.5753 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.4611, allocations: 2.094 kB / 0.5753 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4611, allocations: 0 / 0.5753 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004878/0.4616, allocations: 0 / 0.5753 GB, free: 12.17 MB / 430.1 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.0317/0.4933, allocations: 8.883 MB / 0.5839 GB, free: 6.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4933, allocations: 16.95 kB / 0.584 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02713/0.5205, allocations: 4.422 MB / 0.5883 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.5317, allocations: 4.62 MB / 0.5928 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.5321, allocations: 489.6 kB / 0.5933 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00293/0.535, allocations: 0.633 MB / 0.5939 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02926/0.5643, allocations: 10.48 MB / 0.6041 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003654/0.5646, allocations: 15.94 kB / 0.6041 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002853/0.5675, allocations: 260 kB / 0.6044 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006398/0.5681, allocations: 425.6 kB / 0.6048 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.5944, allocations: 9.845 MB / 0.6144 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06392/0.6583, allocations: 29.7 MB / 0.6434 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.6743, allocations: 6.699 MB / 0.6499 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004083/0.6783, allocations: 2.114 MB / 0.652 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.6787, allocations: 82.19 kB / 0.6521 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/0.6787, allocations: 64.89 kB / 0.6521 GB, free: 6.523 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.5e-06/0.6787, allocations: 0 / 0.6521 GB, free: 6.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02537/0.7041, allocations: 10.78 MB / 0.6627 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.7042, allocations: 89.72 kB / 0.6628 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/0.709, allocations: 2.888 MB / 0.6656 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004183/0.7094, allocations: 73.7 kB / 0.6656 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002347/0.7118, allocations: 2.977 MB / 0.6686 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/0.7131, allocations: 1.089 MB / 0.6696 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.7147, allocations: 0.9255 MB / 0.6705 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7148, allocations: 305.1 kB / 0.6708 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003504/0.7183, allocations: 2.031 MB / 0.6728 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005382/0.7237, allocations: 3.753 MB / 0.6765 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.734, allocations: 6.058 MB / 0.6824 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.189e-05/0.734, allocations: 12 kB / 0.6824 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01545/0.7495, allocations: 6.624 MB / 0.6889 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.7496, allocations: 28 kB / 0.6889 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.7497, allocations: 56.22 kB / 0.6889 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.7518, allocations: 0.6681 MB / 0.6896 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/0.7567, allocations: 1.072 MB / 0.6906 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.7677, allocations: 5.999 MB / 0.6965 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/0.7723, allocations: 279.6 kB / 0.6968 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/0.7733, allocations: 232 kB / 0.697 GB, free: 6.652 MB / 0.5294 GB 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.005639/0.779, allocations: 2.316 MB / 0.6992 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009978/0.78, allocations: 318 kB / 0.6995 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009772/0.7898, allocations: 4.604 MB / 0.704 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/0.7898, allocations: 35.94 kB / 0.7041 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.7898, allocations: 8 kB / 0.7041 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.003e-05/0.7899, allocations: 19.88 kB / 0.7041 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/0.8132, allocations: 9.523 MB / 0.7134 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/0.8132, allocations: 11.94 kB / 0.7134 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/0.8159, allocations: 0.5305 MB / 0.7139 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.8177, allocations: 0.5713 MB / 0.7145 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005375/0.8183, allocations: 67.98 kB / 0.7146 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.247/1.065, allocations: 5.227 MB / 0.7197 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.065, allocations: 9.656 kB / 0.7197 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/1.077, allocations: 6.575 MB / 0.7261 GB, free: 156.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.079, allocations: 0.6328 MB / 0.7267 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006888/1.079, allocations: 61.17 kB / 0.7268 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/1.081, allocations: 144.8 kB / 0.7269 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/1.082, allocations: 222.8 kB / 0.7271 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.082, allocations: 91.19 kB / 0.7272 GB, free: 156.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00292/1.085, allocations: 1.841 MB / 0.729 GB, free: 155.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.085, allocations: 0.7188 kB / 0.729 GB, free: 155.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005079/1.09, allocations: 1.173 MB / 0.7301 GB, free: 155.7 MB / 0.545 GB 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.0007113/1.091, allocations: 228.2 kB / 0.7304 GB, free: 155.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008066/1.099, allocations: 4.832 MB / 0.7351 GB, free: 153.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.099, allocations: 3.281 kB / 0.7351 GB, free: 153.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003427/1.102, allocations: 2.119 MB / 0.7372 GB, free: 152.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.106, allocations: 0.5756 MB / 0.7377 GB, free: 152.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.125, allocations: 11.18 MB / 0.7486 GB, free: 147.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004275/1.129, allocations: 3.652 MB / 0.7522 GB, free: 146.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003527/1.133, allocations: 1.309 MB / 0.7535 GB, free: 146.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009542/1.134, allocations: 278 kB / 0.7537 GB, free: 146.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/1.134, allocations: 0 / 0.7537 GB, free: 146.3 MB / 0.545 GB Notification: Performance of Templates: time 0.07054/1.204, allocations: 43.16 MB / 0.7959 GB, free: 124.1 MB / 0.545 GB " [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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.211672235047445] Failed to read output from testmodel.py, exit status != 0: 1.2137378170154989 1.222119666 0.758529484 Calling exit ...