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.0007878/0.0007879, 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.385/1.385, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001115/0.001115, allocations: 179.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.033/0.033, allocations: 8.804 MB / 350.5 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 14.59 kB / 413.8 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.08863, allocations: 52.55 MB / 466.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip3): time 0.0219/0.1106, allocations: 23.93 MB / 490.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.1268, allocations: 7.855 MB / 498.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005168/0.132, allocations: 159.6 kB / 498.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005267/0.1373, allocations: 1.552 MB / 499.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008818/0.1461, allocations: 2.482 MB / 0.4906 GB, free: 9.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.1503, allocations: 1.32 MB / 0.4919 GB, free: 7.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009567/0.1599, allocations: 7.355 MB / 0.499 GB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02223/0.1822, allocations: 13.41 MB / 0.5121 GB, free: 2.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004484/0.1867, allocations: 2.677 MB / 0.5148 GB, free: 116 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005323/0.192, allocations: 3.307 MB / 0.518 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002053/0.1941, allocations: 432 kB / 0.5184 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.1974, allocations: 0.7886 MB / 0.5192 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.1989, allocations: 1.374 MB / 0.5205 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005018/0.204, allocations: 3.283 MB / 0.5237 GB, free: 6.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.246/0.45, allocations: 13.57 MB / 0.537 GB, free: 24.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4501, allocations: 0 / 0.537 GB, free: 24.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4501, allocations: 0 / 0.537 GB, free: 24.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004491/0.4506, allocations: 0.5625 kB / 0.537 GB, free: 24.44 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.02189/0.4725, allocations: 7.389 MB / 0.5442 GB, free: 21.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4725, allocations: 9.844 kB / 0.5442 GB, free: 21.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0258/0.4983, allocations: 4.403 MB / 0.5485 GB, free: 20.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.509, allocations: 4.527 MB / 0.5529 GB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000565/0.5097, allocations: 487 kB / 0.5534 GB, free: 18.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002551/0.5122, allocations: 0.6292 MB / 0.554 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/0.5347, allocations: 10.36 MB / 0.5641 GB, free: 16.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.535, allocations: 9.25 kB / 0.5641 GB, free: 16.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001597/0.5366, allocations: 267 kB / 0.5644 GB, free: 16.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003665/0.537, allocations: 415.2 kB / 0.5648 GB, free: 16.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/0.5577, allocations: 9.863 MB / 0.5744 GB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0564/0.6141, allocations: 35.78 MB / 0.6093 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/0.6335, allocations: 20.64 MB / 0.6295 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004025/0.6376, allocations: 2.307 MB / 0.6317 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/0.638, allocations: 230.2 kB / 0.632 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.077e-05/0.6381, allocations: 64.89 kB / 0.632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=295): time 5.741e-06/0.6381, allocations: 2.406 kB / 0.632 GB, free: 15.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=301): time 0.02075/0.6589, allocations: 10.88 MB / 0.6427 GB, free: 4.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.659, allocations: 81.78 kB / 0.6427 GB, free: 4.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.6634, allocations: 3.021 MB / 0.6457 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.6636, allocations: 77.69 kB / 0.6458 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.6654, allocations: 2.861 MB / 0.6486 GB, free: 14.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008913/0.6663, allocations: 1.035 MB / 0.6496 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005049/0.6669, allocations: 367.8 kB / 0.6499 GB, free: 12.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.667, allocations: 305.1 kB / 0.6502 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/0.67, allocations: 2.027 MB / 0.6522 GB, free: 10.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/0.674, allocations: 3.724 MB / 0.6558 GB, free: 5.797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00767/0.6817, allocations: 6.043 MB / 0.6617 GB, free: 15.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-05/0.6818, allocations: 16 kB / 0.6617 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01163/0.6934, allocations: 6.632 MB / 0.6682 GB, free: 8.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.6935, allocations: 28 kB / 0.6682 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.6936, allocations: 56 kB / 0.6683 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.6955, allocations: 0.6712 MB / 0.669 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/0.6993, allocations: 1.058 MB / 0.67 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008583/0.7079, allocations: 5.814 MB / 0.6757 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/0.7116, allocations: 275.5 kB / 0.6759 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005568/0.7122, allocations: 232 kB / 0.6761 GB, free: 0.6953 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.003934/0.7161, allocations: 2.323 MB / 0.6784 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/0.7168, allocations: 320 kB / 0.6787 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007947/0.7247, allocations: 4.637 MB / 0.6833 GB, free: 9.453 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.7248, allocations: 28 kB / 0.6833 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.7248, allocations: 8 kB / 0.6833 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/0.7249, allocations: 15.94 kB / 0.6833 GB, free: 9.402 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/0.7431, allocations: 11.27 MB / 0.6943 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.7431, allocations: 4 kB / 0.6943 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/0.7452, allocations: 0.5249 MB / 0.6948 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.7469, allocations: 0.5688 MB / 0.6954 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/0.7472, allocations: 71.91 kB / 0.6954 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007311/0.7545, allocations: 5.04 MB / 0.7004 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.7545, allocations: 7.75 kB / 0.7004 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.7653, allocations: 6.585 MB / 0.7068 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/0.7675, allocations: 0.7507 MB / 0.7075 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008194/0.7683, allocations: 56 kB / 0.7076 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.7704, allocations: 147.8 kB / 0.7077 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2247/0.9951, allocations: 212.3 kB / 0.7079 GB, free: 175 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/0.9953, allocations: 87.59 kB / 0.708 GB, free: 175 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003268/0.9986, allocations: 2.014 MB / 0.71 GB, free: 174.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9986, allocations: 1.188 kB / 0.71 GB, free: 174.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004343/1.003, allocations: 1.173 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.0004508/1.003, allocations: 232.8 kB / 0.7114 GB, free: 174.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007996/1.011, allocations: 5.022 MB / 0.7163 GB, free: 174.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.011, allocations: 1.438 kB / 0.7163 GB, free: 174.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003496/1.015, allocations: 2.272 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.004847/1.02, allocations: 0.6154 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.02167/1.042, allocations: 13.87 MB / 0.7326 GB, free: 166.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004836/1.046, allocations: 4.145 MB / 0.7367 GB, free: 164.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003915/1.05, allocations: 1.328 MB / 0.738 GB, free: 164.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008712/1.051, allocations: 270 kB / 0.7382 GB, free: 164.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.262e-06/1.051, allocations: 0 / 0.7382 GB, free: 164.4 MB / 494.1 MB Notification: Performance of Templates: time 0.07368/1.125, allocations: 45.35 MB / 0.7825 GB, free: 124.2 MB / 494.1 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: