Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.001527/0.001527, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.427/1.427, allocations: 177.2 MB / 200.1 MB, free: 9.035 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.001521/0.001521, allocations: 172.9 kB / 256.6 MB, free: 0.7695 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.06416/0.06416, allocations: 6.668 MB / 319.6 MB, free: 12.08 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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") [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.002752/0.002752, allocations: 83.88 kB / 446.4 MB, free: 2.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2683, allocations: 55.57 MB / 0.4902 GB, free: 76.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01791/0.2862, allocations: 21.96 MB / 0.5117 GB, free: 61.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.2995, allocations: 7.766 MB / 0.5193 GB, free: 56.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/0.3041, allocations: 200.9 kB / 0.5195 GB, free: 56.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.317, allocations: 6.018 MB / 0.5253 GB, free: 52.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008382/0.3253, allocations: 2.769 MB / 0.5281 GB, free: 51.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004646/0.33, allocations: 1.611 MB / 0.5296 GB, free: 50.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009667/0.3396, allocations: 7.4 MB / 0.5369 GB, free: 46.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01336/0.353, allocations: 8.991 MB / 0.5456 GB, free: 41.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006104/0.3591, allocations: 3.842 MB / 0.5494 GB, free: 39.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007213/0.3663, allocations: 4.04 MB / 0.5533 GB, free: 37.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00298/0.3693, allocations: 1.074 MB / 0.5544 GB, free: 37.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/0.3741, allocations: 1.44 MB / 0.5558 GB, free: 37.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002517/0.3766, allocations: 2.145 MB / 0.5579 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006301/0.3829, allocations: 3.21 MB / 0.561 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01594/0.3988, allocations: 14.56 MB / 0.5752 GB, free: 22.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3988, allocations: 4 kB / 0.5752 GB, free: 22.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3988, allocations: 0 / 0.5752 GB, free: 22.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003543/0.3992, allocations: 0 / 0.5752 GB, free: 22.58 MB / 446.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.02372/0.4229, allocations: 8.885 MB / 0.5839 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.423, allocations: 8.031 kB / 0.5839 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02448/0.4474, allocations: 4.417 MB / 0.5882 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00856/0.456, allocations: 4.625 MB / 0.5928 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.4563, allocations: 489 kB / 0.5932 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.4578, allocations: 0.6249 MB / 0.5938 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/0.4801, allocations: 10.48 MB / 0.6041 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.4804, allocations: 11.89 kB / 0.6041 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/0.4819, allocations: 268 kB / 0.6043 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004914/0.4824, allocations: 421.6 kB / 0.6047 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.504, allocations: 9.845 MB / 0.6143 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05943/0.5635, allocations: 29.71 MB / 0.6434 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.5792, allocations: 6.695 MB / 0.6499 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/0.5831, allocations: 2.102 MB / 0.652 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.5835, allocations: 82.25 kB / 0.652 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/0.5835, allocations: 60.89 kB / 0.6521 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.871e-06/0.5835, allocations: 4 kB / 0.6521 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.2459/0.8294, allocations: 10.78 MB / 0.6626 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.8295, allocations: 84.53 kB / 0.6627 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00433/0.8338, allocations: 2.89 MB / 0.6655 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004046/0.8342, allocations: 72.81 kB / 0.6656 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.8359, allocations: 2.98 MB / 0.6685 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009773/0.8369, allocations: 1.084 MB / 0.6696 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.8383, allocations: 0.9199 MB / 0.6705 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.8384, allocations: 309.3 kB / 0.6708 GB, free: 108 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/0.8409, allocations: 2.032 MB / 0.6727 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/0.844, allocations: 3.753 MB / 0.6764 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005879/0.8498, allocations: 6.058 MB / 0.6823 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.78e-05/0.8499, allocations: 15.47 kB / 0.6823 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009767/0.8597, allocations: 6.624 MB / 0.6888 GB, free: 97.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.8597, allocations: 32.31 kB / 0.6888 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.283e-05/0.8598, allocations: 55.22 kB / 0.6889 GB, free: 97.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.8615, allocations: 0.6745 MB / 0.6896 GB, free: 97.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003687/0.8652, allocations: 1.071 MB / 0.6906 GB, free: 97.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007285/0.8725, allocations: 5.993 MB / 0.6964 GB, free: 93.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/0.8762, allocations: 276.8 kB / 0.6967 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006484/0.8769, allocations: 241 kB / 0.6969 GB, free: 93.58 MB / 0.4981 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.003618/0.8805, allocations: 2.314 MB / 0.6992 GB, free: 92.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006767/0.8812, allocations: 321.4 kB / 0.6995 GB, free: 92.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007755/0.8889, allocations: 4.593 MB / 0.704 GB, free: 90.28 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.8889, allocations: 31.62 kB / 0.704 GB, free: 90.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/0.889, allocations: 5.5 kB / 0.704 GB, free: 90.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/0.889, allocations: 17.06 kB / 0.704 GB, free: 90.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/0.9073, allocations: 9.54 MB / 0.7134 GB, free: 86.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.9073, allocations: 5.812 kB / 0.7134 GB, free: 86.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.9095, allocations: 0.5405 MB / 0.7139 GB, free: 86.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.9112, allocations: 0.5607 MB / 0.7144 GB, free: 86.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/0.9114, allocations: 78.2 kB / 0.7145 GB, free: 86.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/0.9184, allocations: 5.224 MB / 0.7196 GB, free: 82.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9184, allocations: 12.28 kB / 0.7196 GB, free: 82.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009974/0.9284, allocations: 6.574 MB / 0.7261 GB, free: 79.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/0.9304, allocations: 0.6351 MB / 0.7267 GB, free: 79.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008089/0.9312, allocations: 57.36 kB / 0.7267 GB, free: 79.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/0.9332, allocations: 149.9 kB / 0.7269 GB, free: 79.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005123/0.9338, allocations: 223.4 kB / 0.7271 GB, free: 79.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/0.934, allocations: 94.75 kB / 0.7272 GB, free: 79.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003667/0.9377, allocations: 1.841 MB / 0.729 GB, free: 78.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9377, allocations: 0 / 0.729 GB, free: 78.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004868/0.9425, allocations: 1.173 MB / 0.7301 GB, free: 78.62 MB / 0.4981 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.0005339/0.9431, allocations: 227.4 kB / 0.7303 GB, free: 78.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007995/0.9511, allocations: 4.835 MB / 0.7351 GB, free: 76.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.9511, allocations: 0 / 0.7351 GB, free: 76.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003388/0.9544, allocations: 2.113 MB / 0.7371 GB, free: 75.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/0.9586, allocations: 0.5792 MB / 0.7377 GB, free: 75.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.978, allocations: 11.18 MB / 0.7486 GB, free: 64.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004477/0.9825, allocations: 3.651 MB / 0.7522 GB, free: 62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003465/0.986, allocations: 1.305 MB / 0.7534 GB, free: 60.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009169/0.9869, allocations: 276.4 kB / 0.7537 GB, free: 60.42 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.9869, allocations: 0 / 0.7537 GB, free: 60.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.06372/1.051, allocations: 43.15 MB / 0.7958 GB, free: 17.72 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.109622098971158] Failed to read output from testmodel.py, exit status != 0: 1.0599801600910723 1.06887709 0.6675156210000001 Calling exit ...