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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 169 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.03965/0.03965, allocations: 8.715 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.428/1.428, allocations: 221.5 MB / 240.9 MB, free: 13.18 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.0009775/0.0009774, allocations: 89.91 kB / 293.8 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.756e-05, allocations: 0 / 352.6 MB, free: 1.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 52.55 MB / 405.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.5201, allocations: 139 MB / 0.5314 GB, free: 12.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5205, allocations: 82.36 kB / 0.5315 GB, free: 12.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.936/1.456, allocations: 218.5 MB / 0.7449 GB, free: 57.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/1.457, allocations: 0 / 0.7449 GB, free: 57.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003693/1.457, allocations: 145.4 kB / 0.745 GB, free: 57.75 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.01985/1.477, allocations: 6.125 MB / 0.751 GB, free: 55.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.477, allocations: 12.83 kB / 0.751 GB, free: 55.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/1.494, allocations: 3.009 MB / 0.7539 GB, free: 55.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/1.508, allocations: 5.565 MB / 0.7594 GB, free: 54.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/1.509, allocations: 203.1 kB / 0.7596 GB, free: 54.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002819/1.512, allocations: 373.3 kB / 0.7599 GB, free: 54.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01705/1.529, allocations: 7.981 MB / 0.7677 GB, free: 54.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/1.552, allocations: 9.146 MB / 0.7767 GB, free: 54.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003045/1.553, allocations: 7.469 kB / 0.7767 GB, free: 54.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001776/1.555, allocations: 7.125 kB / 0.7767 GB, free: 54.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005094/1.555, allocations: 0.4903 MB / 0.7771 GB, free: 54.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0589/1.614, allocations: 34.92 MB / 0.8113 GB, free: 45.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/1.633, allocations: 21.79 MB / 0.8325 GB, free: 26.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003388/1.636, allocations: 2.264 MB / 0.8347 GB, free: 26.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/1.637, allocations: 231.9 kB / 0.835 GB, free: 25.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/1.637, allocations: 63.45 kB / 0.835 GB, free: 25.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 5.54e-06/1.637, allocations: 4 kB / 0.835 GB, free: 25.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.01945/1.656, allocations: 9.84 MB / 0.8446 GB, free: 21.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.657, allocations: 84.64 kB / 0.8447 GB, free: 21.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/1.661, allocations: 2.315 MB / 0.847 GB, free: 20.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/1.661, allocations: 33.08 kB / 0.847 GB, free: 20.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/1.663, allocations: 2.876 MB / 0.8498 GB, free: 18.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009643/1.664, allocations: 0.9836 MB / 0.8508 GB, free: 17.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000397/1.664, allocations: 0 / 0.8508 GB, free: 17.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003795/1.665, allocations: 495.6 kB / 0.8513 GB, free: 17.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/1.667, allocations: 1.965 MB / 0.8532 GB, free: 16.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/1.67, allocations: 3.617 MB / 0.8567 GB, free: 13.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/1.676, allocations: 3.487 MB / 0.8601 GB, free: 12.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-05/1.676, allocations: 14.97 kB / 0.8601 GB, free: 12.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01296/1.689, allocations: 6.86 MB / 0.8668 GB, free: 9.996 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/1.69, allocations: 25 kB / 0.8668 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/1.69, allocations: 62.2 kB / 0.8669 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.692, allocations: 0.6653 MB / 0.8676 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00383/1.695, allocations: 1.098 MB / 0.8686 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007662/1.703, allocations: 5.618 MB / 0.8741 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/1.708, allocations: 238.8 kB / 0.8743 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.709, allocations: 233.6 kB / 0.8746 GB, free: 6.535 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.001502/1.71, allocations: 247.6 kB / 0.8748 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.711, allocations: 308.6 kB / 0.8751 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.722, allocations: 4.979 MB / 0.88 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1.722, allocations: 36 kB / 0.88 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/1.722, allocations: 4 kB / 0.88 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.733e-05/1.722, allocations: 16.36 kB / 0.88 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.744, allocations: 11.05 MB / 0.8908 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.744, allocations: 4 kB / 0.8908 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/1.746, allocations: 0.5559 MB / 0.8913 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/1.747, allocations: 0.5535 MB / 0.8919 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/1.748, allocations: 27.52 kB / 0.8919 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006614/1.754, allocations: 4.874 MB / 0.8967 GB, free: 5.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.754, allocations: 5.969 kB / 0.8967 GB, free: 5.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.769, allocations: 7.72 MB / 0.9042 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.771, allocations: 0.7475 MB / 0.9049 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.772, allocations: 8 kB / 0.905 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.775, allocations: 141.7 kB / 0.9051 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005125/1.775, allocations: 201.8 kB / 0.9053 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002936/1.776, allocations: 89 kB / 0.9054 GB, free: 14.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003693/1.779, allocations: 1.669 MB / 0.907 GB, free: 13.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.779, allocations: 0 / 0.907 GB, free: 13.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005407/1.785, allocations: 1.062 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.0008598/1.786, allocations: 381 kB / 0.9084 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008619/1.794, allocations: 4.856 MB / 0.9131 GB, free: 7.695 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.794, allocations: 0.75 kB / 0.9131 GB, free: 7.695 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004217/1.799, allocations: 2.244 MB / 0.9153 GB, free: 5.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/1.802, allocations: 459.4 kB / 0.9158 GB, free: 5.312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2868/2.089, allocations: 9.88 MB / 0.9254 GB, free: 78.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004418/2.093, allocations: 4.256 MB / 0.9296 GB, free: 77.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004302/2.098, allocations: 1.387 MB / 0.9309 GB, free: 77.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008051/2.098, allocations: 261.7 kB / 0.9312 GB, free: 77.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/2.098, allocations: 0 / 0.9312 GB, free: 77.78 MB / 490.7 MB Notification: Performance of Templates: time 0.07398/2.172, allocations: 40.99 MB / 0.9712 GB, free: 76.11 MB / 490.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.makefile (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)