Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.342/1.342, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001156/0.001156, allocations: 191.1 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03432/0.03432, allocations: 8.805 MB / 350.5 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 11.81 kB / 413.8 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09794, allocations: 52.56 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.04359/0.1416, allocations: 23.91 MB / 490.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02563/0.1673, allocations: 7.848 MB / 498.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006248/0.1736, allocations: 167.4 kB / 498.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007934/0.1816, allocations: 1.544 MB / 499.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01398/0.1956, allocations: 2.494 MB / 0.4906 GB, free: 9.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007263/0.2029, allocations: 1.322 MB / 0.4918 GB, free: 7.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01893/0.2218, allocations: 7.354 MB / 0.499 GB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03703/0.2589, allocations: 13.41 MB / 0.5121 GB, free: 2.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006348/0.2653, allocations: 2.678 MB / 0.5147 GB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007857/0.2732, allocations: 3.31 MB / 0.518 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.2751, allocations: 428 kB / 0.5184 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.2792, allocations: 0.7925 MB / 0.5192 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002008/0.2813, allocations: 1.378 MB / 0.5205 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005785/0.2871, allocations: 3.279 MB / 0.5237 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2451/0.5322, allocations: 13.57 MB / 0.5369 GB, free: 24.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5323, allocations: 0 / 0.5369 GB, free: 24.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5323, allocations: 1.031 kB / 0.5369 GB, free: 24.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003554/0.5326, allocations: 0 / 0.5369 GB, free: 24.57 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.02017/0.5528, allocations: 7.396 MB / 0.5442 GB, free: 21.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5529, allocations: 9.625 kB / 0.5442 GB, free: 21.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02463/0.5775, allocations: 4.4 MB / 0.5485 GB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009318/0.5868, allocations: 4.524 MB / 0.5529 GB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005323/0.5874, allocations: 490.3 kB / 0.5534 GB, free: 18.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/0.5891, allocations: 0.6281 MB / 0.554 GB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/0.6056, allocations: 10.35 MB / 0.5641 GB, free: 16.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.6057, allocations: 9.562 kB / 0.5641 GB, free: 16.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006456/0.6064, allocations: 267.1 kB / 0.5644 GB, free: 16.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002987/0.6067, allocations: 413.4 kB / 0.5647 GB, free: 16.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.6208, allocations: 9.861 MB / 0.5744 GB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05244/0.6733, allocations: 35.78 MB / 0.6093 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/0.6915, allocations: 20.63 MB / 0.6295 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003788/0.6953, allocations: 2.312 MB / 0.6317 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.6957, allocations: 228.8 kB / 0.6319 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/0.6958, allocations: 64.89 kB / 0.632 GB, free: 15.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 4.609e-06/0.6958, allocations: 0 / 0.632 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02413/0.7199, allocations: 10.89 MB / 0.6426 GB, free: 4.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.72, allocations: 81.78 kB / 0.6427 GB, free: 4.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004799/0.7248, allocations: 3.025 MB / 0.6457 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.725, allocations: 73.7 kB / 0.6457 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/0.7268, allocations: 2.862 MB / 0.6485 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008505/0.7277, allocations: 1.033 MB / 0.6495 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000577/0.7282, allocations: 371.8 kB / 0.6499 GB, free: 12.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.7284, allocations: 301.1 kB / 0.6502 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.7314, allocations: 2.027 MB / 0.6522 GB, free: 10.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004053/0.7355, allocations: 3.728 MB / 0.6558 GB, free: 5.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007497/0.743, allocations: 6.042 MB / 0.6617 GB, free: 15.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.726e-05/0.7431, allocations: 19.94 kB / 0.6617 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0112/0.7543, allocations: 6.628 MB / 0.6682 GB, free: 8.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/0.7544, allocations: 32 kB / 0.6682 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.322e-05/0.7545, allocations: 52 kB / 0.6683 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/0.7564, allocations: 0.6714 MB / 0.6689 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00397/0.7604, allocations: 1.063 MB / 0.67 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009648/0.77, allocations: 5.812 MB / 0.6756 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/0.7746, allocations: 275.5 kB / 0.6759 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008675/0.7755, allocations: 228 kB / 0.6761 GB, free: 0.7031 MB / 462.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.005094/0.7806, allocations: 2.318 MB / 0.6784 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/0.7816, allocations: 320 kB / 0.6787 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008722/0.7904, allocations: 4.639 MB / 0.6832 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.7904, allocations: 32 kB / 0.6833 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.7904, allocations: 4 kB / 0.6833 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.7905, allocations: 22.67 kB / 0.6833 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/0.81, allocations: 11.25 MB / 0.6943 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.81, allocations: 8.031 kB / 0.6943 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/0.8121, allocations: 0.5383 MB / 0.6948 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.8138, allocations: 0.5645 MB / 0.6954 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.814, allocations: 67.98 kB / 0.6954 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007183/0.8212, allocations: 5.048 MB / 0.7004 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.8212, allocations: 11.94 kB / 0.7004 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.8318, allocations: 6.574 MB / 0.7068 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/0.8343, allocations: 0.7506 MB / 0.7075 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008623/0.8352, allocations: 64 kB / 0.7076 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.8375, allocations: 151.8 kB / 0.7077 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2174/1.055, allocations: 200.7 kB / 0.7079 GB, free: 175 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/1.055, allocations: 93.8 kB / 0.708 GB, free: 175 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004077/1.059, allocations: 2.016 MB / 0.71 GB, free: 174.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.059, allocations: 0 / 0.71 GB, free: 174.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006015/1.065, allocations: 1.175 MB / 0.7111 GB, free: 174.8 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.000684/1.066, allocations: 231 kB / 0.7113 GB, free: 174.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009492/1.076, allocations: 5.014 MB / 0.7162 GB, free: 174.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.076, allocations: 4 kB / 0.7162 GB, free: 174.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004209/1.08, allocations: 2.274 MB / 0.7185 GB, free: 174.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005285/1.085, allocations: 0.6153 MB / 0.7191 GB, free: 174.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.106, allocations: 13.88 MB / 0.7326 GB, free: 166.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005149/1.111, allocations: 4.15 MB / 0.7367 GB, free: 164.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004428/1.116, allocations: 1.321 MB / 0.738 GB, free: 164.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009876/1.117, allocations: 267.8 kB / 0.7382 GB, free: 164.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/1.117, allocations: 4 kB / 0.7382 GB, free: 164.4 MB / 494.1 MB Notification: Performance of Templates: time 0.0689/1.186, allocations: 45.34 MB / 0.7825 GB, free: 124.2 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) Environment - environmentSimulation: