Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009599, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.203/1.203, allocations: 222.9 MB / 238.8 MB, free: 4.77 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.001117/0.001117, allocations: 192.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03184/0.03184, allocations: 8.783 MB / 348.1 MB, free: 4.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 73.47 kB / 410.4 MB, free: 42.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07332/0.07457, allocations: 51.57 MB / 462 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02257/0.09717, allocations: 25.01 MB / 487 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.1114, allocations: 7.944 MB / 494.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004116/0.1155, allocations: 163.5 kB / 495.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01208/0.1276, allocations: 5.77 MB / 0.4891 GB, free: 7.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007416/0.135, allocations: 2.533 MB / 0.4916 GB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.1388, allocations: 1.5 MB / 0.493 GB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008195/0.147, allocations: 7.362 MB / 0.5002 GB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/0.1601, allocations: 10.96 MB / 0.5109 GB, free: 1.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.1641, allocations: 3.244 MB / 0.5141 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.1687, allocations: 4.033 MB / 0.518 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.1698, allocations: 0.6992 MB / 0.5187 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.1723, allocations: 1.066 MB / 0.5198 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.1738, allocations: 1.76 MB / 0.5215 GB, free: 6.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00381/0.1776, allocations: 3.726 MB / 0.5251 GB, free: 2.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1751/0.3526, allocations: 14.09 MB / 0.5389 GB, free: 27.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3527, allocations: 0.9688 kB / 0.5389 GB, free: 27.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3527, allocations: 0 / 0.5389 GB, free: 27.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003844/0.3531, allocations: 1.25 kB / 0.5389 GB, free: 27.18 MB / 366.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.02563/0.3787, allocations: 8.803 MB / 0.5475 GB, free: 23.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3788, allocations: 10.78 kB / 0.5475 GB, free: 23.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02439/0.4032, allocations: 4.383 MB / 0.5518 GB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.4134, allocations: 4.503 MB / 0.5562 GB, free: 20.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000486/0.414, allocations: 490.5 kB / 0.5566 GB, free: 20.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/0.4167, allocations: 0.6286 MB / 0.5572 GB, free: 20.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.4381, allocations: 10.36 MB / 0.5674 GB, free: 17.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.4383, allocations: 10.2 kB / 0.5674 GB, free: 17.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.4394, allocations: 266.6 kB / 0.5676 GB, free: 17.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003096/0.4397, allocations: 416.5 kB / 0.568 GB, free: 16.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.4548, allocations: 9.86 MB / 0.5776 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0472/0.5021, allocations: 35.67 MB / 0.6125 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/0.5181, allocations: 20.66 MB / 0.6327 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.5217, allocations: 2.306 MB / 0.6349 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.522, allocations: 231.7 kB / 0.6351 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.522, allocations: 60.89 kB / 0.6352 GB, free: 12.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 4.238e-06/0.522, allocations: 4 kB / 0.6352 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.01903/0.541, allocations: 10.86 MB / 0.6458 GB, free: 1.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.5411, allocations: 81.78 kB / 0.6459 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.5451, allocations: 3.029 MB / 0.6488 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.5454, allocations: 73.64 kB / 0.6489 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.5469, allocations: 2.861 MB / 0.6517 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007407/0.5476, allocations: 1.042 MB / 0.6527 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.5488, allocations: 0.9016 MB / 0.6536 GB, free: 9.031 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.5489, allocations: 301.1 kB / 0.6539 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/0.5516, allocations: 2.027 MB / 0.6559 GB, free: 6.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00363/0.5553, allocations: 3.729 MB / 0.6595 GB, free: 2.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006673/0.5619, allocations: 6.048 MB / 0.6654 GB, free: 11.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-05/0.562, allocations: 12 kB / 0.6654 GB, free: 11.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009617/0.5716, allocations: 6.633 MB / 0.6719 GB, free: 5.254 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.5717, allocations: 28 kB / 0.6719 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-05/0.5717, allocations: 56.22 kB / 0.672 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.5734, allocations: 0.6673 MB / 0.6726 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.5768, allocations: 1.066 MB / 0.6737 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/0.5842, allocations: 5.793 MB / 0.6793 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.587, allocations: 279.5 kB / 0.6796 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/0.5874, allocations: 232 kB / 0.6798 GB, free: 13.12 MB / 478.1 MB 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.003317/0.5907, allocations: 2.317 MB / 0.6821 GB, free: 10.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/0.5912, allocations: 316.1 kB / 0.6824 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007205/0.5985, allocations: 4.642 MB / 0.6869 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.5985, allocations: 34.81 kB / 0.687 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.5985, allocations: 4 kB / 0.687 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/0.5985, allocations: 15.94 kB / 0.687 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.6147, allocations: 11.25 MB / 0.698 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.6147, allocations: 8.047 kB / 0.698 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/0.6168, allocations: 0.5349 MB / 0.6985 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.6183, allocations: 0.5676 MB / 0.699 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.6185, allocations: 67.98 kB / 0.6991 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006287/0.6248, allocations: 5.034 MB / 0.704 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.6248, allocations: 11.59 kB / 0.704 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1678/0.7926, allocations: 6.58 MB / 0.7105 GB, free: 175.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/0.7945, allocations: 0.7211 MB / 0.7112 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004606/0.795, allocations: 63.92 kB / 0.7112 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.7964, allocations: 143.7 kB / 0.7114 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004295/0.7968, allocations: 212.1 kB / 0.7116 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/0.797, allocations: 85.7 kB / 0.7117 GB, free: 175.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002849/0.7999, allocations: 2.019 MB / 0.7136 GB, free: 175.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7999, allocations: 1.125 kB / 0.7136 GB, free: 175.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004051/0.8039, allocations: 1.172 MB / 0.7148 GB, free: 175.1 MB / 494.1 MB 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.0004959/0.8045, allocations: 228.6 kB / 0.715 GB, free: 175 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00759/0.8121, allocations: 5.026 MB / 0.7199 GB, free: 173.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8121, allocations: 0 / 0.7199 GB, free: 173.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.8152, allocations: 2.265 MB / 0.7221 GB, free: 172.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.8183, allocations: 0.6198 MB / 0.7227 GB, free: 172 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.8339, allocations: 13.79 MB / 0.7362 GB, free: 164.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/0.8369, allocations: 4.15 MB / 0.7402 GB, free: 162.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00344/0.8403, allocations: 1.329 MB / 0.7415 GB, free: 162.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007634/0.8411, allocations: 271.7 kB / 0.7418 GB, free: 162.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.8411, allocations: 0 / 0.7418 GB, free: 162.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06122/0.9024, allocations: 46.12 MB / 0.7868 GB, free: 119.9 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)