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.001354/0.001354, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.381/1.381, allocations: 177.2 MB / 199.4 MB, free: 8.445 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.00147/0.00147, allocations: 169.4 kB / 256 MB, free: 4.336 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.05823/0.05823, allocations: 6.669 MB / 319 MB, free: 5.398 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 446 MB, free: 25.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.774e-05, allocations: 2.281 kB / 446 MB, free: 25.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.01727/0.0173, allocations: 22 MB / 468 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.0331, allocations: 7.784 MB / 475.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004956/0.03805, allocations: 207 kB / 475.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01621/0.05427, allocations: 6.021 MB / 482 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009336/0.0636, allocations: 2.829 MB / 484.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005494/0.0691, allocations: 1.617 MB / 486.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1814/0.2505, allocations: 7.645 MB / 494 MB, free: 16.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.2641, allocations: 9.01 MB / 0.4913 GB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.2748, allocations: 5.649 MB / 0.4968 GB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0066/0.2814, allocations: 3.622 MB / 0.5003 GB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00216/0.2836, allocations: 1.07 MB / 0.5014 GB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.2882, allocations: 1.456 MB / 0.5028 GB, free: 9.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002343/0.2906, allocations: 2.184 MB / 0.5049 GB, free: 8.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005998/0.2966, allocations: 2.763 MB / 0.5076 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.3122, allocations: 14.7 MB / 0.522 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3122, allocations: 3.984 kB / 0.522 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3122, allocations: 0 / 0.522 GB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004179/0.3126, allocations: 0 / 0.522 GB, free: 10.71 MB / 366.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.02888/0.3415, allocations: 8.825 MB / 0.5306 GB, free: 1.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3416, allocations: 15.98 kB / 0.5306 GB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/0.3691, allocations: 4.418 MB / 0.5349 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.3801, allocations: 4.62 MB / 0.5394 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004987/0.3806, allocations: 490.2 kB / 0.5399 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/0.3829, allocations: 0.6266 MB / 0.5405 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02397/0.4069, allocations: 10.48 MB / 0.5508 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.4071, allocations: 7.953 kB / 0.5508 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009625/0.408, allocations: 264.8 kB / 0.551 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000479/0.4085, allocations: 413.7 kB / 0.5514 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.4311, allocations: 9.86 MB / 0.561 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06017/0.4913, allocations: 29.69 MB / 0.59 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01617/0.5075, allocations: 6.696 MB / 0.5966 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004193/0.5117, allocations: 2.111 MB / 0.5986 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.5121, allocations: 78.25 kB / 0.5987 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.913e-05/0.5122, allocations: 68.83 kB / 0.5988 GB, free: 12.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 6.332e-06/0.5122, allocations: 0 / 0.5988 GB, free: 12.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.02542/0.5376, allocations: 10.78 MB / 0.6093 GB, free: 1.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.5377, allocations: 85.78 kB / 0.6094 GB, free: 1.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006288/0.5439, allocations: 2.888 MB / 0.6122 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002408/0.5442, allocations: 73.7 kB / 0.6123 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00273/0.5469, allocations: 2.964 MB / 0.6152 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/0.5481, allocations: 1.079 MB / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001802/0.5499, allocations: 0.9138 MB / 0.6171 GB, free: 9.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.55, allocations: 305.1 kB / 0.6174 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003562/0.5536, allocations: 2.027 MB / 0.6194 GB, free: 7.574 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005409/0.559, allocations: 3.757 MB / 0.6231 GB, free: 3.047 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009289/0.5683, allocations: 6.055 MB / 0.629 GB, free: 12.42 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.695e-05/0.5683, allocations: 12 kB / 0.629 GB, free: 12.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01302/0.5814, allocations: 6.622 MB / 0.6354 GB, free: 6.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.516e-05/0.5814, allocations: 28 kB / 0.6355 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/0.5815, allocations: 59.98 kB / 0.6355 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.5836, allocations: 0.6716 MB / 0.6362 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/0.5875, allocations: 1.073 MB / 0.6372 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009867/0.5974, allocations: 5.999 MB / 0.6431 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/0.6009, allocations: 283.5 kB / 0.6434 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006792/0.6016, allocations: 239.3 kB / 0.6436 GB, free: 13.77 MB / 494.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.00448/0.6061, allocations: 2.316 MB / 0.6459 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009194/0.607, allocations: 310 kB / 0.6461 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009417/0.6164, allocations: 4.601 MB / 0.6506 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.6164, allocations: 32 kB / 0.6507 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.6164, allocations: 8 kB / 0.6507 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.6165, allocations: 19.94 kB / 0.6507 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2021/0.8186, allocations: 9.521 MB / 0.66 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.8186, allocations: 6.156 kB / 0.66 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/0.8209, allocations: 0.5362 MB / 0.6605 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/0.8228, allocations: 0.5718 MB / 0.6611 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002858/0.823, allocations: 71.25 kB / 0.6612 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007471/0.8305, allocations: 5.224 MB / 0.6663 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.305e-06/0.8305, allocations: 9.438 kB / 0.6663 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/0.8406, allocations: 6.557 MB / 0.6727 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/0.8423, allocations: 0.6394 MB / 0.6733 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/0.8427, allocations: 61.56 kB / 0.6733 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.8444, allocations: 142.5 kB / 0.6735 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000483/0.8449, allocations: 221.1 kB / 0.6737 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/0.8451, allocations: 91.59 kB / 0.6738 GB, free: 154.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002669/0.8477, allocations: 1.842 MB / 0.6756 GB, free: 154.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8477, allocations: 0 / 0.6756 GB, free: 154.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004025/0.8518, allocations: 1.171 MB / 0.6767 GB, free: 154.1 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.0005729/0.8523, allocations: 239.8 kB / 0.677 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00707/0.8594, allocations: 4.822 MB / 0.6817 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.8594, allocations: 0 / 0.6817 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003284/0.8627, allocations: 2.129 MB / 0.6837 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.8658, allocations: 0.5698 MB / 0.6843 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.8822, allocations: 11.11 MB / 0.6951 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/0.8853, allocations: 3.642 MB / 0.6987 GB, free: 140.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003101/0.8884, allocations: 1.307 MB / 0.7 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007692/0.8892, allocations: 283.1 kB / 0.7002 GB, free: 139.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8892, allocations: 0 / 0.7002 GB, free: 139.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06502/0.9542, allocations: 42.9 MB / 0.7421 GB, free: 98.97 MB / 494.1 MB " [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: 6.81508070603013] Failed to read output from testmodel.py, exit status != 0: 0.961799431592226 0.978070691 0.662419323 Calling exit ...