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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0645/0.0645, allocations: 8.716 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 240.9 MB, free: 13.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 92.83 kB / 293.8 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.786e-05, allocations: 4 kB / 352.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 52.55 MB / 405.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.545, allocations: 139 MB / 0.5314 GB, free: 12.92 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5453, allocations: 75.97 kB / 0.5315 GB, free: 12.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025/1.571, allocations: 218.5 MB / 0.7449 GB, free: 57.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.571, allocations: 3.719 kB / 0.7449 GB, free: 57.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00045/1.571, allocations: 145.2 kB / 0.745 GB, free: 57.55 MB / 458.7 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.02005/1.591, allocations: 6.121 MB / 0.751 GB, free: 55.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.591, allocations: 13.23 kB / 0.751 GB, free: 55.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/1.608, allocations: 3.01 MB / 0.754 GB, free: 55.31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/1.624, allocations: 5.563 MB / 0.7594 GB, free: 54.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005144/1.624, allocations: 205.9 kB / 0.7596 GB, free: 54.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003069/1.627, allocations: 370.5 kB / 0.7599 GB, free: 54.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01651/1.644, allocations: 7.977 MB / 0.7677 GB, free: 54.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/1.666, allocations: 9.146 MB / 0.7767 GB, free: 53.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000245/1.666, allocations: 15.66 kB / 0.7767 GB, free: 53.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/1.668, allocations: 7.188 kB / 0.7767 GB, free: 53.83 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004826/1.668, allocations: 497.9 kB / 0.7772 GB, free: 53.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0692/1.737, allocations: 34.92 MB / 0.8113 GB, free: 45.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03357/1.771, allocations: 21.79 MB / 0.8325 GB, free: 26.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005688/1.777, allocations: 2.269 MB / 0.8348 GB, free: 25.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/1.777, allocations: 222.9 kB / 0.835 GB, free: 25.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/1.777, allocations: 68.36 kB / 0.835 GB, free: 25.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 9.628e-06/1.777, allocations: 0 / 0.835 GB, free: 25.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.03386/1.811, allocations: 9.842 MB / 0.8446 GB, free: 21.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/1.811, allocations: 80.81 kB / 0.8447 GB, free: 21.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005796/1.817, allocations: 2.322 MB / 0.847 GB, free: 20.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007353/1.818, allocations: 25.7 kB / 0.847 GB, free: 20.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/1.82, allocations: 2.873 MB / 0.8498 GB, free: 18.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/1.822, allocations: 0.9877 MB / 0.8508 GB, free: 17.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/1.822, allocations: 0 / 0.8508 GB, free: 17.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004479/1.823, allocations: 497 kB / 0.8513 GB, free: 17.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004572/1.827, allocations: 1.966 MB / 0.8532 GB, free: 16.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005749/1.833, allocations: 3.612 MB / 0.8567 GB, free: 13.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/1.845, allocations: 3.484 MB / 0.8601 GB, free: 11.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.845, allocations: 17.75 kB / 0.8601 GB, free: 11.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.02417/1.87, allocations: 6.862 MB / 0.8668 GB, free: 9.809 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/1.87, allocations: 32.86 kB / 0.8669 GB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/1.87, allocations: 53.69 kB / 0.8669 GB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003127/1.873, allocations: 0.6688 MB / 0.8676 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008396/1.881, allocations: 1.097 MB / 0.8686 GB, free: 9.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/1.895, allocations: 5.612 MB / 0.8741 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006804/1.902, allocations: 242.1 kB / 0.8743 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/1.903, allocations: 227 kB / 0.8746 GB, free: 6.348 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 558 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001188/1.904, allocations: 251.8 kB / 0.8748 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.905, allocations: 304.9 kB / 0.8751 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/1.92, allocations: 4.989 MB / 0.88 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/1.92, allocations: 30.16 kB / 0.88 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/1.92, allocations: 6.969 kB / 0.88 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/1.92, allocations: 18.33 kB / 0.88 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0351/1.955, allocations: 11.04 MB / 0.8908 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/1.955, allocations: 4 kB / 0.8908 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00448/1.96, allocations: 0.5487 MB / 0.8913 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/1.963, allocations: 0.5581 MB / 0.8919 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005392/1.963, allocations: 24.59 kB / 0.8919 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.975, allocations: 4.882 MB / 0.8967 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/1.975, allocations: 4 kB / 0.8967 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/2.002, allocations: 7.724 MB / 0.9042 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00301/2.005, allocations: 0.7485 MB / 0.9049 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/2.007, allocations: 12.06 kB / 0.905 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004075/2.011, allocations: 135.6 kB / 0.9051 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007642/2.012, allocations: 206.9 kB / 0.9053 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005183/2.012, allocations: 89.81 kB / 0.9054 GB, free: 14.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005203/2.017, allocations: 1.664 MB / 0.907 GB, free: 13.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.017, allocations: 0 / 0.907 GB, free: 13.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008457/2.026, allocations: 1.058 MB / 0.908 GB, free: 12.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (smee.gamma,smee.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,64.1%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/2.027, allocations: 382 kB / 0.9084 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01455/2.042, allocations: 4.849 MB / 0.9131 GB, free: 7.758 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.042, allocations: 2.781 kB / 0.9131 GB, free: 7.758 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007032/2.049, allocations: 2.247 MB / 0.9153 GB, free: 5.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004854/2.054, allocations: 455.9 kB / 0.9158 GB, free: 5.379 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3392/2.393, allocations: 9.857 MB / 0.9254 GB, free: 78.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00462/2.398, allocations: 4.255 MB / 0.9295 GB, free: 77.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004155/2.402, allocations: 1.387 MB / 0.9309 GB, free: 77.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/2.403, allocations: 256.6 kB / 0.9311 GB, free: 77.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/2.403, allocations: 2.469 kB / 0.9311 GB, free: 77.55 MB / 490.7 MB Notification: Performance of Templates: time 0.0815/2.484, allocations: 40.99 MB / 0.9712 GB, free: 75.88 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile (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)