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.001559/0.001559, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.384/1.384, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001289/0.001289, allocations: 188.5 kB / 290.4 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03399/0.03399, allocations: 8.8 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 79.88 kB / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09958, allocations: 51.56 MB / 0.5041 GB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.2557/0.3553, allocations: 25.42 MB / 0.5289 GB, free: 4.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01636/0.3717, allocations: 8.02 MB / 0.5368 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006169/0.3779, allocations: 175.8 kB / 0.5369 GB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01576/0.3937, allocations: 6.094 MB / 0.5429 GB, free: 4.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009378/0.4032, allocations: 2.746 MB / 0.5456 GB, free: 3.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005392/0.4086, allocations: 1.617 MB / 0.5471 GB, free: 3.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4207, allocations: 7.274 MB / 0.5542 GB, free: 1.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02609/0.4468, allocations: 13.34 MB / 0.5673 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008377/0.4552, allocations: 3.749 MB / 0.5709 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00914/0.4644, allocations: 4.224 MB / 0.575 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003569/0.468, allocations: 1.074 MB / 0.5761 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005998/0.4741, allocations: 1.426 MB / 0.5775 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004216/0.4783, allocations: 2.148 MB / 0.5796 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009563/0.4879, allocations: 4.11 MB / 0.5836 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02068/0.5086, allocations: 14.45 MB / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.5087, allocations: 7.984 kB / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5087, allocations: 0 / 0.5977 GB, free: 15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004972/0.5092, allocations: 4 kB / 0.5977 GB, free: 14.99 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.03233/0.5415, allocations: 8.77 MB / 0.6063 GB, free: 6.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.5416, allocations: 8.031 kB / 0.6063 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02617/0.5678, allocations: 4.399 MB / 0.6106 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.5805, allocations: 4.612 MB / 0.6151 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007219/0.5813, allocations: 489.5 kB / 0.6156 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003144/0.5845, allocations: 0.632 MB / 0.6162 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/0.6133, allocations: 10.35 MB / 0.6263 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.6136, allocations: 19.83 kB / 0.6263 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00216/0.6157, allocations: 264.8 kB / 0.6265 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004717/0.6162, allocations: 417.6 kB / 0.6269 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/0.6376, allocations: 9.864 MB / 0.6366 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06033/0.698, allocations: 35.3 MB / 0.6711 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/0.7174, allocations: 20.66 MB / 0.6912 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003849/0.7213, allocations: 2.311 MB / 0.6935 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.7216, allocations: 231.3 kB / 0.6937 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.7217, allocations: 60.89 kB / 0.6938 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=295): time 5.37e-06/0.7217, allocations: 0 / 0.6938 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=301): time 0.02101/0.7427, allocations: 10.88 MB / 0.7044 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.7428, allocations: 85.78 kB / 0.7045 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004553/0.7474, allocations: 3.025 MB / 0.7074 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005092/0.7479, allocations: 73.7 kB / 0.7075 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.7499, allocations: 2.856 MB / 0.7103 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/0.7511, allocations: 1.038 MB / 0.7113 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.7525, allocations: 0.9055 MB / 0.7122 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7526, allocations: 301.1 kB / 0.7125 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/0.7557, allocations: 2.027 MB / 0.7145 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/0.76, allocations: 3.72 MB / 0.7181 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008002/0.768, allocations: 6.043 MB / 0.724 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-05/0.7681, allocations: 20 kB / 0.724 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01173/0.7799, allocations: 6.63 MB / 0.7305 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.78, allocations: 28 kB / 0.7305 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-05/0.7801, allocations: 56 kB / 0.7306 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.7819, allocations: 0.6697 MB / 0.7312 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2407/1.023, allocations: 1.07 MB / 0.7323 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/1.031, allocations: 6.221 MB / 0.7383 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/1.034, allocations: 280.4 kB / 0.7386 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007033/1.035, allocations: 228.9 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.004155/1.039, allocations: 2.31 MB / 0.7411 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007822/1.04, allocations: 324.5 kB / 0.7414 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008131/1.048, allocations: 4.632 MB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.048, allocations: 34.28 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.048, allocations: 6.625 kB / 0.7459 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.152e-05/1.048, allocations: 17.34 kB / 0.746 GB, free: 164.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.068, allocations: 11.08 MB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.068, allocations: 6.25 kB / 0.7568 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.07, allocations: 0.5322 MB / 0.7573 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/1.072, allocations: 0.5675 MB / 0.7579 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/1.072, allocations: 68.41 kB / 0.7579 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006221/1.078, allocations: 5.456 MB / 0.7633 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.078, allocations: 7.906 kB / 0.7633 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008449/1.087, allocations: 6.582 MB / 0.7697 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.088, allocations: 0.7242 MB / 0.7704 GB, free: 153.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/1.089, allocations: 59.88 kB / 0.7705 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.091, allocations: 148.1 kB / 0.7706 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004021/1.091, allocations: 208.5 kB / 0.7708 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.091, allocations: 86.53 kB / 0.7709 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002715/1.094, allocations: 2.019 MB / 0.7729 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/1.094, allocations: 1.719 kB / 0.7729 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0041/1.098, allocations: 1.17 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.0005201/1.099, allocations: 234.6 kB / 0.7742 GB, free: 152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007212/1.106, allocations: 5.04 MB / 0.7791 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.106, allocations: 3.812 kB / 0.7791 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.109, allocations: 2.261 MB / 0.7814 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.112, allocations: 0.6435 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.0169/1.129, allocations: 10.86 MB / 0.7926 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003496/1.133, allocations: 4.036 MB / 0.7965 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.134, allocations: 311.3 kB / 0.7968 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/1.134, allocations: 0 / 0.7968 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.1047/1.239, allocations: 106.6 MB / 0.9009 GB, free: 29.28 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)