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.001406/0.001406, 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.489/1.489, allocations: 230.6 MB / 253.4 MB, free: 14.26 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.001633/0.001633, allocations: 217.9 kB / 310 MB, free: 3.094 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.04253/0.04253, allocations: 8.922 MB / 375.3 MB, free: 6.555 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_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.00256/0.00256, allocations: 89.73 kB / 0.4904 GB, free: 44.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09594, allocations: 55.61 MB / 0.5447 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2545/0.3504, allocations: 21.95 MB / 0.5661 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.3671, allocations: 7.761 MB / 0.5737 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005882/0.373, allocations: 203.5 kB / 0.5739 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0146/0.3876, allocations: 5.723 MB / 0.5795 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009821/0.3974, allocations: 2.774 MB / 0.5822 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.4026, allocations: 1.597 MB / 0.5838 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.4145, allocations: 7.403 MB / 0.591 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01523/0.4297, allocations: 8.991 MB / 0.5998 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007568/0.4373, allocations: 3.842 MB / 0.6035 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009128/0.4464, allocations: 4.046 MB / 0.6075 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003738/0.4501, allocations: 1.075 MB / 0.6085 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005923/0.456, allocations: 1.434 MB / 0.6099 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005054/0.4611, allocations: 2.152 MB / 0.612 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007809/0.4689, allocations: 3.205 MB / 0.6152 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0202/0.4891, allocations: 14.56 MB / 0.6294 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.4891, allocations: 0 / 0.6294 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4891, allocations: 0 / 0.6294 GB, free: 6.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004043/0.4895, 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.02919/0.5187, allocations: 8.892 MB / 0.6381 GB, free: 13.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5188, allocations: 11.98 kB / 0.6381 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02663/0.5454, allocations: 4.402 MB / 0.6424 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.5574, allocations: 4.629 MB / 0.6469 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/0.558, allocations: 489.1 kB / 0.6473 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002695/0.5607, allocations: 0.621 MB / 0.648 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/0.5873, allocations: 10.48 MB / 0.6582 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002203/0.5875, allocations: 7.953 kB / 0.6582 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/0.5893, allocations: 272 kB / 0.6585 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004999/0.5898, allocations: 421.6 kB / 0.6589 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02367/0.6134, allocations: 9.854 MB / 0.6685 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06493/0.6784, allocations: 29.67 MB / 0.6975 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/0.6939, allocations: 6.697 MB / 0.704 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004309/0.6983, allocations: 2.106 MB / 0.7061 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/0.6987, allocations: 82.25 kB / 0.7061 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.239e-05/0.6988, allocations: 64.83 kB / 0.7062 GB, free: 7.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=295): time 6.312e-06/0.6988, allocations: 0 / 0.7062 GB, free: 7.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=301): time 0.02557/0.7243, allocations: 10.8 MB / 0.7167 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/0.7244, allocations: 89.66 kB / 0.7168 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005392/0.7298, allocations: 2.892 MB / 0.7196 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004556/0.7303, allocations: 73.7 kB / 0.7197 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002571/0.7328, allocations: 2.973 MB / 0.7226 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.7343, allocations: 1.089 MB / 0.7237 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/0.7366, allocations: 0.9177 MB / 0.7246 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7368, allocations: 301.1 kB / 0.7249 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003858/0.7406, allocations: 2.031 MB / 0.7269 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005565/0.7462, allocations: 3.753 MB / 0.7305 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009821/0.756, allocations: 6.058 MB / 0.7364 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.411e-05/0.7561, allocations: 16 kB / 0.7364 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01533/0.7714, allocations: 6.624 MB / 0.7429 GB, free: 140 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.105e-05/0.7715, allocations: 36.14 kB / 0.743 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.7716, allocations: 60 kB / 0.743 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.7737, allocations: 0.6603 MB / 0.7437 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004389/0.778, allocations: 1.076 MB / 0.7447 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.7883, allocations: 5.995 MB / 0.7506 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.792, allocations: 267.7 kB / 0.7508 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008831/0.7929, allocations: 239.9 kB / 0.751 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.005172/0.7981, allocations: 2.319 MB / 0.7533 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/0.7991, allocations: 318 kB / 0.7536 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009898/0.809, allocations: 4.604 MB / 0.7581 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/0.809, allocations: 35.94 kB / 0.7581 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/0.809, allocations: 7.984 kB / 0.7582 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.321e-05/0.8091, allocations: 11.95 kB / 0.7582 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/0.8322, allocations: 9.55 MB / 0.7675 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.8322, allocations: 4 kB / 0.7675 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/0.8345, allocations: 0.5382 MB / 0.768 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.8364, allocations: 0.5637 MB / 0.7686 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004349/0.8368, allocations: 71.98 kB / 0.7686 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008583/0.8454, allocations: 5.231 MB / 0.7737 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.8454, allocations: 7.938 kB / 0.7738 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2367/1.082, allocations: 6.56 MB / 0.7802 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.084, allocations: 0.6387 MB / 0.7808 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/1.085, allocations: 63.8 kB / 0.7808 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.086, allocations: 142 kB / 0.781 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004219/1.087, allocations: 219.1 kB / 0.7812 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/1.087, allocations: 94.36 kB / 0.7813 GB, free: 168.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003063/1.09, allocations: 1.843 MB / 0.7831 GB, free: 168.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.09, allocations: 0 / 0.7831 GB, free: 168.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005277/1.095, allocations: 1.168 MB / 0.7842 GB, free: 168.3 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.0006923/1.096, allocations: 236.7 kB / 0.7844 GB, free: 168.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008425/1.104, allocations: 4.827 MB / 0.7892 GB, free: 166.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.104, allocations: 1.344 kB / 0.7892 GB, free: 166.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003765/1.108, allocations: 2.118 MB / 0.7912 GB, free: 165.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/1.112, allocations: 0.5685 MB / 0.7918 GB, free: 165.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/1.136, allocations: 11.06 MB / 0.8026 GB, free: 160.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004095/1.14, allocations: 3.538 MB / 0.806 GB, free: 159.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.142, allocations: 328.1 kB / 0.8063 GB, free: 159.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/1.142, allocations: 0 / 0.8063 GB, free: 159.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1082/1.25, allocations: 109.2 MB / 0.913 GB, free: 60.42 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: 13.625759456306696] Failed to read output from testmodel.py, exit status != 0: 1.25853869644925 1.268253719 0.776416927 Calling exit ...