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.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.001774/0.001774, allocations: 78.45 kB / 19.01 MB, free: 2.691 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.434/1.434, allocations: 177.2 MB / 199.3 MB, free: 9.504 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.002584/0.002584, allocations: 173.4 kB / 255.8 MB, free: 0.9336 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.03826/0.03826, allocations: 6.675 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_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: 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.002636/0.002636, allocations: 87.81 kB / 445.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2454, allocations: 55.58 MB / 0.4895 GB, free: 26.12 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.01899/0.2644, allocations: 21.98 MB / 0.511 GB, free: 4.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.2823, allocations: 7.777 MB / 0.5186 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006677/0.289, allocations: 203 kB / 0.5188 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01589/0.3049, allocations: 6.009 MB / 0.5247 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.3153, allocations: 2.767 MB / 0.5274 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005525/0.3208, allocations: 1.621 MB / 0.5289 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.3328, allocations: 7.396 MB / 0.5362 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01604/0.3489, allocations: 8.984 MB / 0.5449 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.3598, allocations: 5.824 MB / 0.5506 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007638/0.3675, allocations: 4.036 MB / 0.5546 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003635/0.3711, allocations: 1.07 MB / 0.5556 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/0.3765, allocations: 1.445 MB / 0.557 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003619/0.3801, allocations: 2.143 MB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006399/0.3865, allocations: 3.206 MB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02077/0.4072, allocations: 14.56 MB / 0.5765 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.4073, allocations: 0 / 0.5765 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4073, allocations: 0 / 0.5765 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004157/0.4077, allocations: 0 / 0.5765 GB, free: 0.7148 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.02972/0.4374, allocations: 8.885 MB / 0.5851 GB, free: 7.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4374, allocations: 16.03 kB / 0.5852 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02623/0.4637, allocations: 4.417 MB / 0.5895 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.4772, allocations: 4.621 MB / 0.594 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006493/0.4778, allocations: 485 kB / 0.5944 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/0.4808, allocations: 0.6288 MB / 0.5951 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/0.5077, allocations: 10.48 MB / 0.6053 GB, free: 2.953 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/0.5079, allocations: 11.94 kB / 0.6053 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/0.5091, allocations: 268 kB / 0.6056 GB, free: 2.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004729/0.5095, allocations: 417.7 kB / 0.606 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.244/0.7535, allocations: 9.85 MB / 0.6156 GB, free: 95.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04642/0.7999, allocations: 29.72 MB / 0.6446 GB, free: 71.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.8133, allocations: 6.685 MB / 0.6511 GB, free: 65.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/0.8167, allocations: 2.102 MB / 0.6532 GB, free: 63.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/0.817, allocations: 78.25 kB / 0.6533 GB, free: 62.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.8171, allocations: 64.89 kB / 0.6533 GB, free: 62.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=295): time 7.694e-06/0.8171, allocations: 0 / 0.6533 GB, free: 62.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=301): time 0.01952/0.8366, allocations: 10.8 MB / 0.6639 GB, free: 52.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.8367, allocations: 81.78 kB / 0.6639 GB, free: 52.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/0.8414, allocations: 2.896 MB / 0.6668 GB, free: 49.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004302/0.8418, allocations: 73.7 kB / 0.6668 GB, free: 49.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.8433, allocations: 2.975 MB / 0.6697 GB, free: 46.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.8443, allocations: 1.087 MB / 0.6708 GB, free: 45.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.8462, allocations: 0.9177 MB / 0.6717 GB, free: 44.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.8462, allocations: 305.1 kB / 0.672 GB, free: 44.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/0.8491, allocations: 2.027 MB / 0.674 GB, free: 42.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.8524, allocations: 3.757 MB / 0.6776 GB, free: 37.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006246/0.8587, allocations: 6.059 MB / 0.6836 GB, free: 30.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.254e-05/0.8587, allocations: 16 kB / 0.6836 GB, free: 30.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01036/0.8691, allocations: 6.625 MB / 0.69 GB, free: 23.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.8691, allocations: 39.92 kB / 0.6901 GB, free: 23.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-05/0.8692, allocations: 52 kB / 0.6901 GB, free: 23.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.871, allocations: 0.6696 MB / 0.6908 GB, free: 23.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/0.8746, allocations: 1.076 MB / 0.6918 GB, free: 22.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007439/0.882, allocations: 5.995 MB / 0.6977 GB, free: 16.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/0.8859, allocations: 271.7 kB / 0.6979 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008111/0.8867, allocations: 235.9 kB / 0.6982 GB, free: 15.54 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.004171/0.8909, allocations: 2.319 MB / 0.7004 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.8919, allocations: 321.9 kB / 0.7007 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/0.9002, allocations: 4.592 MB / 0.7052 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.9002, allocations: 35.94 kB / 0.7053 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.9002, allocations: 7.984 kB / 0.7053 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/0.9003, allocations: 15.95 kB / 0.7053 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.9175, allocations: 9.539 MB / 0.7146 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.9175, allocations: 4.625 kB / 0.7146 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.9197, allocations: 0.5383 MB / 0.7151 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.9216, allocations: 0.5654 MB / 0.7157 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.9219, allocations: 71.98 kB / 0.7158 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008985/0.9309, allocations: 5.231 MB / 0.7209 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.9309, allocations: 8 kB / 0.7209 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.9444, allocations: 6.582 MB / 0.7273 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/0.9465, allocations: 0.6344 MB / 0.7279 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000895/0.9474, allocations: 59.98 kB / 0.728 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/0.9495, allocations: 139.9 kB / 0.7281 GB, free: 496 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005653/0.9501, allocations: 225.8 kB / 0.7283 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/0.9504, allocations: 96.03 kB / 0.7284 GB, free: 172 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004172/0.9546, allocations: 1.841 MB / 0.7302 GB, free: 14.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9546, allocations: 0 / 0.7302 GB, free: 14.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005738/0.9603, allocations: 1.172 MB / 0.7314 GB, free: 13.15 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.000707/0.961, allocations: 222.6 kB / 0.7316 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.9714, allocations: 4.831 MB / 0.7363 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/0.9715, allocations: 0 / 0.7363 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00495/0.9764, allocations: 2.114 MB / 0.7383 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004212/0.9806, allocations: 0.573 MB / 0.7389 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/1.004, allocations: 11.21 MB / 0.7499 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006644/1.011, allocations: 3.646 MB / 0.7534 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004615/1.016, allocations: 1.301 MB / 0.7547 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/1.017, allocations: 276.4 kB / 0.7549 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/1.017, allocations: 4 kB / 0.7549 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of Templates: time 0.09102/1.108, allocations: 43.16 MB / 0.7971 GB, free: 10.07 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: 7.307663483545184] Failed to read output from testmodel.py, exit status != 0: 1.1185537707060575 1.134781254 0.723656771 Calling exit ...