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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 107.7 kB / 16.41 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.1 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 188.5 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03514/0.03514, allocations: 8.802 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 79.88 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08671, allocations: 51.58 MB / 0.5041 GB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.2034/0.2902, allocations: 25.42 MB / 0.5289 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3025, allocations: 8.021 MB / 0.5368 GB, free: 4.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003544/0.306, allocations: 172.8 kB / 0.5369 GB, free: 4.898 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01253/0.3186, allocations: 6.127 MB / 0.5429 GB, free: 4.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00733/0.326, allocations: 2.786 MB / 0.5456 GB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.3299, allocations: 1.626 MB / 0.5472 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008805/0.3387, allocations: 7.272 MB / 0.5543 GB, free: 1.109 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.3559, allocations: 13.32 MB / 0.5673 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.3612, allocations: 3.752 MB / 0.571 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006148/0.3674, allocations: 4.221 MB / 0.5751 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002007/0.3694, allocations: 1.074 MB / 0.5762 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003731/0.3732, allocations: 1.434 MB / 0.5776 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002244/0.3754, allocations: 2.141 MB / 0.5797 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005834/0.3813, allocations: 4.118 MB / 0.5837 GB, free: 13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.3963, allocations: 14.47 MB / 0.5978 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3964, allocations: 0 / 0.5978 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3964, allocations: 4 kB / 0.5978 GB, free: 14.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002547/0.3966, allocations: 0 / 0.5978 GB, free: 14.79 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.02239/0.419, allocations: 8.93 MB / 0.6065 GB, free: 5.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4191, allocations: 12.03 kB / 0.6066 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02475/0.4438, allocations: 4.433 MB / 0.6109 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009173/0.453, allocations: 4.633 MB / 0.6154 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/0.4535, allocations: 487.6 kB / 0.6159 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.4554, allocations: 0.6245 MB / 0.6165 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.4733, allocations: 10.35 MB / 0.6266 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.4735, allocations: 15.95 kB / 0.6266 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006618/0.4741, allocations: 263.7 kB / 0.6269 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/0.4745, allocations: 421.6 kB / 0.6273 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.4903, allocations: 9.87 MB / 0.6369 GB, free: 6.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05138/0.5417, allocations: 35.4 MB / 0.6715 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01913/0.5608, allocations: 20.66 MB / 0.6916 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003646/0.5645, allocations: 2.309 MB / 0.6939 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.5649, allocations: 224 kB / 0.6941 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/0.5649, allocations: 64.89 kB / 0.6942 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.16e-06/0.565, allocations: 4 kB / 0.6942 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02092/0.5859, allocations: 10.96 MB / 0.7049 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.586, allocations: 85.72 kB / 0.705 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/0.5906, allocations: 3.029 MB / 0.7079 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.5908, allocations: 73.7 kB / 0.708 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/0.5926, allocations: 2.959 MB / 0.7109 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008148/0.5935, allocations: 1.082 MB / 0.7119 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/0.5948, allocations: 0.9099 MB / 0.7128 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.5949, allocations: 305.1 kB / 0.7131 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/0.598, allocations: 2.027 MB / 0.7151 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/0.6022, allocations: 3.725 MB / 0.7187 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007546/0.6097, allocations: 6.047 MB / 0.7246 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.578e-05/0.6098, allocations: 16 kB / 0.7246 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01104/0.6208, allocations: 6.638 MB / 0.7311 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.6209, allocations: 28 kB / 0.7312 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-05/0.621, allocations: 56 kB / 0.7312 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.193/0.814, allocations: 0.6745 MB / 0.7319 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.8181, allocations: 1.068 MB / 0.7329 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/0.8258, allocations: 6.221 MB / 0.739 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.8291, allocations: 285.4 kB / 0.7393 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/0.8295, allocations: 227.9 kB / 0.7395 GB, free: 166.8 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.003501/0.8331, allocations: 2.311 MB / 0.7417 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/0.8337, allocations: 339.8 kB / 0.7421 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007663/0.8414, allocations: 4.637 MB / 0.7466 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.8414, allocations: 15.89 kB / 0.7466 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.8414, allocations: 1.75 kB / 0.7466 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.8427, allocations: 0.7454 MB / 0.7473 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.8431, allocations: 51.02 kB / 0.7474 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8446, allocations: 149.4 kB / 0.7475 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004203/0.845, allocations: 217.4 kB / 0.7477 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007296/0.8523, allocations: 4.282 MB / 0.7519 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007297/0.8596, allocations: 5.764 MB / 0.7575 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001918/0.8616, allocations: 1.718 MB / 0.7592 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002451/0.864, allocations: 2.011 MB / 0.7612 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of Backend: time 3.21e-07/0.864, allocations: 0 / 0.7612 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006698/0.8707, allocations: 3.903 MB / 0.765 GB, free: 159 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01416/0.8849, allocations: 10.63 MB / 0.7754 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.07446/0.9594, allocations: 56.88 MB / 0.8309 GB, free: 103.2 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile (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)