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.001531/0.001531, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06023/0.06023, allocations: 8.707 MB / 21.97 MB, free: 3.707 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.4 MB / 246 MB, free: 3.543 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.0008547/0.0008546, allocations: 96.83 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.691e-05, allocations: 7.969 kB / 359.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2565, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.7026, allocations: 139.6 MB / 0.5388 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.7029, allocations: 79.09 kB / 0.5388 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7078/1.411, allocations: 221 MB / 0.7546 GB, free: 70.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.411, allocations: 0 / 0.7546 GB, free: 70.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003848/1.411, allocations: 145.3 kB / 0.7548 GB, free: 70.93 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.01925/1.43, allocations: 6.126 MB / 0.7608 GB, free: 68.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.43, allocations: 10.66 kB / 0.7608 GB, free: 68.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/1.447, allocations: 3.024 MB / 0.7637 GB, free: 67.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/1.462, allocations: 5.56 MB / 0.7692 GB, free: 64.83 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005384/1.462, allocations: 478.3 kB / 0.7696 GB, free: 64.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/1.465, allocations: 0.6167 MB / 0.7702 GB, free: 64.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/1.489, allocations: 10.11 MB / 0.7801 GB, free: 56.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/1.489, allocations: 15.8 kB / 0.7801 GB, free: 56.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/1.49, allocations: 269.8 kB / 0.7804 GB, free: 56.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004416/1.491, allocations: 499.2 kB / 0.7808 GB, free: 56.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/1.51, allocations: 9.125 MB / 0.7897 GB, free: 47.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05778/1.568, allocations: 35.5 MB / 0.8244 GB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/1.587, allocations: 20.74 MB / 0.8447 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007285/1.594, allocations: 2.25 MB / 0.8469 GB, free: 2.262 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/1.595, allocations: 223 kB / 0.8471 GB, free: 2.016 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.208e-05/1.595, allocations: 64.89 kB / 0.8471 GB, free: 1.941 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 8.265e-06/1.595, allocations: 0 / 0.8471 GB, free: 1.941 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.333/1.928, allocations: 8.442 MB / 0.8554 GB, free: 83.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.928, allocations: 83.69 kB / 0.8555 GB, free: 83.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/1.932, allocations: 2.645 MB / 0.858 GB, free: 83.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005063/1.933, allocations: 77.48 kB / 0.8581 GB, free: 83.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.935, allocations: 2.854 MB / 0.8609 GB, free: 82.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.936, allocations: 1.03 MB / 0.8619 GB, free: 81.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.936, allocations: 94.78 kB / 0.862 GB, free: 81.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002453/1.936, allocations: 499 kB / 0.8625 GB, free: 81.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/1.939, allocations: 1.955 MB / 0.8644 GB, free: 81.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/1.942, allocations: 3.629 MB / 0.8679 GB, free: 79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/1.946, allocations: 2.785 MB / 0.8706 GB, free: 78.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/1.946, allocations: 17.5 kB / 0.8707 GB, free: 78.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.009694/1.956, allocations: 6.479 MB / 0.877 GB, free: 78.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/1.956, allocations: 26.75 kB / 0.877 GB, free: 78.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.56e-05/1.956, allocations: 54.19 kB / 0.8771 GB, free: 78.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/1.957, allocations: 0.6782 MB / 0.8777 GB, free: 78.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/1.961, allocations: 1.073 MB / 0.8788 GB, free: 78.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/1.968, allocations: 5.791 MB / 0.8844 GB, free: 77.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/1.973, allocations: 304.8 kB / 0.8847 GB, free: 77.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008609/1.974, allocations: 225.4 kB / 0.8849 GB, free: 77.16 MB / 474.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.000915/1.975, allocations: 406.8 kB / 0.8853 GB, free: 77.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008879/1.976, allocations: 317.9 kB / 0.8856 GB, free: 76.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/1.983, allocations: 4.543 MB / 0.8901 GB, free: 76.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/1.983, allocations: 34.41 kB / 0.8901 GB, free: 76.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.983, allocations: 6.406 kB / 0.8901 GB, free: 76.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/1.984, allocations: 17.06 kB / 0.8901 GB, free: 76.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/2.002, allocations: 11.34 MB / 0.9012 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/2.002, allocations: 3.906 kB / 0.9012 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/2.004, allocations: 0.5286 MB / 0.9017 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/2.006, allocations: 0.5595 MB / 0.9023 GB, free: 75.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/2.006, allocations: 64.83 kB / 0.9023 GB, free: 75.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007246/2.014, allocations: 5.014 MB / 0.9072 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/2.014, allocations: 5.812 kB / 0.9072 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009705/2.023, allocations: 6.921 MB / 0.914 GB, free: 69.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/2.026, allocations: 0.7502 MB / 0.9147 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/2.026, allocations: 56.69 kB / 0.9148 GB, free: 68.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/2.028, allocations: 159.9 kB / 0.9149 GB, free: 68.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/2.028, allocations: 207.9 kB / 0.9151 GB, free: 68.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/2.028, allocations: 95.66 kB / 0.9152 GB, free: 68.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002585/2.031, allocations: 1.951 MB / 0.9171 GB, free: 67.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.031, allocations: 0 / 0.9171 GB, free: 67.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004422/2.035, allocations: 1.225 MB / 0.9183 GB, free: 67.78 MB / 474.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.0007614/2.036, allocations: 0.5231 MB / 0.9188 GB, free: 67.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007075/2.043, allocations: 4.901 MB / 0.9236 GB, free: 65.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/2.043, allocations: 0 / 0.9236 GB, free: 65.74 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003136/2.047, allocations: 2.212 MB / 0.9258 GB, free: 64.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/2.049, allocations: 0.5756 MB / 0.9263 GB, free: 64.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/2.067, allocations: 9.566 MB / 0.9357 GB, free: 60.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003792/2.071, allocations: 4.258 MB / 0.9398 GB, free: 58.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003882/2.075, allocations: 1.403 MB / 0.9412 GB, free: 57.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007952/2.076, allocations: 268.5 kB / 0.9415 GB, free: 57.34 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/2.076, allocations: 2.25 kB / 0.9415 GB, free: 57.34 MB / 474.7 MB Notification: Performance of Templates: time 0.07446/2.15, allocations: 46.8 MB / 0.9872 GB, free: 29.33 MB / 474.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)