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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 105.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 246.8 MB, free: 13.67 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 199.3 kB / 302 MB, free: 9.164 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04314/0.04314, allocations: 8.929 MB / 366 MB, free: 9.316 MB / 302.1 MB [Timeout remaining time 90] 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.002432/0.002432, allocations: 84.69 kB / 489.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09743, allocations: 54.41 MB / 0.5315 GB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.0301/0.1275, allocations: 25.53 MB / 0.5564 GB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.1443, allocations: 8.041 MB / 0.5643 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004318/0.1486, allocations: 175.4 kB / 0.5644 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01548/0.1641, allocations: 6.176 MB / 0.5705 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009273/0.1734, allocations: 2.786 MB / 0.5732 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005082/0.1785, allocations: 1.647 MB / 0.5748 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01148/0.1899, allocations: 7.279 MB / 0.5819 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0167/0.2066, allocations: 10.12 MB / 0.5918 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00603/0.2127, allocations: 3.76 MB / 0.5954 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0074/0.2201, allocations: 4.275 MB / 0.5996 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00282/0.2229, allocations: 1.074 MB / 0.6007 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.2274, allocations: 1.429 MB / 0.6021 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002976/0.2303, allocations: 2.151 MB / 0.6042 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006841/0.2372, allocations: 4.109 MB / 0.6082 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01757/0.2547, allocations: 14.48 MB / 0.6223 GB, free: 1.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2548, allocations: 0 / 0.6223 GB, free: 1.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2548, allocations: 0 / 0.6223 GB, free: 1.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003443/0.2551, allocations: 4 kB / 0.6223 GB, free: 1.363 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.0266/0.2817, allocations: 8.925 MB / 0.631 GB, free: 8.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.323e-05/0.2818, allocations: 11.97 kB / 0.6311 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02694/0.3087, allocations: 4.437 MB / 0.6354 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.208/0.5168, allocations: 4.625 MB / 0.6399 GB, free: 84.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005484/0.5173, allocations: 484.6 kB / 0.6404 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/0.5196, allocations: 0.6267 MB / 0.641 GB, free: 84.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/0.5406, allocations: 10.35 MB / 0.6511 GB, free: 81.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.5407, allocations: 15.38 kB / 0.6511 GB, free: 81.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007162/0.5415, allocations: 270.9 kB / 0.6514 GB, free: 80.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000282/0.5417, allocations: 414.7 kB / 0.6518 GB, free: 80.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.5557, allocations: 9.871 MB / 0.6614 GB, free: 76.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03766/0.5934, allocations: 35.39 MB / 0.696 GB, free: 42.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.6065, allocations: 20.39 MB / 0.7159 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.6094, allocations: 2.109 MB / 0.7179 GB, free: 17.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.6097, allocations: 228 kB / 0.7181 GB, free: 16.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6097, allocations: 64.89 kB / 0.7182 GB, free: 16.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 4.668e-06/0.6097, allocations: 0 / 0.7182 GB, free: 16.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01735/0.6271, allocations: 10.93 MB / 0.7289 GB, free: 5.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6272, allocations: 97.58 kB / 0.729 GB, free: 5.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/0.6307, allocations: 3.025 MB / 0.7319 GB, free: 2.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002779/0.631, allocations: 77.7 kB / 0.732 GB, free: 2.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.6322, allocations: 2.953 MB / 0.7349 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.6333, allocations: 1.089 MB / 0.736 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.6348, allocations: 0.9138 MB / 0.7368 GB, free: 13.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.635, allocations: 305.1 kB / 0.7371 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003337/0.6383, allocations: 2.024 MB / 0.7391 GB, free: 11.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004943/0.6432, allocations: 3.726 MB / 0.7428 GB, free: 7.066 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008918/0.6522, allocations: 6.047 MB / 0.7487 GB, free: 224 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.786e-05/0.6522, allocations: 19.94 kB / 0.7487 GB, free: 204 kB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01237/0.6646, allocations: 6.624 MB / 0.7551 GB, free: 9.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.6646, allocations: 28 kB / 0.7552 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.611e-05/0.6647, allocations: 56 kB / 0.7552 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/0.6666, allocations: 0.6758 MB / 0.7559 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/0.6707, allocations: 1.065 MB / 0.7569 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009889/0.6805, allocations: 6.221 MB / 0.763 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.684, allocations: 283.5 kB / 0.7633 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005439/0.6846, allocations: 232 kB / 0.7635 GB, free: 0.8398 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.004297/0.6889, allocations: 2.311 MB / 0.7657 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/0.6897, allocations: 329.9 kB / 0.7661 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00895/0.6986, allocations: 4.63 MB / 0.7706 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.6986, allocations: 28 kB / 0.7706 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.6987, allocations: 12 kB / 0.7706 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-05/0.6987, allocations: 23.88 kB / 0.7706 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/0.719, allocations: 11.06 MB / 0.7814 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.719, allocations: 8.031 kB / 0.7815 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/0.7214, allocations: 0.5382 MB / 0.782 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.7231, allocations: 0.5662 MB / 0.7825 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/0.7234, allocations: 63.98 kB / 0.7826 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008409/0.7318, allocations: 5.459 MB / 0.7879 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-06/0.7318, allocations: 7.938 kB / 0.7879 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/0.7433, allocations: 6.585 MB / 0.7944 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/0.7452, allocations: 0.7368 MB / 0.7951 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005686/0.7458, allocations: 64.05 kB / 0.7951 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/0.7476, allocations: 147.8 kB / 0.7953 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004175/0.748, allocations: 210 kB / 0.7955 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/0.7482, allocations: 91.98 kB / 0.7956 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003571/0.7518, allocations: 2.016 MB / 0.7975 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7518, allocations: 0 / 0.7975 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004818/0.7566, allocations: 1.176 MB / 0.7987 GB, free: 12.3 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.0005887/0.7572, allocations: 229.8 kB / 0.7989 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009124/0.7663, allocations: 4.824 MB / 0.8036 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.7663, allocations: 3.938 kB / 0.8036 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004067/0.7704, allocations: 2.098 MB / 0.8057 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.7739, allocations: 0.6507 MB / 0.8063 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.7948, allocations: 11.11 MB / 0.8172 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/0.7995, allocations: 4.036 MB / 0.8211 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.8009, allocations: 311.3 kB / 0.8214 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.8009, allocations: 0 / 0.8214 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.3111/1.112, allocations: 107.1 MB / 0.926 GB, free: 144.4 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]