Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 108.7 kB / 16.41 MB, free: 5.914 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.318/1.318, allocations: 222.9 MB / 240.1 MB, free: 4.48 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.001574/0.001574, allocations: 184.5 kB / 290.4 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03571/0.03571, allocations: 8.8 MB / 349.3 MB, free: 4.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 79.88 kB / 464.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08354/0.08508, allocations: 51.57 MB / 0.5041 GB, free: 9.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.204/0.2891, allocations: 25.4 MB / 0.5289 GB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3011, allocations: 8.014 MB / 0.5367 GB, free: 4.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.304, allocations: 176.4 kB / 0.5369 GB, free: 4.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01199/0.316, allocations: 6.131 MB / 0.5429 GB, free: 4.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00721/0.3232, allocations: 2.784 MB / 0.5456 GB, free: 3.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.3273, allocations: 1.628 MB / 0.5472 GB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008493/0.3358, allocations: 7.279 MB / 0.5543 GB, free: 1.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01846/0.3543, allocations: 13.38 MB / 0.5674 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.3594, allocations: 3.749 MB / 0.571 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005992/0.3655, allocations: 4.223 MB / 0.5751 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002045/0.3675, allocations: 1.07 MB / 0.5762 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.3711, allocations: 1.437 MB / 0.5776 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002322/0.3735, allocations: 2.144 MB / 0.5797 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004562/0.378, allocations: 4.114 MB / 0.5837 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3913, allocations: 14.47 MB / 0.5978 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3913, allocations: 4 kB / 0.5978 GB, free: 15.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3913, allocations: 0 / 0.5978 GB, free: 15.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002592/0.3916, allocations: 0 / 0.5978 GB, free: 15.01 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.02358/0.4152, allocations: 8.933 MB / 0.6066 GB, free: 6.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4152, allocations: 8.031 kB / 0.6066 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/0.4399, allocations: 4.44 MB / 0.6109 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008368/0.4483, allocations: 4.627 MB / 0.6154 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/0.4487, allocations: 488.7 kB / 0.6159 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.4503, allocations: 0.6287 MB / 0.6165 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/0.4685, allocations: 10.35 MB / 0.6266 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.4687, allocations: 15.89 kB / 0.6266 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007985/0.4695, allocations: 261 kB / 0.6269 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003753/0.4699, allocations: 421.6 kB / 0.6273 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.4857, allocations: 9.864 MB / 0.6369 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/0.5315, allocations: 35.41 MB / 0.6715 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/0.5488, allocations: 20.66 MB / 0.6916 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/0.5519, allocations: 2.301 MB / 0.6939 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/0.5522, allocations: 230.7 kB / 0.6941 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.5523, allocations: 64.89 kB / 0.6942 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 4.779e-06/0.5523, allocations: 0 / 0.6942 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.01929/0.5716, allocations: 10.96 MB / 0.7049 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.5717, allocations: 81.78 kB / 0.705 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.5757, allocations: 3.021 MB / 0.7079 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.5759, allocations: 81.7 kB / 0.708 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.5776, allocations: 2.964 MB / 0.7109 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007396/0.5784, allocations: 1.074 MB / 0.7119 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.5796, allocations: 0.9138 MB / 0.7128 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.5797, allocations: 301.1 kB / 0.7131 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.5826, allocations: 2.027 MB / 0.7151 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.5866, allocations: 3.724 MB / 0.7187 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007107/0.5937, allocations: 6.043 MB / 0.7246 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/0.5937, allocations: 20 kB / 0.7247 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01026/0.604, allocations: 6.639 MB / 0.7311 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.604, allocations: 36.03 kB / 0.7312 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.558e-05/0.6041, allocations: 56 kB / 0.7312 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.606, allocations: 0.6718 MB / 0.7319 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1976/0.8036, allocations: 1.065 MB / 0.7329 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008108/0.8117, allocations: 6.231 MB / 0.739 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003435/0.8152, allocations: 279.3 kB / 0.7393 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007189/0.8159, allocations: 230.7 kB / 0.7395 GB, free: 165.3 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.003646/0.8196, allocations: 2.309 MB / 0.7417 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006781/0.8202, allocations: 338.5 kB / 0.7421 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007529/0.8278, allocations: 4.64 MB / 0.7466 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/0.8278, allocations: 15.42 kB / 0.7466 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.8278, allocations: 0 / 0.7466 GB, free: 164.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.8291, allocations: 0.7448 MB / 0.7473 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/0.8295, allocations: 51.77 kB / 0.7474 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.8309, allocations: 148.2 kB / 0.7475 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.8313, allocations: 216.5 kB / 0.7477 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007111/0.8384, allocations: 4.275 MB / 0.7519 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007137/0.8455, allocations: 5.761 MB / 0.7575 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001885/0.8474, allocations: 1.721 MB / 0.7592 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002346/0.8498, allocations: 2.015 MB / 0.7612 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of Backend: time 3.31e-07/0.8498, allocations: 0.9375 kB / 0.7612 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006286/0.8561, allocations: 3.899 MB / 0.765 GB, free: 157.4 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01271/0.8688, allocations: 10.63 MB / 0.7754 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.07302/0.9419, allocations: 56.86 MB / 0.8309 GB, free: 101.7 MB / 0.5294 GB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1)