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.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 239.2 MB, free: 4.562 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.001382/0.001382, allocations: 192.5 kB / 289.5 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0352/0.0352, allocations: 8.798 MB / 348.5 MB, free: 4.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 78.3 kB / 411.1 MB, free: 42.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09789, allocations: 51.57 MB / 462.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.02771/0.1256, allocations: 25.42 MB / 488.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.1414, allocations: 8.01 MB / 496.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.1459, allocations: 179.5 kB / 496.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01369/0.1596, allocations: 6.113 MB / 0.4906 GB, free: 6.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008807/0.1685, allocations: 2.741 MB / 0.4933 GB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.1733, allocations: 1.616 MB / 0.4948 GB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.1843, allocations: 7.225 MB / 0.5019 GB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02104/0.2054, allocations: 13.34 MB / 0.5149 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005793/0.2113, allocations: 3.721 MB / 0.5186 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/0.2184, allocations: 4.251 MB / 0.5227 GB, free: 5.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00317/0.2216, allocations: 1.07 MB / 0.5238 GB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004258/0.2259, allocations: 1.441 MB / 0.5252 GB, free: 2.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002447/0.2283, allocations: 2.147 MB / 0.5273 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2206/0.449, allocations: 4.106 MB / 0.5313 GB, free: 23.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.4651, allocations: 14.36 MB / 0.5453 GB, free: 21.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4651, allocations: 0 / 0.5453 GB, free: 21.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4651, allocations: 1.219 kB / 0.5453 GB, free: 21.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003853/0.4655, allocations: 1.219 kB / 0.5453 GB, free: 21.96 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.03238/0.4979, allocations: 8.811 MB / 0.5539 GB, free: 18.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.498, allocations: 9.562 kB / 0.5539 GB, free: 18.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/0.5254, allocations: 4.383 MB / 0.5582 GB, free: 16.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.5376, allocations: 4.503 MB / 0.5626 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/0.5382, allocations: 491.8 kB / 0.5631 GB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003498/0.5417, allocations: 0.6297 MB / 0.5637 GB, free: 15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.5685, allocations: 10.35 MB / 0.5738 GB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.5687, allocations: 17.45 kB / 0.5738 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/0.5699, allocations: 265 kB / 0.5741 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.5702, allocations: 411.1 kB / 0.5744 GB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.5881, allocations: 9.869 MB / 0.5841 GB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05855/0.6467, allocations: 35.68 MB / 0.6189 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/0.6669, allocations: 20.66 MB / 0.6391 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003875/0.6709, allocations: 2.306 MB / 0.6413 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/0.6712, allocations: 225.6 kB / 0.6416 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.6712, allocations: 60.89 kB / 0.6416 GB, free: 3.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 5.601e-06/0.6712, allocations: 0 / 0.6416 GB, free: 3.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02068/0.6919, allocations: 10.87 MB / 0.6522 GB, free: 8.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.692, allocations: 81.78 kB / 0.6523 GB, free: 8.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004541/0.6965, allocations: 3.025 MB / 0.6553 GB, free: 5.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003888/0.697, allocations: 77.7 kB / 0.6553 GB, free: 5.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/0.6987, allocations: 2.865 MB / 0.6581 GB, free: 2.711 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009364/0.6997, allocations: 1.032 MB / 0.6591 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/0.7009, allocations: 0.9055 MB / 0.66 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.701, allocations: 301.1 kB / 0.6603 GB, free: 484 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/0.7039, allocations: 2.027 MB / 0.6623 GB, free: 14.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/0.7078, allocations: 3.722 MB / 0.6659 GB, free: 9.957 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007028/0.7148, allocations: 6.051 MB / 0.6718 GB, free: 3.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-05/0.7149, allocations: 19.94 kB / 0.6719 GB, free: 3.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01072/0.7256, allocations: 6.63 MB / 0.6783 GB, free: 12.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.7257, allocations: 28.22 kB / 0.6784 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.146e-05/0.7258, allocations: 60 kB / 0.6784 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.7276, allocations: 0.6789 MB / 0.6791 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/0.7313, allocations: 1.061 MB / 0.6801 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008461/0.7398, allocations: 6.238 MB / 0.6862 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/0.7442, allocations: 275.5 kB / 0.6865 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006302/0.7448, allocations: 236 kB / 0.6867 GB, free: 4.402 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.004553/0.7494, allocations: 2.304 MB / 0.6889 GB, free: 2.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008326/0.7502, allocations: 320.1 kB / 0.6893 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007959/0.7582, allocations: 4.636 MB / 0.6938 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/0.7583, allocations: 35.94 kB / 0.6938 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.7583, allocations: 8 kB / 0.6938 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/0.7584, allocations: 19.94 kB / 0.6938 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/0.7806, allocations: 11.26 MB / 0.7048 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.7807, allocations: 4 kB / 0.7048 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/0.7828, allocations: 0.533 MB / 0.7054 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.7844, allocations: 0.5724 MB / 0.7059 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.7847, allocations: 67.98 kB / 0.706 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.254/1.039, allocations: 5.448 MB / 0.7113 GB, free: 173.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.039, allocations: 13 kB / 0.7113 GB, free: 173.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.049, allocations: 6.578 MB / 0.7177 GB, free: 172.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.051, allocations: 0.7237 MB / 0.7184 GB, free: 172.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/1.052, allocations: 60.28 kB / 0.7185 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.054, allocations: 149 kB / 0.7186 GB, free: 172.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000548/1.054, allocations: 210.8 kB / 0.7188 GB, free: 172.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.054, allocations: 87.05 kB / 0.7189 GB, free: 172.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003173/1.058, allocations: 2.016 MB / 0.7209 GB, free: 171.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.058, allocations: 0 / 0.7209 GB, free: 171.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005408/1.063, allocations: 1.177 MB / 0.722 GB, free: 171.4 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.0006117/1.064, allocations: 220.7 kB / 0.7223 GB, free: 171.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01721/1.081, allocations: 8.293 MB / 0.7304 GB, free: 169.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.081, allocations: 1 kB / 0.7304 GB, free: 169.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.085, allocations: 2.271 MB / 0.7326 GB, free: 168.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/1.089, allocations: 0.6442 MB / 0.7332 GB, free: 168.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.107, allocations: 11.11 MB / 0.7441 GB, free: 158.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/1.11, allocations: 4.141 MB / 0.7481 GB, free: 155.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003701/1.114, allocations: 1.329 MB / 0.7494 GB, free: 154.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007454/1.115, allocations: 274.9 kB / 0.7497 GB, free: 154.4 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/1.115, allocations: 0 / 0.7497 GB, free: 154.4 MB / 494.1 MB Notification: Performance of Templates: time 0.07258/1.187, allocations: 47.81 MB / 0.7964 GB, free: 108.8 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)