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.001065/0.001065, allocations: 113 kB / 16.42 MB, free: 6.469 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.411/1.411, allocations: 222.9 MB / 240.1 MB, free: 4.512 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.001264/0.001264, allocations: 188.5 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03639/0.03639, allocations: 8.796 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 83.88 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07733/0.0788, allocations: 51.56 MB / 0.5041 GB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.1926/0.2715, allocations: 25.4 MB / 0.5289 GB, free: 5.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.283, allocations: 8.007 MB / 0.5367 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.2855, allocations: 176.5 kB / 0.5369 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.2968, allocations: 6.107 MB / 0.5428 GB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006113/0.3029, allocations: 2.733 MB / 0.5455 GB, free: 3.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.3063, allocations: 1.616 MB / 0.5471 GB, free: 3.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007317/0.3136, allocations: 7.279 MB / 0.5542 GB, free: 1.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01546/0.3291, allocations: 13.33 MB / 0.5672 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004665/0.3338, allocations: 3.754 MB / 0.5709 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005085/0.3389, allocations: 4.218 MB / 0.575 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.3403, allocations: 1.07 MB / 0.576 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.343, allocations: 1.438 MB / 0.5774 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.3446, allocations: 2.143 MB / 0.5795 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003931/0.3486, allocations: 4.107 MB / 0.5836 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.3614, allocations: 14.45 MB / 0.5977 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3614, allocations: 0 / 0.5977 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.3614, allocations: 0 / 0.5977 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002202/0.3617, allocations: 3.938 kB / 0.5977 GB, free: 14.9 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.02304/0.3847, allocations: 8.774 MB / 0.6062 GB, free: 6.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3848, allocations: 8.031 kB / 0.6062 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02597/0.4107, allocations: 4.403 MB / 0.6105 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008512/0.4193, allocations: 4.615 MB / 0.6151 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/0.4196, allocations: 489.8 kB / 0.6155 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.4209, allocations: 0.6214 MB / 0.6161 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.4379, allocations: 10.36 MB / 0.6262 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/0.438, allocations: 7.906 kB / 0.6262 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007162/0.4388, allocations: 259.7 kB / 0.6265 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003833/0.4391, allocations: 421.6 kB / 0.6269 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.4545, allocations: 9.876 MB / 0.6365 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.4982, allocations: 35.3 MB / 0.671 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/0.5163, allocations: 20.66 MB / 0.6912 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/0.5198, allocations: 2.315 MB / 0.6935 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.5201, allocations: 219.5 kB / 0.6937 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.5201, allocations: 68.88 kB / 0.6937 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.26e-06/0.5201, allocations: 3.938 kB / 0.6937 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.01988/0.54, allocations: 10.87 MB / 0.7043 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.5401, allocations: 81.78 kB / 0.7044 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.544, allocations: 3.021 MB / 0.7074 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.5442, allocations: 73.7 kB / 0.7074 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.5458, allocations: 2.865 MB / 0.7102 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000712/0.5466, allocations: 1.038 MB / 0.7113 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.5478, allocations: 0.9055 MB / 0.7121 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.5479, allocations: 301.1 kB / 0.7124 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/0.5507, allocations: 2.02 MB / 0.7144 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.5546, allocations: 3.736 MB / 0.718 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006938/0.5615, allocations: 6.043 MB / 0.7239 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.5615, allocations: 16 kB / 0.724 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009977/0.5715, allocations: 6.626 MB / 0.7304 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.5716, allocations: 28.22 kB / 0.7305 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.005e-05/0.5716, allocations: 60 kB / 0.7305 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.5734, allocations: 0.6655 MB / 0.7312 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1709/0.7443, allocations: 1.07 MB / 0.7322 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007865/0.7522, allocations: 6.216 MB / 0.7383 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/0.7556, allocations: 282.1 kB / 0.7386 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/0.756, allocations: 230.3 kB / 0.7388 GB, free: 165.1 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.003063/0.7591, allocations: 2.31 MB / 0.741 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.7596, allocations: 324.2 kB / 0.7413 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007504/0.7671, allocations: 4.626 MB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/0.7672, allocations: 14.95 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.7672, allocations: 1.812 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.7683, allocations: 0.7317 MB / 0.7466 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.7688, allocations: 59.02 kB / 0.7466 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.7703, allocations: 148.1 kB / 0.7468 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/0.7707, allocations: 208 kB / 0.747 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00729/0.778, allocations: 4.282 MB / 0.7512 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007241/0.7853, allocations: 5.746 MB / 0.7568 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001967/0.7873, allocations: 1.715 MB / 0.7584 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002468/0.7898, allocations: 2.019 MB / 0.7604 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of Backend: time 4.21e-07/0.7898, allocations: 0 / 0.7604 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006554/0.7963, allocations: 3.892 MB / 0.7642 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01321/0.8095, allocations: 10.46 MB / 0.7744 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.07244/0.882, allocations: 56.86 MB / 0.83 GB, free: 102.5 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)