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.001429/0.001429, allocations: 85.31 kB / 19.02 MB, free: 2.719 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.42/1.42, allocations: 177.2 MB / 199.3 MB, free: 9.488 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.001546/0.001546, allocations: 172.9 kB / 255.8 MB, free: 0.9297 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.03768/0.03768, allocations: 6.67 MB / 318.9 MB, free: 48.5 MB / 286.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.002581/0.002581, allocations: 79.88 kB / 445.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.293, allocations: 55.58 MB / 0.4895 GB, free: 26.13 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.02663/0.3196, allocations: 21.96 MB / 0.511 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.3352, allocations: 7.765 MB / 0.5185 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005956/0.3411, allocations: 207 kB / 0.5187 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01587/0.357, allocations: 6.012 MB / 0.5246 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008708/0.3657, allocations: 2.777 MB / 0.5273 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004832/0.3705, allocations: 1.619 MB / 0.5289 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.3815, allocations: 7.388 MB / 0.5361 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.3972, allocations: 8.988 MB / 0.5449 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009948/0.4072, allocations: 5.828 MB / 0.5506 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007769/0.4149, allocations: 4.036 MB / 0.5545 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002721/0.4177, allocations: 1.07 MB / 0.5556 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.4218, allocations: 1.441 MB / 0.557 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.4243, allocations: 2.143 MB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005565/0.4299, allocations: 3.206 MB / 0.5622 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01978/0.4497, allocations: 14.57 MB / 0.5764 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4497, allocations: 0 / 0.5764 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4497, allocations: 0 / 0.5764 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004395/0.4501, allocations: 4 kB / 0.5764 GB, free: 0.7305 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.03062/0.4807, allocations: 8.889 MB / 0.5851 GB, free: 7.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.4808, allocations: 8.031 kB / 0.5851 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02659/0.5074, allocations: 4.413 MB / 0.5894 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/0.5198, allocations: 4.625 MB / 0.5939 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006387/0.5205, allocations: 489 kB / 0.5944 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003089/0.5236, allocations: 0.621 MB / 0.595 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/0.5514, allocations: 10.48 MB / 0.6053 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.5517, allocations: 7.953 kB / 0.6053 GB, free: 2.965 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/0.5533, allocations: 264 kB / 0.6055 GB, free: 2.707 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004692/0.5538, allocations: 421.6 kB / 0.6059 GB, free: 2.293 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2637/0.8175, allocations: 9.847 MB / 0.6155 GB, free: 96.97 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/0.8606, allocations: 29.71 MB / 0.6445 GB, free: 72.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.8722, allocations: 6.696 MB / 0.6511 GB, free: 66.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.8749, allocations: 2.112 MB / 0.6531 GB, free: 64.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.8752, allocations: 78.25 kB / 0.6532 GB, free: 64.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.8752, allocations: 66.42 kB / 0.6533 GB, free: 64.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=295): time 5.29e-06/0.8752, allocations: 0 / 0.6533 GB, free: 64.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=301): time 0.01708/0.8923, allocations: 10.79 MB / 0.6638 GB, free: 53.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.8923, allocations: 81.78 kB / 0.6639 GB, free: 53.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.896, allocations: 2.892 MB / 0.6667 GB, free: 50.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.8961, allocations: 77.7 kB / 0.6668 GB, free: 50.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.8972, allocations: 2.972 MB / 0.6697 GB, free: 47.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/0.8978, allocations: 1.087 MB / 0.6708 GB, free: 46.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.899, allocations: 0.9255 MB / 0.6717 GB, free: 45.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.899, allocations: 301.1 kB / 0.672 GB, free: 45.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002508/0.9015, allocations: 2.027 MB / 0.6739 GB, free: 43.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/0.9047, allocations: 3.757 MB / 0.6776 GB, free: 38.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006027/0.9107, allocations: 6.058 MB / 0.6835 GB, free: 31.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-05/0.9108, allocations: 16 kB / 0.6835 GB, free: 31.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009943/0.9207, allocations: 6.628 MB / 0.69 GB, free: 25.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.9208, allocations: 31.94 kB / 0.69 GB, free: 25.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.508e-05/0.9209, allocations: 56 kB / 0.6901 GB, free: 25.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.9226, allocations: 0.6618 MB / 0.6907 GB, free: 24.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.9258, allocations: 1.072 MB / 0.6918 GB, free: 23.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006964/0.9328, allocations: 5.994 MB / 0.6976 GB, free: 17.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/0.9361, allocations: 275.7 kB / 0.6979 GB, free: 16.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004455/0.9366, allocations: 232.1 kB / 0.6981 GB, free: 16.69 MB / 462.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.003468/0.94, allocations: 2.315 MB / 0.7004 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008467/0.9409, allocations: 317.9 kB / 0.7007 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/0.9479, allocations: 4.608 MB / 0.7052 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.9479, allocations: 39.88 kB / 0.7052 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.9479, allocations: 8 kB / 0.7052 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.507e-05/0.948, allocations: 15.94 kB / 0.7052 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.9646, allocations: 9.527 MB / 0.7146 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.9646, allocations: 8 kB / 0.7146 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/0.9668, allocations: 0.5349 MB / 0.7151 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.9685, allocations: 0.5732 MB / 0.7156 GB, free: 14.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/0.9688, allocations: 67.98 kB / 0.7157 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008213/0.977, allocations: 5.232 MB / 0.7208 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.977, allocations: 4 kB / 0.7208 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.988, allocations: 6.578 MB / 0.7272 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/0.9899, allocations: 0.6364 MB / 0.7279 GB, free: 1.832 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007962/0.9907, allocations: 67.94 kB / 0.7279 GB, free: 1.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001897/0.9926, allocations: 139.8 kB / 0.7281 GB, free: 1.629 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.993, allocations: 217.9 kB / 0.7283 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/0.9932, allocations: 91.97 kB / 0.7284 GB, free: 1.324 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003805/0.997, allocations: 1.847 MB / 0.7302 GB, free: 15.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.997, allocations: 0 / 0.7302 GB, free: 15.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004569/1.002, allocations: 1.172 MB / 0.7313 GB, free: 14.3 MB / 494.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.0005531/1.002, allocations: 224.5 kB / 0.7315 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009022/1.011, allocations: 4.839 MB / 0.7362 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.011, allocations: 0.875 kB / 0.7362 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003867/1.015, allocations: 2.11 MB / 0.7383 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/1.018, allocations: 0.578 MB / 0.7389 GB, free: 6.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/1.041, allocations: 11.19 MB / 0.7498 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005851/1.046, allocations: 3.654 MB / 0.7534 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004698/1.051, allocations: 1.305 MB / 0.7546 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.052, allocations: 284.4 kB / 0.7549 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/1.052, allocations: 3.938 kB / 0.7549 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.08533/1.138, allocations: 43.14 MB / 0.797 GB, free: 11.22 MB / 0.545 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 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.2801980543881655] Failed to read output from testmodel.py, exit status != 0: 1.14791857637465 1.163714042 0.710571207 Calling exit ...