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.0008919/0.0008919, allocations: 91.84 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.343/1.343, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.0009964/0.0009964, allocations: 176.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03307/0.03307, allocations: 8.809 MB / 350.5 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 12.72 kB / 413.8 MB, free: 42.85 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.09003, allocations: 52.56 MB / 466.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip4): time 0.02396/0.114, allocations: 23.92 MB / 490.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.1325, allocations: 7.859 MB / 498.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005116/0.1376, allocations: 155.6 kB / 498.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005565/0.1432, allocations: 1.548 MB / 499.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00914/0.1524, allocations: 2.499 MB / 0.4906 GB, free: 9.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.1569, allocations: 1.306 MB / 0.4919 GB, free: 7.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.1672, allocations: 7.362 MB / 0.499 GB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02176/0.189, allocations: 13.41 MB / 0.5121 GB, free: 2.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006511/0.1955, allocations: 2.67 MB / 0.5147 GB, free: 128 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007503/0.2031, allocations: 3.31 MB / 0.518 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001511/0.2047, allocations: 436 kB / 0.5184 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.2076, allocations: 0.7925 MB / 0.5192 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.2093, allocations: 1.37 MB / 0.5205 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00464/0.2139, allocations: 3.279 MB / 0.5237 GB, free: 6.906 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2126/0.4266, allocations: 13.57 MB / 0.537 GB, free: 24.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4267, allocations: 3.406 kB / 0.537 GB, free: 24.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4267, allocations: 0 / 0.537 GB, free: 24.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003567/0.4271, allocations: 0 / 0.537 GB, free: 24.02 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.4595, allocations: 7.39 MB / 0.5442 GB, free: 21.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4595, allocations: 10.25 kB / 0.5442 GB, free: 21.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04025/0.4998, allocations: 4.402 MB / 0.5485 GB, free: 19.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.5102, allocations: 4.519 MB / 0.5529 GB, free: 18.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007651/0.511, allocations: 490.3 kB / 0.5534 GB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.5136, allocations: 0.6341 MB / 0.554 GB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/0.5382, allocations: 10.36 MB / 0.5641 GB, free: 16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002436/0.5385, allocations: 7.781 kB / 0.5641 GB, free: 16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/0.5402, allocations: 264.9 kB / 0.5644 GB, free: 16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004102/0.5406, allocations: 414.8 kB / 0.5648 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.5598, allocations: 9.863 MB / 0.5744 GB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05664/0.6165, allocations: 35.78 MB / 0.6093 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.6351, allocations: 20.64 MB / 0.6295 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/0.6392, allocations: 2.304 MB / 0.6317 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.6396, allocations: 230.2 kB / 0.632 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.6397, allocations: 64.89 kB / 0.632 GB, free: 14.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 6.152e-06/0.6397, allocations: 3.984 kB / 0.632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02333/0.663, allocations: 10.88 MB / 0.6427 GB, free: 3.902 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.6631, allocations: 85.78 kB / 0.6427 GB, free: 3.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00488/0.668, allocations: 3.025 MB / 0.6457 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004997/0.6685, allocations: 69.7 kB / 0.6458 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.6705, allocations: 2.863 MB / 0.6486 GB, free: 13.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001276/0.6718, allocations: 1.035 MB / 0.6496 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000669/0.6725, allocations: 367.8 kB / 0.6499 GB, free: 12.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6726, allocations: 305.1 kB / 0.6502 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003398/0.676, allocations: 2.027 MB / 0.6522 GB, free: 10.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.6805, allocations: 3.724 MB / 0.6558 GB, free: 5.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008534/0.689, allocations: 6.04 MB / 0.6617 GB, free: 14.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.855e-05/0.6891, allocations: 16 kB / 0.6617 GB, free: 14.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01232/0.7014, allocations: 6.631 MB / 0.6682 GB, free: 8.633 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.7016, allocations: 34.56 kB / 0.6682 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.7017, allocations: 56 kB / 0.6683 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.7035, allocations: 0.6683 MB / 0.669 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/0.7075, allocations: 1.062 MB / 0.67 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/0.716, allocations: 5.807 MB / 0.6757 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/0.72, allocations: 283.5 kB / 0.6759 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007308/0.7207, allocations: 228 kB / 0.6762 GB, free: 500 kB / 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.004409/0.7252, allocations: 2.323 MB / 0.6784 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008473/0.726, allocations: 320 kB / 0.6787 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007891/0.7339, allocations: 4.63 MB / 0.6832 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.734, allocations: 28 kB / 0.6833 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.734, allocations: 8 kB / 0.6833 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.051e-05/0.734, allocations: 15.94 kB / 0.6833 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/0.7542, allocations: 11.27 MB / 0.6943 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.7543, allocations: 4 kB / 0.6943 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/0.7565, allocations: 0.5295 MB / 0.6948 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/0.7582, allocations: 0.5725 MB / 0.6954 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/0.7585, allocations: 63.98 kB / 0.6954 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007219/0.7657, allocations: 5.042 MB / 0.7004 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.7658, allocations: 7.938 kB / 0.7004 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.7763, allocations: 6.579 MB / 0.7068 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/0.7783, allocations: 0.7468 MB / 0.7075 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2125/0.9908, allocations: 60.34 kB / 0.7076 GB, free: 174.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.9929, allocations: 145.5 kB / 0.7077 GB, free: 174.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.9933, allocations: 212.3 kB / 0.7079 GB, free: 174.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.9935, allocations: 91.78 kB / 0.708 GB, free: 174.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003175/0.9967, allocations: 2.023 MB / 0.71 GB, free: 174.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9967, allocations: 2.219 kB / 0.71 GB, free: 174.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004188/1.001, allocations: 1.171 MB / 0.7111 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.0005191/1.001, allocations: 221.7 kB / 0.7114 GB, free: 174.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008521/1.01, allocations: 5.026 MB / 0.7163 GB, free: 174 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.01, allocations: 1.438 kB / 0.7163 GB, free: 174 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004133/1.014, allocations: 2.27 MB / 0.7185 GB, free: 173.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005499/1.02, allocations: 0.6171 MB / 0.7191 GB, free: 173.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.04, allocations: 13.87 MB / 0.7326 GB, free: 166.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.044, allocations: 4.149 MB / 0.7367 GB, free: 164.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003993/1.048, allocations: 1.325 MB / 0.738 GB, free: 164.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/1.049, allocations: 275.4 kB / 0.7382 GB, free: 164.3 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/1.049, allocations: 0 / 0.7382 GB, free: 164.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06802/1.117, allocations: 45.34 MB / 0.7825 GB, free: 123.9 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: