Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, 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.03827/0.03827, allocations: 8.704 MB / 21.96 MB, free: 3.734 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.318/1.318, allocations: 221.4 MB / 246 MB, free: 3.559 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.0008837/0.0008834, allocations: 90.05 kB / 299.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.888e-05, allocations: 11.97 kB / 359.5 MB, free: 6.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3244, allocations: 52.53 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.737, allocations: 139.6 MB / 0.5387 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001577/0.7371, allocations: 82.08 kB / 0.5388 GB, free: 37.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.764/1.501, allocations: 220.8 MB / 0.7544 GB, free: 71.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.501, allocations: 0 / 0.7544 GB, free: 71.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004306/1.502, allocations: 145.1 kB / 0.7546 GB, free: 71.01 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.02032/1.522, allocations: 6.128 MB / 0.7605 GB, free: 68.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.522, allocations: 7.094 kB / 0.7605 GB, free: 68.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03008/1.552, allocations: 3.017 MB / 0.7635 GB, free: 67.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/1.575, allocations: 5.561 MB / 0.7689 GB, free: 64.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/1.575, allocations: 484 kB / 0.7694 GB, free: 64.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002649/1.578, allocations: 0.6102 MB / 0.77 GB, free: 64.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/1.611, allocations: 10.11 MB / 0.7799 GB, free: 56.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003157/1.612, allocations: 11.61 kB / 0.7799 GB, free: 56.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001995/1.614, allocations: 266.2 kB / 0.7801 GB, free: 56.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007152/1.614, allocations: 0.4936 MB / 0.7806 GB, free: 56.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02945/1.644, allocations: 9.13 MB / 0.7895 GB, free: 47.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05811/1.702, allocations: 35.5 MB / 0.8242 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.719, allocations: 20.73 MB / 0.8444 GB, free: 4.719 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004186/1.723, allocations: 2.249 MB / 0.8466 GB, free: 2.469 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/1.724, allocations: 225.5 kB / 0.8468 GB, free: 2.223 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/1.724, allocations: 68.89 kB / 0.8469 GB, free: 2.145 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 4.629e-06/1.724, allocations: 0 / 0.8469 GB, free: 2.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.3003/2.024, allocations: 8.43 MB / 0.8551 GB, free: 83.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/2.024, allocations: 85.66 kB / 0.8552 GB, free: 83.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/2.029, allocations: 2.649 MB / 0.8578 GB, free: 83.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004154/2.03, allocations: 72.73 kB / 0.8579 GB, free: 83.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/2.031, allocations: 2.852 MB / 0.8607 GB, free: 82.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009979/2.032, allocations: 1.037 MB / 0.8617 GB, free: 81.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/2.032, allocations: 91.38 kB / 0.8618 GB, free: 81.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002272/2.032, allocations: 496 kB / 0.8622 GB, free: 81.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/2.036, allocations: 1.954 MB / 0.8641 GB, free: 81.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003922/2.04, allocations: 3.635 MB / 0.8677 GB, free: 79.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/2.044, allocations: 2.781 MB / 0.8704 GB, free: 79.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/2.044, allocations: 17.5 kB / 0.8704 GB, free: 79.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.009829/2.054, allocations: 6.482 MB / 0.8768 GB, free: 78.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/2.054, allocations: 33.81 kB / 0.8768 GB, free: 78.78 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-05/2.054, allocations: 57.19 kB / 0.8768 GB, free: 78.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/2.056, allocations: 0.6723 MB / 0.8775 GB, free: 78.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/2.059, allocations: 1.07 MB / 0.8785 GB, free: 78.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/2.066, allocations: 5.807 MB / 0.8842 GB, free: 77.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00418/2.07, allocations: 304.3 kB / 0.8845 GB, free: 77.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005919/2.071, allocations: 230.6 kB / 0.8847 GB, free: 77.31 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.0007186/2.072, allocations: 403.8 kB / 0.8851 GB, free: 77.16 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/2.072, allocations: 317.2 kB / 0.8854 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007351/2.08, allocations: 4.54 MB / 0.8898 GB, free: 76.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/2.08, allocations: 35.77 kB / 0.8899 GB, free: 76.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/2.08, allocations: 6.219 kB / 0.8899 GB, free: 76.76 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/2.08, allocations: 16.69 kB / 0.8899 GB, free: 76.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/2.098, allocations: 11.33 MB / 0.901 GB, free: 75.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/2.098, allocations: 3.375 kB / 0.901 GB, free: 75.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/2.1, allocations: 0.5242 MB / 0.9015 GB, free: 75.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/2.102, allocations: 0.5688 MB / 0.902 GB, free: 75.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003138/2.102, allocations: 64.56 kB / 0.9021 GB, free: 75.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/2.108, allocations: 5.013 MB / 0.907 GB, free: 72.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/2.108, allocations: 9.672 kB / 0.907 GB, free: 72.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009794/2.118, allocations: 6.918 MB / 0.9138 GB, free: 69.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/2.12, allocations: 0.7496 MB / 0.9145 GB, free: 68.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005944/2.121, allocations: 54.91 kB / 0.9145 GB, free: 68.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/2.123, allocations: 168.9 kB / 0.9147 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/2.123, allocations: 204.2 kB / 0.9149 GB, free: 68.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/2.124, allocations: 92.69 kB / 0.915 GB, free: 68.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003112/2.127, allocations: 1.952 MB / 0.9169 GB, free: 68 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.71e-07/2.127, allocations: 0 / 0.9169 GB, free: 68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005721/2.132, allocations: 1.228 MB / 0.9181 GB, free: 67.86 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.0009665/2.133, allocations: 0.5246 MB / 0.9186 GB, free: 67.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00777/2.141, allocations: 4.905 MB / 0.9234 GB, free: 65.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/2.141, allocations: 0 / 0.9234 GB, free: 65.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003904/2.145, allocations: 2.202 MB / 0.9255 GB, free: 64.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003914/2.149, allocations: 0.5808 MB / 0.9261 GB, free: 64.69 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/2.172, allocations: 9.566 MB / 0.9355 GB, free: 60.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004984/2.177, allocations: 4.253 MB / 0.9396 GB, free: 58.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004586/2.182, allocations: 1.407 MB / 0.941 GB, free: 57.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/2.183, allocations: 272.9 kB / 0.9412 GB, free: 57.46 MB / 474.7 MB Notification: Performance of SimCode: time 1.342e-06/2.183, allocations: 0 / 0.9412 GB, free: 57.46 MB / 474.7 MB Notification: Performance of Templates: time 0.07542/2.258, allocations: 46.81 MB / 0.987 GB, free: 29.53 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1)