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.001131/0.001131, allocations: 109 kB / 16.42 MB, free: 6.512 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.335/1.335, allocations: 222.9 MB / 240.1 MB, free: 4.363 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.001291/0.001291, allocations: 192.5 kB / 290.4 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03643/0.03643, allocations: 8.813 MB / 349.3 MB, free: 4.547 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 75.88 kB / 464.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.07972, allocations: 51.56 MB / 0.5041 GB, free: 9.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.1951/0.2749, allocations: 25.43 MB / 0.5289 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.2871, allocations: 8.007 MB / 0.5368 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.29, allocations: 173.6 kB / 0.5369 GB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.3015, allocations: 6.112 MB / 0.5429 GB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006408/0.3079, allocations: 2.735 MB / 0.5456 GB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.3114, allocations: 1.62 MB / 0.5471 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007615/0.319, allocations: 7.277 MB / 0.5542 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.016/0.335, allocations: 13.33 MB / 0.5673 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00482/0.3399, allocations: 3.76 MB / 0.5709 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005517/0.3454, allocations: 4.215 MB / 0.575 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.3469, allocations: 1.078 MB / 0.5761 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.3495, allocations: 1.429 MB / 0.5775 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001601/0.3511, allocations: 2.148 MB / 0.5796 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003916/0.3551, allocations: 4.107 MB / 0.5836 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.3674, allocations: 14.44 MB / 0.5977 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3674, allocations: 0 / 0.5977 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3674, allocations: 0 / 0.5977 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001819/0.3676, allocations: 0 / 0.5977 GB, free: 14.89 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.02135/0.389, allocations: 8.786 MB / 0.6063 GB, free: 6.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.389, allocations: 8.031 kB / 0.6063 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02588/0.4149, allocations: 4.398 MB / 0.6106 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008261/0.4232, allocations: 4.61 MB / 0.6151 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.4235, allocations: 488.8 kB / 0.6156 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.4249, allocations: 0.6265 MB / 0.6162 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.4423, allocations: 10.35 MB / 0.6263 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.4424, allocations: 11.89 kB / 0.6263 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007231/0.4431, allocations: 264.2 kB / 0.6265 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003785/0.4435, allocations: 417.7 kB / 0.6269 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.4585, allocations: 9.868 MB / 0.6366 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04412/0.5026, allocations: 35.3 MB / 0.6711 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/0.521, allocations: 20.68 MB / 0.6912 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003202/0.5242, allocations: 2.306 MB / 0.6935 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/0.5245, allocations: 222.7 kB / 0.6937 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.5245, allocations: 64.89 kB / 0.6938 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 6.061e-06/0.5245, allocations: 0 / 0.6938 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.01975/0.5443, allocations: 10.88 MB / 0.7044 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.5444, allocations: 81.78 kB / 0.7045 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/0.5483, allocations: 3.021 MB / 0.7074 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.5485, allocations: 73.7 kB / 0.7075 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.5502, allocations: 2.865 MB / 0.7103 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007421/0.551, allocations: 1.038 MB / 0.7113 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.5523, allocations: 0.9094 MB / 0.7122 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.5523, allocations: 301.1 kB / 0.7125 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/0.5552, allocations: 2.027 MB / 0.7145 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00397/0.5592, allocations: 3.72 MB / 0.7181 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007211/0.5665, allocations: 6.043 MB / 0.724 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/0.5665, allocations: 16 kB / 0.724 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01029/0.5768, allocations: 6.63 MB / 0.7305 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.5768, allocations: 28 kB / 0.7305 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.549e-05/0.5769, allocations: 56 kB / 0.7306 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.5787, allocations: 0.6681 MB / 0.7312 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1814/0.7601, allocations: 1.066 MB / 0.7323 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008026/0.7682, allocations: 6.221 MB / 0.7383 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/0.7717, allocations: 282.3 kB / 0.7386 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005891/0.7723, allocations: 225.7 kB / 0.7388 GB, free: 165 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.0034/0.7757, allocations: 2.313 MB / 0.7411 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006363/0.7763, allocations: 324.7 kB / 0.7414 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007564/0.7839, allocations: 4.63 MB / 0.7459 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/0.7839, allocations: 20.17 kB / 0.7459 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.784, allocations: 1.781 kB / 0.7459 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.7851, allocations: 0.729 MB / 0.7466 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004253/0.7856, allocations: 51.55 kB / 0.7467 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.7871, allocations: 145.4 kB / 0.7468 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/0.7875, allocations: 209.2 kB / 0.747 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007222/0.7947, allocations: 4.281 MB / 0.7512 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007171/0.8019, allocations: 5.751 MB / 0.7568 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001965/0.8039, allocations: 1.711 MB / 0.7585 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002382/0.8063, allocations: 2.012 MB / 0.7605 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of Backend: time 3.31e-07/0.8063, allocations: 3.938 kB / 0.7605 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0065/0.8128, allocations: 3.893 MB / 0.7643 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01294/0.8258, allocations: 10.46 MB / 0.7745 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.07245/0.8982, allocations: 56.87 MB / 0.83 GB, free: 102.5 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)