Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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.002083/0.002083, 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.492/1.492, allocations: 225.6 MB / 246.2 MB, free: 13.58 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.001543/0.001543, allocations: 195.4 kB / 301.4 MB, free: 9.066 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.04227/0.04227, allocations: 8.929 MB / 365.5 MB, free: 9.191 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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 89.42 kB / 489.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1084, allocations: 54.41 MB / 0.5311 GB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02927/0.1376, allocations: 25.59 MB / 0.5561 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.157, allocations: 8.061 MB / 0.5639 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006929/0.1639, allocations: 175.5 kB / 0.5641 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01699/0.1809, allocations: 6.164 MB / 0.5701 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01198/0.1929, allocations: 2.79 MB / 0.5729 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00627/0.1992, allocations: 1.639 MB / 0.5745 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01366/0.2128, allocations: 7.285 MB / 0.5816 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01615/0.229, allocations: 8.464 MB / 0.5898 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008097/0.2371, allocations: 3.756 MB / 0.5935 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008535/0.2456, allocations: 4.282 MB / 0.5977 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002935/0.2486, allocations: 1.074 MB / 0.5987 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.253, allocations: 1.433 MB / 0.6001 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003619/0.2566, allocations: 2.143 MB / 0.6022 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007976/0.2646, allocations: 4.109 MB / 0.6062 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02031/0.2849, allocations: 14.48 MB / 0.6204 GB, free: 2.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.2849, allocations: 0 / 0.6204 GB, free: 2.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2849, allocations: 4 kB / 0.6204 GB, free: 2.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004086/0.2853, allocations: 0 / 0.6204 GB, free: 2.766 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.03495/0.3202, allocations: 8.933 MB / 0.6291 GB, free: 9.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.3203, allocations: 8.031 kB / 0.6291 GB, free: 9.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02709/0.3474, allocations: 4.437 MB / 0.6334 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.3591, allocations: 4.626 MB / 0.638 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005717/0.3597, allocations: 489 kB / 0.6384 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2785/0.6382, allocations: 0.6253 MB / 0.639 GB, free: 85.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02565/0.6639, allocations: 10.35 MB / 0.6491 GB, free: 82.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001946/0.6641, allocations: 14.12 kB / 0.6492 GB, free: 82.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.6652, allocations: 264.6 kB / 0.6494 GB, free: 82.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003055/0.6655, allocations: 419.6 kB / 0.6498 GB, free: 82.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.6852, allocations: 9.87 MB / 0.6595 GB, free: 78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05117/0.7363, allocations: 35.4 MB / 0.694 GB, free: 43.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.7496, allocations: 20.39 MB / 0.7139 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003077/0.7527, allocations: 2.109 MB / 0.716 GB, free: 18.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.7529, allocations: 223.8 kB / 0.7162 GB, free: 18.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.753, allocations: 64.89 kB / 0.7163 GB, free: 18.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 4.068e-06/0.753, allocations: 0 / 0.7163 GB, free: 18.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01758/0.7706, allocations: 10.93 MB / 0.7269 GB, free: 7.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.7706, allocations: 81.78 kB / 0.727 GB, free: 7.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/0.7747, allocations: 3.023 MB / 0.73 GB, free: 4.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003746/0.7751, allocations: 81.7 kB / 0.7301 GB, free: 4.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.7764, allocations: 2.966 MB / 0.733 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008508/0.7773, allocations: 1.079 MB / 0.734 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.7786, allocations: 0.9138 MB / 0.7349 GB, free: 15.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.7788, allocations: 305.1 kB / 0.7352 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003514/0.7823, allocations: 2.024 MB / 0.7372 GB, free: 13.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/0.7871, allocations: 3.728 MB / 0.7408 GB, free: 8.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009146/0.7962, allocations: 6.051 MB / 0.7467 GB, free: 1.988 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.688e-05/0.7963, allocations: 20 kB / 0.7467 GB, free: 1.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01323/0.8095, allocations: 6.624 MB / 0.7532 GB, free: 11.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.8096, allocations: 28 kB / 0.7532 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.8097, allocations: 56 kB / 0.7533 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.8116, allocations: 0.664 MB / 0.7539 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/0.8156, allocations: 1.072 MB / 0.755 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/0.8252, allocations: 6.225 MB / 0.7611 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/0.8295, allocations: 291.5 kB / 0.7613 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000909/0.8304, allocations: 228 kB / 0.7616 GB, free: 2.605 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.005248/0.8357, allocations: 2.315 MB / 0.7638 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/0.8367, allocations: 338.1 kB / 0.7641 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.8468, allocations: 4.618 MB / 0.7686 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/0.8468, allocations: 28 kB / 0.7687 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.8468, allocations: 11.94 kB / 0.7687 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.684e-05/0.8468, allocations: 15.94 kB / 0.7687 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/0.8694, allocations: 11.08 MB / 0.7795 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.8694, allocations: 11.94 kB / 0.7795 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/0.8716, allocations: 0.5227 MB / 0.78 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.8733, allocations: 0.5706 MB / 0.7806 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002844/0.8736, allocations: 63.98 kB / 0.7807 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008229/0.8818, allocations: 5.462 MB / 0.786 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.8818, allocations: 11.94 kB / 0.786 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.8933, allocations: 6.577 MB / 0.7924 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/0.8955, allocations: 0.737 MB / 0.7931 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009573/0.8965, allocations: 67.98 kB / 0.7932 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/0.8986, allocations: 139.9 kB / 0.7933 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005412/0.8991, allocations: 206 kB / 0.7935 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002597/0.8994, allocations: 99.97 kB / 0.7936 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003655/0.903, allocations: 2.011 MB / 0.7956 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.903, allocations: 3.938 kB / 0.7956 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005577/0.9086, allocations: 1.172 MB / 0.7967 GB, free: 14.07 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.0005996/0.9092, allocations: 234.4 kB / 0.797 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009588/0.9188, allocations: 4.82 MB / 0.8017 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.9188, allocations: 4.062 kB / 0.8017 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004481/0.9233, allocations: 2.101 MB / 0.8037 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005172/0.9285, allocations: 0.6425 MB / 0.8044 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/0.9517, allocations: 11.24 MB / 0.8153 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004987/0.9567, allocations: 4.146 MB / 0.8194 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004104/0.9608, allocations: 1.337 MB / 0.8207 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/0.9617, allocations: 271.4 kB / 0.8209 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of SimCode: time 1.763e-06/0.9617, allocations: 0 / 0.8209 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of Templates: time 0.3245/1.286, allocations: 47.34 MB / 0.8672 GB, free: 193.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.588598524220288]