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.009157/0.009157, allocations: 101.3 kB / 15.88 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.342/2.342, allocations: 222.9 MB / 239.5 MB, free: 4.832 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.002088/0.002088, allocations: 187.9 kB / 289.8 MB, free: 2.574 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05876/0.05876, allocations: 8.796 MB / 348.7 MB, free: 4.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002654, allocations: 76.17 kB / 411.1 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.157, allocations: 51.57 MB / 462.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.04569/0.2028, allocations: 25 MB / 487.6 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02793/0.2308, allocations: 7.94 MB / 495.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00843/0.2393, allocations: 167.5 kB / 495.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02277/0.2621, allocations: 5.771 MB / 0.4897 GB, free: 8.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.2768, allocations: 2.523 MB / 0.4922 GB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007961/0.2848, allocations: 1.514 MB / 0.4937 GB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01756/0.3024, allocations: 7.365 MB / 0.5009 GB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0309/0.3334, allocations: 10.95 MB / 0.5116 GB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.3437, allocations: 3.236 MB / 0.5147 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01122/0.355, allocations: 4.048 MB / 0.5187 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004271/0.3594, allocations: 0.6953 MB / 0.5194 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007802/0.3672, allocations: 1.07 MB / 0.5204 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006096/0.3734, allocations: 1.753 MB / 0.5221 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01456/0.388, allocations: 3.726 MB / 0.5258 GB, free: 2.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3717/0.7598, allocations: 12.48 MB / 0.5379 GB, free: 26.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.7599, allocations: 3.891 kB / 0.5379 GB, free: 26.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.7599, allocations: 0.7188 kB / 0.5379 GB, free: 26.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005542/0.7605, allocations: 0 / 0.5379 GB, free: 26.19 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.05579/0.8163, allocations: 8.802 MB / 0.5465 GB, free: 23.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.842e-05/0.8164, allocations: 10.34 kB / 0.5466 GB, free: 23.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04712/0.8636, allocations: 4.381 MB / 0.5508 GB, free: 21.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/0.8829, allocations: 4.505 MB / 0.5552 GB, free: 20.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/0.884, allocations: 487.1 kB / 0.5557 GB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005232/0.8893, allocations: 0.6354 MB / 0.5563 GB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0456/0.9349, allocations: 10.35 MB / 0.5664 GB, free: 17.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005864/0.9356, allocations: 16.19 kB / 0.5664 GB, free: 17.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00395/0.9396, allocations: 268.3 kB / 0.5667 GB, free: 16.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007914/0.9404, allocations: 411 kB / 0.5671 GB, free: 16.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0334/0.9738, allocations: 9.863 MB / 0.5767 GB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/1.077, allocations: 35.68 MB / 0.6116 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/1.109, allocations: 20.66 MB / 0.6317 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006973/1.116, allocations: 2.303 MB / 0.634 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009809/1.117, allocations: 218 kB / 0.6342 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/1.117, allocations: 68.88 kB / 0.6343 GB, free: 12.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 2.176e-05/1.117, allocations: 0 / 0.6343 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.04329/1.16, allocations: 10.87 MB / 0.6449 GB, free: 1.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.161, allocations: 81.78 kB / 0.645 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009878/1.17, allocations: 3.023 MB / 0.6479 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009113/1.171, allocations: 73.7 kB / 0.648 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003574/1.175, allocations: 2.86 MB / 0.6508 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002229/1.177, allocations: 1.035 MB / 0.6518 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00473/1.182, allocations: 0.9052 MB / 0.6527 GB, free: 9.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/1.182, allocations: 305.1 kB / 0.653 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006254/1.189, allocations: 2.024 MB / 0.6549 GB, free: 6.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008342/1.197, allocations: 3.731 MB / 0.6586 GB, free: 2.227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/1.212, allocations: 6.045 MB / 0.6645 GB, free: 11.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.212, allocations: 16 kB / 0.6645 GB, free: 11.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02465/1.237, allocations: 6.623 MB / 0.671 GB, free: 5.277 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/1.237, allocations: 28 kB / 0.671 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/1.237, allocations: 56.22 kB / 0.671 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/1.24, allocations: 0.6678 MB / 0.6717 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006854/1.247, allocations: 1.067 MB / 0.6727 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.262, allocations: 5.802 MB / 0.6784 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007471/1.269, allocations: 279.5 kB / 0.6787 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/1.271, allocations: 234 kB / 0.6789 GB, free: 13.14 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.009499/1.281, allocations: 2.318 MB / 0.6812 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002078/1.283, allocations: 320 kB / 0.6815 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/1.3, allocations: 4.636 MB / 0.686 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-05/1.3, allocations: 32 kB / 0.686 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-05/1.3, allocations: 4 kB / 0.686 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.001e-05/1.3, allocations: 15.94 kB / 0.686 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04048/1.34, allocations: 11.26 MB / 0.697 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.594e-05/1.34, allocations: 8 kB / 0.697 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00404/1.345, allocations: 0.5301 MB / 0.6976 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002913/1.347, allocations: 0.5684 MB / 0.6981 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008505/1.348, allocations: 63.98 kB / 0.6982 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/1.361, allocations: 5.036 MB / 0.7031 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/1.361, allocations: 7.938 kB / 0.7031 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3786/1.74, allocations: 6.579 MB / 0.7095 GB, free: 174.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002964/1.743, allocations: 0.7302 MB / 0.7102 GB, free: 174.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.744, allocations: 59.47 kB / 0.7103 GB, free: 174.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.746, allocations: 146.4 kB / 0.7104 GB, free: 174.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/1.747, allocations: 214 kB / 0.7106 GB, free: 174.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/1.747, allocations: 86.5 kB / 0.7107 GB, free: 174.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006051/1.753, allocations: 2.014 MB / 0.7127 GB, free: 174.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.613e-06/1.753, allocations: 2.094 kB / 0.7127 GB, free: 174.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009506/1.763, allocations: 1.179 MB / 0.7138 GB, free: 174.5 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.001088/1.764, allocations: 221.9 kB / 0.7141 GB, free: 174.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01102/1.775, allocations: 5.021 MB / 0.719 GB, free: 172.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.775, allocations: 0 / 0.719 GB, free: 172.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004347/1.779, allocations: 2.27 MB / 0.7212 GB, free: 171.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006098/1.785, allocations: 0.6079 MB / 0.7218 GB, free: 171.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/1.814, allocations: 13.68 MB / 0.7351 GB, free: 164.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005264/1.819, allocations: 4.036 MB / 0.7391 GB, free: 162.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/1.821, allocations: 316.4 kB / 0.7394 GB, free: 162.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/1.821, allocations: 0 / 0.7394 GB, free: 162.4 MB / 494.1 MB Notification: Performance of Templates: time 0.1652/1.986, allocations: 106 MB / 0.8429 GB, free: 61.48 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)