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.001306/0.001306, 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.03926/0.03926, 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.459/1.459, allocations: 221.4 MB / 246 MB, free: 3.57 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.0009055/0.0009055, allocations: 95.17 kB / 299.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.647e-05, allocations: 4 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2651, allocations: 52.54 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.6733, allocations: 139.6 MB / 0.5388 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.6735, allocations: 78.84 kB / 0.5388 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.687/1.361, allocations: 221 MB / 0.7546 GB, free: 70.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.361, allocations: 4 kB / 0.7546 GB, free: 70.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003695/1.361, allocations: 145.6 kB / 0.7548 GB, free: 70.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.01929/1.38, allocations: 6.13 MB / 0.7608 GB, free: 68.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.38, allocations: 10.19 kB / 0.7608 GB, free: 68.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02339/1.404, allocations: 3.013 MB / 0.7637 GB, free: 67.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/1.426, allocations: 5.566 MB / 0.7692 GB, free: 64.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/1.427, allocations: 481.3 kB / 0.7696 GB, free: 64.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003596/1.431, allocations: 0.609 MB / 0.7702 GB, free: 64.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02822/1.459, allocations: 10.12 MB / 0.7801 GB, free: 56.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/1.459, allocations: 7.906 kB / 0.7801 GB, free: 56.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/1.46, allocations: 270.6 kB / 0.7804 GB, free: 56.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005966/1.461, allocations: 499.5 kB / 0.7808 GB, free: 55.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/1.487, allocations: 9.128 MB / 0.7897 GB, free: 47.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07303/1.56, allocations: 35.5 MB / 0.8244 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0231/1.583, allocations: 20.73 MB / 0.8447 GB, free: 4.504 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006127/1.589, allocations: 2.245 MB / 0.8468 GB, free: 2.258 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/1.59, allocations: 228.5 kB / 0.8471 GB, free: 2.008 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/1.59, allocations: 68.89 kB / 0.8471 GB, free: 1.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 7.344e-06/1.59, allocations: 0 / 0.8471 GB, free: 1.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.3454/1.935, allocations: 8.438 MB / 0.8554 GB, free: 83.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/1.936, allocations: 82.16 kB / 0.8554 GB, free: 83.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004515/1.94, allocations: 2.649 MB / 0.858 GB, free: 83.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004998/1.941, allocations: 73.33 kB / 0.8581 GB, free: 83.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.942, allocations: 2.85 MB / 0.8609 GB, free: 81.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00121/1.943, allocations: 1.036 MB / 0.8619 GB, free: 81.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.944, allocations: 91.47 kB / 0.862 GB, free: 81.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/1.944, allocations: 0.4899 MB / 0.8625 GB, free: 80.78 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/1.947, allocations: 1.951 MB / 0.8644 GB, free: 80.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/1.95, allocations: 3.629 MB / 0.8679 GB, free: 78.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/1.954, allocations: 2.796 MB / 0.8706 GB, free: 78.67 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.15e-05/1.954, allocations: 14.53 kB / 0.8707 GB, free: 78.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01135/1.965, allocations: 6.476 MB / 0.877 GB, free: 78.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/1.966, allocations: 29.62 kB / 0.877 GB, free: 78.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.966, allocations: 58.48 kB / 0.8771 GB, free: 78.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/1.968, allocations: 0.6744 MB / 0.8777 GB, free: 78.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/1.972, allocations: 1.068 MB / 0.8788 GB, free: 78.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007133/1.979, allocations: 5.801 MB / 0.8844 GB, free: 76.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.983, allocations: 306.1 kB / 0.8847 GB, free: 76.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006549/1.984, allocations: 232.9 kB / 0.885 GB, free: 76.89 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.0006781/1.985, allocations: 395.1 kB / 0.8853 GB, free: 76.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005908/1.985, allocations: 322.9 kB / 0.8856 GB, free: 76.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006826/1.992, allocations: 4.54 MB / 0.8901 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/1.992, allocations: 35.44 kB / 0.8901 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.992, allocations: 3.75 kB / 0.8901 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/1.992, allocations: 20.47 kB / 0.8901 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/2.008, allocations: 11.34 MB / 0.9012 GB, free: 75.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/2.008, allocations: 3.312 kB / 0.9012 GB, free: 75.08 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/2.01, allocations: 0.5268 MB / 0.9017 GB, free: 75.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/2.012, allocations: 0.5587 MB / 0.9023 GB, free: 75.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/2.012, allocations: 73.3 kB / 0.9023 GB, free: 75.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/2.018, allocations: 5.014 MB / 0.9072 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.892e-06/2.018, allocations: 7.688 kB / 0.9072 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008746/2.026, allocations: 6.918 MB / 0.914 GB, free: 69.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/2.029, allocations: 0.7439 MB / 0.9147 GB, free: 68.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/2.029, allocations: 55.56 kB / 0.9148 GB, free: 68.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/2.031, allocations: 167.6 kB / 0.9149 GB, free: 68.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/2.031, allocations: 206.5 kB / 0.9151 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/2.032, allocations: 87.84 kB / 0.9152 GB, free: 68.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003082/2.035, allocations: 1.952 MB / 0.9171 GB, free: 67.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.035, allocations: 4 kB / 0.9171 GB, free: 67.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005577/2.04, allocations: 1.23 MB / 0.9183 GB, free: 67.55 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.0009728/2.041, allocations: 0.5299 MB / 0.9188 GB, free: 67.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007594/2.049, allocations: 4.897 MB / 0.9236 GB, free: 65.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/2.049, allocations: 0 / 0.9236 GB, free: 65.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/2.052, allocations: 2.216 MB / 0.9258 GB, free: 64.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/2.055, allocations: 0.5639 MB / 0.9263 GB, free: 64.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/2.072, allocations: 9.576 MB / 0.9357 GB, free: 60.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003525/2.076, allocations: 4.257 MB / 0.9398 GB, free: 58.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00397/2.08, allocations: 1.405 MB / 0.9412 GB, free: 57.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008148/2.081, allocations: 273.7 kB / 0.9415 GB, free: 57.27 MB / 474.7 MB Notification: Performance of SimCode: time 9.42e-07/2.081, allocations: 0 / 0.9415 GB, free: 57.27 MB / 474.7 MB Notification: Performance of Templates: time 0.07127/2.152, allocations: 46.8 MB / 0.9872 GB, free: 29.32 MB / 474.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)