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.001343/0.001343, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.445/1.445, allocations: 230.6 MB / 253.4 MB, free: 14.28 MB / 206.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.001618/0.001618, allocations: 219.2 kB / 310 MB, free: 3.121 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.04103/0.04103, allocations: 8.925 MB / 375.3 MB, free: 6.578 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.002755/0.002755, allocations: 83.88 kB / 0.4904 GB, free: 44.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09364, allocations: 55.59 MB / 0.5447 GB, free: 4.504 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2692/0.3629, allocations: 21.98 MB / 0.5662 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.3779, allocations: 7.767 MB / 0.5737 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005343/0.3833, allocations: 203.5 kB / 0.5739 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01423/0.3975, allocations: 5.73 MB / 0.5795 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008962/0.4065, allocations: 2.766 MB / 0.5822 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005303/0.4118, allocations: 1.602 MB / 0.5838 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.4248, allocations: 7.393 MB / 0.591 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02399/0.4488, allocations: 8.988 MB / 0.5998 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/0.4604, allocations: 3.843 MB / 0.6036 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01235/0.4727, allocations: 4.039 MB / 0.6075 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004557/0.4773, allocations: 1.069 MB / 0.6085 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007816/0.4851, allocations: 1.444 MB / 0.61 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005592/0.4907, allocations: 2.15 MB / 0.6121 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009906/0.5006, allocations: 3.212 MB / 0.6152 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.022/0.5226, allocations: 14.55 MB / 0.6294 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.5226, allocations: 4 kB / 0.6294 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5226, allocations: 0 / 0.6294 GB, free: 6.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004646/0.5231, allocations: 0 / 0.6294 GB, free: 6.621 MB / 414.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.03034/0.5534, allocations: 8.881 MB / 0.6381 GB, free: 13.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5535, allocations: 15.98 kB / 0.6381 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/0.5803, allocations: 4.41 MB / 0.6424 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.5928, allocations: 4.632 MB / 0.6469 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006232/0.5934, allocations: 489 kB / 0.6474 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/0.5962, allocations: 0.621 MB / 0.648 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02821/0.6244, allocations: 10.49 MB / 0.6582 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003403/0.6248, allocations: 7.953 kB / 0.6582 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002355/0.6271, allocations: 264 kB / 0.6585 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005612/0.6277, allocations: 421.6 kB / 0.6589 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/0.6512, allocations: 9.849 MB / 0.6685 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06278/0.7139, allocations: 29.69 MB / 0.6975 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.7289, allocations: 6.697 MB / 0.704 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00397/0.7329, allocations: 2.11 MB / 0.7061 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/0.7332, allocations: 78.25 kB / 0.7062 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.481e-05/0.7333, allocations: 64.89 kB / 0.7062 GB, free: 7.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 5.962e-06/0.7333, allocations: 0 / 0.7062 GB, free: 7.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02364/0.7569, allocations: 10.79 MB / 0.7168 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.757, allocations: 85.72 kB / 0.7169 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/0.7618, allocations: 2.892 MB / 0.7197 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004647/0.7622, allocations: 73.7 kB / 0.7198 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.7647, allocations: 2.977 MB / 0.7227 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/0.7662, allocations: 1.085 MB / 0.7237 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.7678, allocations: 0.9216 MB / 0.7246 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.768, allocations: 301.1 kB / 0.7249 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/0.7714, allocations: 2.031 MB / 0.7269 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005077/0.7765, allocations: 3.761 MB / 0.7306 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009253/0.7858, allocations: 6.051 MB / 0.7365 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-05/0.7858, allocations: 16 kB / 0.7365 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01319/0.799, allocations: 6.624 MB / 0.743 GB, free: 140 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.701e-05/0.7991, allocations: 29.88 kB / 0.743 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/0.7992, allocations: 56 kB / 0.743 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.8012, allocations: 0.6682 MB / 0.7437 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/0.8054, allocations: 1.08 MB / 0.7447 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.8155, allocations: 5.991 MB / 0.7506 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/0.8192, allocations: 275.7 kB / 0.7509 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009237/0.8202, allocations: 235.9 kB / 0.7511 GB, free: 7.699 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.005009/0.8252, allocations: 2.315 MB / 0.7533 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.8263, allocations: 314 kB / 0.7536 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00984/0.8361, allocations: 4.608 MB / 0.7581 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/0.8361, allocations: 39.92 kB / 0.7582 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/0.8362, allocations: 8 kB / 0.7582 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/0.8362, allocations: 15.94 kB / 0.7582 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.8558, allocations: 9.547 MB / 0.7675 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.8558, allocations: 4 kB / 0.7675 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/0.858, allocations: 0.5344 MB / 0.7681 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.8597, allocations: 0.5593 MB / 0.7686 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.86, allocations: 67.97 kB / 0.7687 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008075/0.868, allocations: 5.243 MB / 0.7738 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.868, allocations: 4 kB / 0.7738 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2409/1.109, allocations: 6.559 MB / 0.7802 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.111, allocations: 0.6344 MB / 0.7808 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007529/1.112, allocations: 65.95 kB / 0.7809 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.114, allocations: 145.8 kB / 0.781 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.114, allocations: 217.1 kB / 0.7812 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.114, allocations: 89.33 kB / 0.7813 GB, free: 167.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002898/1.117, allocations: 1.847 MB / 0.7831 GB, free: 166.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.117, allocations: 2 kB / 0.7831 GB, free: 166.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004586/1.122, allocations: 1.175 MB / 0.7843 GB, free: 166.8 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.0005942/1.122, allocations: 227.4 kB / 0.7845 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008729/1.131, allocations: 4.832 MB / 0.7892 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.131, allocations: 1.375 kB / 0.7892 GB, free: 164.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004375/1.135, allocations: 2.116 MB / 0.7913 GB, free: 163.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.139, allocations: 0.5658 MB / 0.7918 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/1.162, allocations: 11.06 MB / 0.8026 GB, free: 158.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004627/1.167, allocations: 3.535 MB / 0.8061 GB, free: 157.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/1.168, allocations: 328.5 kB / 0.8064 GB, free: 157.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.723e-06/1.168, allocations: 0.5625 kB / 0.8064 GB, free: 157.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1185/1.287, allocations: 109.2 MB / 0.913 GB, free: 58.71 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.971002611797303] Failed to read output from testmodel.py, exit status != 0: 1.2958412021398544 1.305507599 0.780187488 Calling exit ...