Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 110.5 kB / 16.41 MB, free: 6.441 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.316/1.316, allocations: 222.9 MB / 240.1 MB, free: 4.527 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.001316/0.001316, allocations: 188.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03565/0.03565, allocations: 8.791 MB / 349.3 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.88 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08639, allocations: 51.56 MB / 0.5041 GB, free: 9.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.2165/0.3029, allocations: 25.42 MB / 0.5289 GB, free: 4.965 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3164, allocations: 8.017 MB / 0.5368 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.3202, allocations: 173.7 kB / 0.5369 GB, free: 4.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.3328, allocations: 6.105 MB / 0.5429 GB, free: 4.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00711/0.34, allocations: 2.733 MB / 0.5456 GB, free: 3.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.3436, allocations: 1.621 MB / 0.5471 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007931/0.3515, allocations: 7.277 MB / 0.5542 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/0.3665, allocations: 13.31 MB / 0.5672 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004752/0.3712, allocations: 3.753 MB / 0.5709 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005014/0.3763, allocations: 4.215 MB / 0.575 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.3776, allocations: 1.07 MB / 0.5761 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.3801, allocations: 1.444 MB / 0.5775 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.3816, allocations: 2.14 MB / 0.5796 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003694/0.3853, allocations: 4.114 MB / 0.5836 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.3985, allocations: 14.44 MB / 0.5977 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3985, allocations: 0 / 0.5977 GB, free: 14.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.3986, allocations: 4 kB / 0.5977 GB, free: 14.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003148/0.3989, allocations: 0 / 0.5977 GB, free: 14.85 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.02313/0.422, allocations: 8.778 MB / 0.6063 GB, free: 6.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4221, allocations: 8.031 kB / 0.6063 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02423/0.4463, allocations: 4.4 MB / 0.6106 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009189/0.4555, allocations: 4.615 MB / 0.6151 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005439/0.4561, allocations: 488.5 kB / 0.6155 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/0.4584, allocations: 0.6231 MB / 0.6162 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.4788, allocations: 10.35 MB / 0.6263 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.479, allocations: 11.91 kB / 0.6263 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006665/0.4796, allocations: 261 kB / 0.6265 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003858/0.48, allocations: 421.6 kB / 0.6269 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.4953, allocations: 9.868 MB / 0.6366 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04859/0.5439, allocations: 35.31 MB / 0.671 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/0.5619, allocations: 20.66 MB / 0.6912 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.5652, allocations: 2.308 MB / 0.6935 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.5655, allocations: 231 kB / 0.6937 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.5656, allocations: 64.83 kB / 0.6938 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.899e-06/0.5656, allocations: 0 / 0.6938 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.01979/0.5854, allocations: 10.87 MB / 0.7044 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5855, allocations: 81.78 kB / 0.7045 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00445/0.5899, allocations: 3.021 MB / 0.7074 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.5901, allocations: 77.7 kB / 0.7075 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.5919, allocations: 2.866 MB / 0.7103 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007627/0.5926, allocations: 1.027 MB / 0.7113 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.594, allocations: 0.9094 MB / 0.7122 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.5941, allocations: 301.1 kB / 0.7125 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.597, allocations: 2.027 MB / 0.7144 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/0.601, allocations: 3.724 MB / 0.7181 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007331/0.6083, allocations: 6.043 MB / 0.724 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/0.6084, allocations: 16 kB / 0.724 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01087/0.6193, allocations: 6.621 MB / 0.7305 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.6193, allocations: 28 kB / 0.7305 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.025e-05/0.6194, allocations: 56.22 kB / 0.7305 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.6214, allocations: 0.6833 MB / 0.7312 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2004/0.8218, allocations: 1.068 MB / 0.7322 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/0.8295, allocations: 6.22 MB / 0.7383 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.8328, allocations: 282.5 kB / 0.7386 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/0.8332, allocations: 226 kB / 0.7388 GB, free: 165.2 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.003354/0.8366, allocations: 2.316 MB / 0.7411 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/0.8372, allocations: 323.3 kB / 0.7414 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007574/0.8448, allocations: 4.626 MB / 0.7459 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/0.8449, allocations: 15.28 kB / 0.7459 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.8449, allocations: 5.484 kB / 0.7459 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.8462, allocations: 0.7308 MB / 0.7466 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/0.8466, allocations: 59.08 kB / 0.7467 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.8481, allocations: 146.1 kB / 0.7468 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/0.8484, allocations: 208.4 kB / 0.747 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007341/0.8558, allocations: 4.279 MB / 0.7512 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007388/0.8632, allocations: 5.747 MB / 0.7568 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002031/0.8653, allocations: 1.713 MB / 0.7585 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002574/0.8678, allocations: 2.021 MB / 0.7605 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of Backend: time 4.81e-07/0.8679, allocations: 0 / 0.7605 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006791/0.8746, allocations: 3.885 MB / 0.7642 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01354/0.8882, allocations: 10.46 MB / 0.7745 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.07576/0.964, allocations: 57.39 MB / 0.8305 GB, free: 102 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)