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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 194.7 kB / 295 MB, free: 12.63 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03828/0.03828, allocations: 8.806 MB / 356 MB, free: 15.88 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002167/0.002167, allocations: 79.88 kB / 473.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2202, allocations: 51.55 MB / 0.5126 GB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.02795/0.2481, allocations: 25.41 MB / 0.5374 GB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.2644, allocations: 8.022 MB / 0.5453 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004501/0.2689, allocations: 175.5 kB / 0.5454 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01384/0.2828, allocations: 6.102 MB / 0.5514 GB, free: 5.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00806/0.2908, allocations: 2.75 MB / 0.5541 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.2953, allocations: 1.615 MB / 0.5556 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009968/0.3053, allocations: 7.277 MB / 0.5627 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01926/0.3245, allocations: 13.31 MB / 0.5757 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005873/0.3305, allocations: 3.728 MB / 0.5794 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006783/0.3373, allocations: 4.224 MB / 0.5835 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00258/0.3399, allocations: 1.07 MB / 0.5846 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.3439, allocations: 1.437 MB / 0.586 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00317/0.3471, allocations: 2.139 MB / 0.588 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00677/0.3538, allocations: 4.113 MB / 0.5921 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01759/0.3715, allocations: 14.48 MB / 0.6062 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3715, allocations: 3.938 kB / 0.6062 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3715, allocations: 4 kB / 0.6062 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003092/0.3718, allocations: 0 / 0.6062 GB, free: 12.79 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.02483/0.3967, allocations: 8.925 MB / 0.6149 GB, free: 3.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3967, allocations: 12.03 kB / 0.6149 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02434/0.4211, allocations: 4.433 MB / 0.6193 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009657/0.4307, allocations: 4.63 MB / 0.6238 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/0.4312, allocations: 489 kB / 0.6243 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001755/0.433, allocations: 0.6249 MB / 0.6249 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.4533, allocations: 10.35 MB / 0.635 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.4535, allocations: 15.95 kB / 0.635 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007203/0.4542, allocations: 260 kB / 0.6352 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004269/0.4547, allocations: 421.6 kB / 0.6356 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02075/0.4754, allocations: 9.872 MB / 0.6453 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2543/0.7298, allocations: 35.39 MB / 0.6798 GB, free: 108.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.7436, allocations: 20.66 MB / 0.7 GB, free: 91.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002948/0.7466, allocations: 2.309 MB / 0.7023 GB, free: 90.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.7469, allocations: 226.1 kB / 0.7025 GB, free: 90.45 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.7469, allocations: 67.64 kB / 0.7025 GB, free: 90.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=295): time 4.518e-06/0.7469, allocations: 0 / 0.7025 GB, free: 90.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=301): time 0.01652/0.7635, allocations: 10.95 MB / 0.7132 GB, free: 84.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.7635, allocations: 84.5 kB / 0.7133 GB, free: 84.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003393/0.7669, allocations: 3.028 MB / 0.7163 GB, free: 82.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003094/0.7672, allocations: 73.39 kB / 0.7163 GB, free: 82.92 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.7683, allocations: 2.96 MB / 0.7192 GB, free: 80.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/0.769, allocations: 1.082 MB / 0.7203 GB, free: 79.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.77, allocations: 0.913 MB / 0.7212 GB, free: 79.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.7701, allocations: 305.1 kB / 0.7215 GB, free: 78.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.7723, allocations: 2.024 MB / 0.7235 GB, free: 76.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.7749, allocations: 3.731 MB / 0.7271 GB, free: 72.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.7799, allocations: 6.051 MB / 0.733 GB, free: 65.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-05/0.78, allocations: 16 kB / 0.733 GB, free: 65.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.008079/0.7881, allocations: 6.643 MB / 0.7395 GB, free: 58.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.7882, allocations: 32 kB / 0.7395 GB, free: 58.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/0.7882, allocations: 52 kB / 0.7396 GB, free: 58.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.7897, allocations: 0.67 MB / 0.7402 GB, free: 57.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/0.7928, allocations: 1.069 MB / 0.7413 GB, free: 56.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00633/0.7991, allocations: 6.225 MB / 0.7474 GB, free: 50.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/0.8022, allocations: 287.6 kB / 0.7476 GB, free: 50.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/0.8026, allocations: 228 kB / 0.7479 GB, free: 49.94 MB / 478.1 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.002627/0.8052, allocations: 2.311 MB / 0.7501 GB, free: 47.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005627/0.8058, allocations: 341.8 kB / 0.7504 GB, free: 47.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005898/0.8117, allocations: 4.637 MB / 0.755 GB, free: 42.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8117, allocations: 28 kB / 0.755 GB, free: 42.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.8117, allocations: 11.94 kB / 0.755 GB, free: 42.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.8118, allocations: 19.78 kB / 0.755 GB, free: 42.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.825, allocations: 11.09 MB / 0.7659 GB, free: 31.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.825, allocations: 7.938 kB / 0.7659 GB, free: 31.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.8268, allocations: 0.5311 MB / 0.7664 GB, free: 30.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.8281, allocations: 0.5623 MB / 0.7669 GB, free: 30.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.8283, allocations: 71.98 kB / 0.767 GB, free: 30.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.8337, allocations: 5.466 MB / 0.7723 GB, free: 24.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.8337, allocations: 8 kB / 0.7723 GB, free: 24.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/0.8413, allocations: 6.597 MB / 0.7788 GB, free: 17.81 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.8427, allocations: 0.7408 MB / 0.7795 GB, free: 17.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005091/0.8433, allocations: 63.92 kB / 0.7796 GB, free: 16.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.8447, allocations: 143.9 kB / 0.7797 GB, free: 16.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/0.8451, allocations: 206 kB / 0.7799 GB, free: 16.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.8453, allocations: 95.91 kB / 0.78 GB, free: 16.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002341/0.8476, allocations: 2.016 MB / 0.782 GB, free: 14.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8476, allocations: 0 / 0.782 GB, free: 14.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003485/0.8511, allocations: 1.172 MB / 0.7831 GB, free: 13.36 MB / 478.1 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.0004013/0.8515, allocations: 226.5 kB / 0.7833 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006172/0.8577, allocations: 5.041 MB / 0.7883 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.8577, allocations: 0 / 0.7883 GB, free: 8.055 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/0.8605, allocations: 2.27 MB / 0.7905 GB, free: 5.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.8633, allocations: 0.6372 MB / 0.7911 GB, free: 5.145 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.8793, allocations: 11.02 MB / 0.8019 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004131/0.8835, allocations: 4.04 MB / 0.8058 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.8848, allocations: 315.3 kB / 0.8061 GB, free: 5.625 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.8848, allocations: 0 / 0.8061 GB, free: 5.625 MB / 494.1 MB Notification: Performance of Templates: time 0.3077/1.193, allocations: 106.6 MB / 0.9102 GB, free: 173.8 MB / 0.545 GB " [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: 11.455195250920951] Failed to read output from testmodel.py, exit status != 0: 1.1984891691245139 1.206817628 0.833667017 Calling exit ...