Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 176.1 kB / 7.643 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.05041/0.05041, allocations: 8.714 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.366/1.366, allocations: 221.5 MB / 240.8 MB, free: 13.22 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.0009382/0.0009381, allocations: 93.86 kB / 293.9 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.489e-05, allocations: 4 kB / 352.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 52.55 MB / 405.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4776, allocations: 139 MB / 0.5314 GB, free: 12.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.4779, allocations: 79.97 kB / 0.5315 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9145/1.392, allocations: 218.5 MB / 0.7449 GB, free: 57.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.392, allocations: 0 / 0.7449 GB, free: 57.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003366/1.393, allocations: 143.7 kB / 0.745 GB, free: 57.49 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.01843/1.411, allocations: 6.123 MB / 0.751 GB, free: 55.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/1.411, allocations: 19.69 kB / 0.751 GB, free: 55.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/1.428, allocations: 3.007 MB / 0.754 GB, free: 55.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/1.44, allocations: 5.556 MB / 0.7594 GB, free: 54.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/1.44, allocations: 205.2 kB / 0.7596 GB, free: 54.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/1.442, allocations: 372.1 kB / 0.7599 GB, free: 54.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01269/1.455, allocations: 7.98 MB / 0.7677 GB, free: 54.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02712/1.482, allocations: 9.15 MB / 0.7767 GB, free: 53.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/1.482, allocations: 7.75 kB / 0.7767 GB, free: 53.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009073/1.483, allocations: 4.547 kB / 0.7767 GB, free: 53.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000566/1.484, allocations: 0.4933 MB / 0.7772 GB, free: 53.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06604/1.55, allocations: 34.92 MB / 0.8113 GB, free: 45.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02092/1.571, allocations: 21.79 MB / 0.8325 GB, free: 26.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/1.574, allocations: 2.271 MB / 0.8348 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/1.575, allocations: 225.8 kB / 0.835 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/1.575, allocations: 64.42 kB / 0.835 GB, free: 25.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 5.831e-06/1.575, allocations: 4 kB / 0.835 GB, free: 25.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.0201/1.595, allocations: 9.838 MB / 0.8446 GB, free: 21.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/1.595, allocations: 83.5 kB / 0.8447 GB, free: 21.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/1.599, allocations: 2.319 MB / 0.847 GB, free: 20.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004562/1.6, allocations: 25.7 kB / 0.847 GB, free: 20.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/1.602, allocations: 2.876 MB / 0.8498 GB, free: 18.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.603, allocations: 0.9854 MB / 0.8508 GB, free: 17.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004924/1.603, allocations: 0 / 0.8508 GB, free: 17.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003984/1.604, allocations: 496.8 kB / 0.8513 GB, free: 16.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002809/1.606, allocations: 1.968 MB / 0.8532 GB, free: 16.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/1.61, allocations: 3.614 MB / 0.8567 GB, free: 13.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0067/1.617, allocations: 3.484 MB / 0.8601 GB, free: 11.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-05/1.617, allocations: 13.5 kB / 0.8601 GB, free: 11.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01451/1.631, allocations: 6.865 MB / 0.8668 GB, free: 9.777 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/1.632, allocations: 28.84 kB / 0.8669 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/1.632, allocations: 56.31 kB / 0.8669 GB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/1.634, allocations: 0.6697 MB / 0.8676 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/1.639, allocations: 1.094 MB / 0.8686 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.652, allocations: 5.613 MB / 0.8741 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007071/1.659, allocations: 243.3 kB / 0.8743 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/1.66, allocations: 226 kB / 0.8746 GB, free: 6.316 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.002094/1.662, allocations: 253.4 kB / 0.8748 GB, free: 6.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.664, allocations: 305.5 kB / 0.8751 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.68, allocations: 4.987 MB / 0.88 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/1.68, allocations: 34.94 kB / 0.88 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.68, allocations: 3.469 kB / 0.88 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.786e-05/1.68, allocations: 20.39 kB / 0.88 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03497/1.715, allocations: 11.04 MB / 0.8908 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/1.715, allocations: 4 kB / 0.8908 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003729/1.719, allocations: 0.5521 MB / 0.8913 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/1.721, allocations: 0.5564 MB / 0.8919 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005096/1.722, allocations: 26.64 kB / 0.8919 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.733, allocations: 4.873 MB / 0.8967 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.733, allocations: 6.719 kB / 0.8967 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02433/1.757, allocations: 7.721 MB / 0.9042 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003158/1.76, allocations: 0.7513 MB / 0.905 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009747/1.762, allocations: 11.61 kB / 0.905 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003163/1.765, allocations: 138 kB / 0.9051 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000599/1.765, allocations: 204 kB / 0.9053 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000305/1.766, allocations: 87.66 kB / 0.9054 GB, free: 14.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004637/1.77, allocations: 1.668 MB / 0.907 GB, free: 13.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.77, allocations: 0 / 0.907 GB, free: 13.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00857/1.779, 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.001187/1.78, allocations: 383.6 kB / 0.9084 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01212/1.792, allocations: 4.849 MB / 0.9131 GB, free: 7.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.792, allocations: 0.6562 kB / 0.9131 GB, free: 7.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005819/1.798, allocations: 2.242 MB / 0.9153 GB, free: 5.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004562/1.803, allocations: 463.2 kB / 0.9158 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3678/2.171, allocations: 9.865 MB / 0.9254 GB, free: 78.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006916/2.178, allocations: 4.255 MB / 0.9296 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004516/2.182, allocations: 1.386 MB / 0.9309 GB, free: 77.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00086/2.183, allocations: 259 kB / 0.9312 GB, free: 77.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.202e-06/2.183, allocations: 2.656 kB / 0.9312 GB, free: 77.54 MB / 490.7 MB Notification: Performance of Templates: time 0.08073/2.264, allocations: 40.99 MB / 0.9712 GB, free: 75.87 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1)