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.001806/0.001806, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.385/1.385, 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.001577/0.001577, allocations: 157.2 kB / 256.6 MB, free: 4.27 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.03876/0.03876, allocations: 6.666 MB / 319.6 MB, free: 5.344 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_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: 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.002652/0.002652, allocations: 83.88 kB / 446.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1033, allocations: 55.57 MB / 0.4903 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2385/0.3418, allocations: 21.98 MB / 0.5117 GB, free: 40.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01452/0.3563, allocations: 7.772 MB / 0.5193 GB, free: 39.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005453/0.3618, allocations: 200.6 kB / 0.5195 GB, free: 39.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01483/0.3766, allocations: 6.008 MB / 0.5254 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.3868, allocations: 2.776 MB / 0.5281 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004837/0.3917, allocations: 1.6 MB / 0.5297 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008471/0.4002, allocations: 7.398 MB / 0.5369 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.4127, allocations: 8.988 MB / 0.5457 GB, free: 26.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/0.418, allocations: 3.843 MB / 0.5494 GB, free: 24.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006445/0.4245, allocations: 4.035 MB / 0.5534 GB, free: 22.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002553/0.427, allocations: 1.067 MB / 0.5544 GB, free: 22.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/0.4316, allocations: 1.441 MB / 0.5558 GB, free: 22.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002669/0.4342, allocations: 2.15 MB / 0.5579 GB, free: 20.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007736/0.442, allocations: 3.208 MB / 0.561 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01984/0.4618, allocations: 14.56 MB / 0.5753 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4618, allocations: 0 / 0.5753 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4618, allocations: 4 kB / 0.5753 GB, free: 12.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004792/0.4623, allocations: 0 / 0.5753 GB, free: 12.19 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.03036/0.4927, allocations: 8.888 MB / 0.584 GB, free: 6.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4927, allocations: 9.219 kB / 0.584 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02663/0.5193, allocations: 4.42 MB / 0.5883 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.5309, allocations: 4.625 MB / 0.5928 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003654/0.5312, allocations: 488.5 kB / 0.5933 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002387/0.5336, allocations: 0.6262 MB / 0.5939 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/0.5611, allocations: 10.48 MB / 0.6041 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002441/0.5613, allocations: 11.89 kB / 0.6041 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/0.563, allocations: 268 kB / 0.6044 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005378/0.5636, allocations: 417.7 kB / 0.6048 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02469/0.5883, allocations: 9.849 MB / 0.6144 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06743/0.6557, allocations: 29.7 MB / 0.6434 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01594/0.6716, allocations: 6.702 MB / 0.6499 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/0.6759, allocations: 2.11 MB / 0.652 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.6762, allocations: 78.27 kB / 0.6521 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/0.6763, allocations: 64.89 kB / 0.6521 GB, free: 6.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.37e-06/0.6763, allocations: 0 / 0.6521 GB, free: 6.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.0267/0.703, allocations: 10.79 MB / 0.6627 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.7031, allocations: 85.72 kB / 0.6628 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/0.7084, allocations: 2.888 MB / 0.6656 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000539/0.7089, allocations: 69.7 kB / 0.6656 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.7116, allocations: 2.981 MB / 0.6686 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/0.7132, allocations: 1.092 MB / 0.6696 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/0.715, allocations: 0.9177 MB / 0.6705 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7152, allocations: 305.1 kB / 0.6708 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/0.7189, allocations: 2.027 MB / 0.6728 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005515/0.7244, allocations: 3.753 MB / 0.6765 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009688/0.7341, allocations: 6.062 MB / 0.6824 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-05/0.7342, allocations: 16 kB / 0.6824 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01323/0.7474, allocations: 6.62 MB / 0.6889 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/0.7475, allocations: 30.19 kB / 0.6889 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.382e-05/0.7475, allocations: 56 kB / 0.6889 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.7496, allocations: 0.6684 MB / 0.6896 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/0.7538, allocations: 1.08 MB / 0.6906 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.7639, allocations: 5.999 MB / 0.6965 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/0.7679, allocations: 279.7 kB / 0.6968 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008335/0.7688, allocations: 232 kB / 0.697 GB, free: 6.621 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.005127/0.7739, allocations: 2.319 MB / 0.6993 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009297/0.7748, allocations: 314 kB / 0.6996 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009324/0.7841, allocations: 4.608 MB / 0.7041 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/0.7842, allocations: 35.94 kB / 0.7041 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.7842, allocations: 8 kB / 0.7041 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.952e-05/0.7842, allocations: 15.94 kB / 0.7041 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.8047, allocations: 9.531 MB / 0.7134 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.8047, allocations: 8.125 kB / 0.7134 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/0.8071, allocations: 0.5344 MB / 0.7139 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.8089, allocations: 0.5632 MB / 0.7145 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/0.8091, allocations: 67.97 kB / 0.7146 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.245/1.054, allocations: 5.23 MB / 0.7197 GB, free: 157.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.054, allocations: 8.844 kB / 0.7197 GB, free: 157.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/1.065, allocations: 6.569 MB / 0.7261 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.067, allocations: 0.6324 MB / 0.7267 GB, free: 156.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000508/1.067, allocations: 60.86 kB / 0.7268 GB, free: 156.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.069, allocations: 138.4 kB / 0.7269 GB, free: 156.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/1.069, allocations: 227.7 kB / 0.7271 GB, free: 156.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.069, allocations: 88.31 kB / 0.7272 GB, free: 156.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002917/1.072, allocations: 1.845 MB / 0.729 GB, free: 155.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.072, allocations: 0.9688 kB / 0.729 GB, free: 155.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005002/1.077, allocations: 1.178 MB / 0.7302 GB, free: 155.5 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.000638/1.078, allocations: 227.5 kB / 0.7304 GB, free: 155.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007667/1.086, allocations: 4.831 MB / 0.7351 GB, free: 153.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/1.086, allocations: 0.5469 kB / 0.7351 GB, free: 153.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/1.089, allocations: 2.125 MB / 0.7372 GB, free: 152.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/1.093, allocations: 0.5799 MB / 0.7377 GB, free: 152.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.111, allocations: 11.17 MB / 0.7486 GB, free: 147.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003964/1.115, allocations: 3.651 MB / 0.7522 GB, free: 146.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003403/1.119, allocations: 1.305 MB / 0.7535 GB, free: 146.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008517/1.12, allocations: 280.7 kB / 0.7538 GB, free: 146 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.12, allocations: 0.7656 kB / 0.7538 GB, free: 146 MB / 0.545 GB Notification: Performance of Templates: time 0.07715/1.197, allocations: 43.16 MB / 0.7959 GB, free: 124 MB / 0.545 GB " [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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3024453959660605] Failed to read output from testmodel.py, exit status != 0: 1.2065131260314956 1.216368532 0.751827667 Calling exit ...