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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 194.7 kB / 301.4 MB, free: 9.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05178/0.05178, allocations: 8.92 MB / 365.5 MB, free: 9.227 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 82.62 kB / 489.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1103, allocations: 54.42 MB / 0.5311 GB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip2): time 0.03645/0.1468, allocations: 25.59 MB / 0.5561 GB, free: 4.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02298/0.1698, allocations: 8.057 MB / 0.5639 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006681/0.1764, allocations: 179.5 kB / 0.5641 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02075/0.1972, allocations: 6.163 MB / 0.5701 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.21, allocations: 2.79 MB / 0.5729 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007316/0.2173, allocations: 1.632 MB / 0.5744 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01484/0.2321, allocations: 7.287 MB / 0.5816 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02173/0.2539, allocations: 8.468 MB / 0.5898 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.2647, allocations: 3.752 MB / 0.5935 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01145/0.2762, allocations: 4.282 MB / 0.5977 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004274/0.2804, allocations: 1.074 MB / 0.5987 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005952/0.2864, allocations: 1.433 MB / 0.6001 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004681/0.2911, allocations: 2.147 MB / 0.6022 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01016/0.3012, allocations: 4.113 MB / 0.6062 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02593/0.3272, allocations: 14.47 MB / 0.6204 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.3272, allocations: 0 / 0.6204 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3272, allocations: 0 / 0.6204 GB, free: 2.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005504/0.3277, allocations: 4 kB / 0.6204 GB, free: 2.793 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.02996/0.3577, allocations: 8.941 MB / 0.6291 GB, free: 9.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3577, allocations: 8.031 kB / 0.6291 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02586/0.3836, allocations: 4.44 MB / 0.6335 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.3962, allocations: 4.63 MB / 0.638 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/0.3968, allocations: 481.1 kB / 0.6384 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2401/0.6369, allocations: 0.6263 MB / 0.639 GB, free: 86.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/0.6637, allocations: 10.35 MB / 0.6492 GB, free: 82.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000318/0.664, allocations: 11.75 kB / 0.6492 GB, free: 82.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/0.666, allocations: 269.5 kB / 0.6494 GB, free: 82.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003812/0.6664, allocations: 422.8 kB / 0.6498 GB, free: 82.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.6885, allocations: 9.864 MB / 0.6595 GB, free: 78.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05136/0.7399, allocations: 35.38 MB / 0.694 GB, free: 44.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/0.7559, allocations: 20.4 MB / 0.7139 GB, free: 21.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003585/0.7595, allocations: 2.106 MB / 0.716 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.7599, allocations: 223.6 kB / 0.7162 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.834e-05/0.76, allocations: 65.45 kB / 0.7163 GB, free: 18.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 5.33e-06/0.76, allocations: 0 / 0.7163 GB, free: 18.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.02223/0.7822, allocations: 10.93 MB / 0.7269 GB, free: 7.895 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.7822, allocations: 81.78 kB / 0.727 GB, free: 7.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/0.7866, allocations: 3.037 MB / 0.73 GB, free: 4.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000373/0.787, allocations: 77.64 kB / 0.7301 GB, free: 4.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.7882, allocations: 2.962 MB / 0.7329 GB, free: 1.859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007876/0.7889, allocations: 1.083 MB / 0.734 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.7904, allocations: 0.9099 MB / 0.7349 GB, free: 15.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7905, allocations: 305.1 kB / 0.7352 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003395/0.7939, allocations: 2.024 MB / 0.7372 GB, free: 13.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004859/0.7988, allocations: 3.728 MB / 0.7408 GB, free: 9.016 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008733/0.8075, allocations: 6.051 MB / 0.7467 GB, free: 2.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.248e-05/0.8076, allocations: 16 kB / 0.7467 GB, free: 2.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01373/0.8213, allocations: 6.631 MB / 0.7532 GB, free: 11.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/0.8214, allocations: 28 kB / 0.7532 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/0.8215, allocations: 56 kB / 0.7533 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.8235, allocations: 0.6603 MB / 0.7539 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004138/0.8277, allocations: 1.069 MB / 0.755 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009986/0.8377, allocations: 6.233 MB / 0.7611 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/0.8416, allocations: 283.5 kB / 0.7613 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00083/0.8424, allocations: 228 kB / 0.7615 GB, free: 2.793 MB / 478.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.005372/0.8478, allocations: 2.323 MB / 0.7638 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/0.849, allocations: 329.9 kB / 0.7641 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.8594, allocations: 4.626 MB / 0.7686 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.8594, allocations: 28 kB / 0.7687 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.8594, allocations: 11.94 kB / 0.7687 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.8595, allocations: 15.94 kB / 0.7687 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02002/0.8795, allocations: 11.07 MB / 0.7795 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/0.8795, allocations: 11.94 kB / 0.7795 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00217/0.8817, allocations: 0.5266 MB / 0.78 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.8834, allocations: 0.5706 MB / 0.7806 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/0.8836, allocations: 67.98 kB / 0.7807 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008368/0.892, allocations: 5.462 MB / 0.786 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.892, allocations: 4 kB / 0.786 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.9034, allocations: 6.573 MB / 0.7924 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/0.9052, allocations: 0.7409 MB / 0.7931 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/0.9059, allocations: 63.88 kB / 0.7932 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.9076, allocations: 143.8 kB / 0.7933 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004799/0.9081, allocations: 217.9 kB / 0.7935 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/0.9083, allocations: 91.92 kB / 0.7936 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003455/0.9118, allocations: 2.016 MB / 0.7956 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.9118, allocations: 0 / 0.7956 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005036/0.9168, allocations: 1.172 MB / 0.7967 GB, free: 14.25 MB / 0.5137 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.0007713/0.9176, allocations: 228.4 kB / 0.797 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009341/0.9269, allocations: 4.824 MB / 0.8017 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.9269, allocations: 0 / 0.8017 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00402/0.9309, allocations: 2.109 MB / 0.8037 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.9343, allocations: 0.6403 MB / 0.8044 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.9549, allocations: 11.24 MB / 0.8153 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004995/0.9599, allocations: 4.146 MB / 0.8194 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003922/0.9638, allocations: 1.33 MB / 0.8207 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/0.9647, allocations: 275.4 kB / 0.8209 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/0.9647, allocations: 0 / 0.8209 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of Templates: time 0.3075/1.272, allocations: 47.34 MB / 0.8672 GB, free: 171.5 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.6152971452102065]