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.001391/0.001392, allocations: 104.6 kB / 16.4 MB, free: 6.508 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.402/1.402, allocations: 222.9 MB / 240.1 MB, free: 4.398 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.001454/0.001454, allocations: 192.4 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03582/0.03582, allocations: 8.805 MB / 349.3 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 75.86 kB / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1157, allocations: 51.57 MB / 0.5041 GB, free: 9.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.291/0.4068, allocations: 25.42 MB / 0.5289 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01586/0.4227, allocations: 8.019 MB / 0.5368 GB, free: 4.816 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006268/0.429, allocations: 175.9 kB / 0.5369 GB, free: 4.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01384/0.4428, allocations: 6.093 MB / 0.5429 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009196/0.4521, allocations: 2.747 MB / 0.5456 GB, free: 3.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005283/0.4574, allocations: 1.605 MB / 0.5471 GB, free: 3.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.4687, allocations: 7.289 MB / 0.5542 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02059/0.4894, allocations: 13.32 MB / 0.5672 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006944/0.4963, allocations: 3.753 MB / 0.5709 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00784/0.5042, allocations: 4.221 MB / 0.575 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003282/0.5075, allocations: 1.07 MB / 0.5761 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005255/0.5128, allocations: 1.435 MB / 0.5775 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003468/0.5163, allocations: 2.145 MB / 0.5796 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008669/0.525, allocations: 4.112 MB / 0.5836 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.5429, allocations: 14.44 MB / 0.5977 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.543, allocations: 0 / 0.5977 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.543, allocations: 0 / 0.5977 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003668/0.5433, allocations: 0 / 0.5977 GB, free: 14.86 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.02639/0.5697, allocations: 8.779 MB / 0.6063 GB, free: 6.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5698, allocations: 16.02 kB / 0.6063 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/0.5957, allocations: 4.404 MB / 0.6106 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.6071, allocations: 4.613 MB / 0.6151 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005748/0.6077, allocations: 487.8 kB / 0.6155 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/0.6106, allocations: 0.6287 MB / 0.6162 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/0.6379, allocations: 10.35 MB / 0.6263 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003536/0.6383, allocations: 15.84 kB / 0.6263 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002524/0.6409, allocations: 267.6 kB / 0.6265 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005319/0.6414, allocations: 417.7 kB / 0.6269 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/0.6634, allocations: 9.869 MB / 0.6366 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/0.7221, allocations: 35.29 MB / 0.671 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01883/0.741, allocations: 20.67 MB / 0.6912 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003858/0.7449, allocations: 2.307 MB / 0.6935 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.7453, allocations: 223.4 kB / 0.6937 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.7454, allocations: 64.89 kB / 0.6938 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.45e-06/0.7454, allocations: 0 / 0.6938 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02099/0.7664, allocations: 10.88 MB / 0.7044 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.7665, allocations: 85.72 kB / 0.7045 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.7712, allocations: 3.017 MB / 0.7074 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.7715, allocations: 77.7 kB / 0.7075 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.7734, allocations: 2.864 MB / 0.7103 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009766/0.7744, allocations: 1.027 MB / 0.7113 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/0.7758, allocations: 0.9055 MB / 0.7122 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.7759, allocations: 309.1 kB / 0.7125 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/0.779, allocations: 2.024 MB / 0.7144 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/0.7833, allocations: 3.728 MB / 0.7181 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/0.7911, allocations: 6.039 MB / 0.724 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.369e-05/0.7912, allocations: 16 kB / 0.724 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01212/0.8034, allocations: 6.629 MB / 0.7305 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.8035, allocations: 34.25 kB / 0.7305 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.73e-05/0.8036, allocations: 56 kB / 0.7305 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.8054, allocations: 0.664 MB / 0.7312 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2346/1.04, allocations: 1.077 MB / 0.7322 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007922/1.048, allocations: 6.222 MB / 0.7383 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.052, allocations: 279.8 kB / 0.7386 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007255/1.053, allocations: 230.5 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.004176/1.057, allocations: 2.311 MB / 0.7411 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007897/1.058, allocations: 323.7 kB / 0.7414 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008258/1.066, allocations: 4.627 MB / 0.7459 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.543e-05/1.066, allocations: 34.2 kB / 0.7459 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/1.066, allocations: 5.688 kB / 0.7459 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.663e-05/1.066, allocations: 19.36 kB / 0.7459 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/1.086, allocations: 11.09 MB / 0.7568 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.086, allocations: 4.25 kB / 0.7568 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/1.088, allocations: 0.5336 MB / 0.7573 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/1.09, allocations: 0.5699 MB / 0.7579 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/1.09, allocations: 69.16 kB / 0.7579 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006168/1.096, allocations: 5.444 MB / 0.7632 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.096, allocations: 11.75 kB / 0.7633 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008801/1.105, allocations: 6.586 MB / 0.7697 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.107, allocations: 0.7195 MB / 0.7704 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000622/1.108, allocations: 60.39 kB / 0.7704 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.109, allocations: 148.5 kB / 0.7706 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/1.11, allocations: 205.7 kB / 0.7708 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.11, allocations: 98.38 kB / 0.7709 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002517/1.113, allocations: 2.011 MB / 0.7728 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 2.406 kB / 0.7728 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003865/1.116, allocations: 1.176 MB / 0.774 GB, free: 152.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * 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,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004747/1.117, allocations: 225.4 kB / 0.7742 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006766/1.124, allocations: 5.041 MB / 0.7791 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.124, allocations: 0 / 0.7791 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.127, allocations: 2.258 MB / 0.7813 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/1.13, allocations: 0.6485 MB / 0.782 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.146, allocations: 10.85 MB / 0.7926 GB, free: 140 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/1.149, allocations: 4.036 MB / 0.7965 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.151, allocations: 315.3 kB / 0.7968 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/1.151, allocations: 0 / 0.7968 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1067/1.257, allocations: 106.6 MB / 0.9009 GB, free: 29.11 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)