Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 174.9 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.05822/0.05822, allocations: 8.7 MB / 21.96 MB, free: 3.367 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.467/1.467, allocations: 221.4 MB / 246 MB, free: 3.531 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.0008448/0.0008451, allocations: 95.17 kB / 299.1 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.521e-05, allocations: 4 kB / 359.5 MB, free: 6.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2583, allocations: 52.53 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4414/0.6997, allocations: 139.6 MB / 0.5388 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.6999, allocations: 73.84 kB / 0.5388 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8116/1.512, allocations: 221 MB / 0.7546 GB, free: 70.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.512, allocations: 0 / 0.7546 GB, free: 70.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003471/1.512, allocations: 144.9 kB / 0.7548 GB, free: 70.97 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.01889/1.531, allocations: 6.132 MB / 0.7608 GB, free: 68.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.531, allocations: 11.06 kB / 0.7608 GB, free: 68.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/1.548, allocations: 3.019 MB / 0.7637 GB, free: 67.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/1.561, allocations: 5.56 MB / 0.7691 GB, free: 64.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/1.561, allocations: 484.4 kB / 0.7696 GB, free: 64.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/1.563, allocations: 0.6137 MB / 0.7702 GB, free: 64.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/1.583, allocations: 10.11 MB / 0.7801 GB, free: 56.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/1.583, allocations: 19.5 kB / 0.7801 GB, free: 56.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008065/1.584, allocations: 263.3 kB / 0.7804 GB, free: 56.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003693/1.584, allocations: 499.5 kB / 0.7808 GB, free: 56.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/1.6, allocations: 9.131 MB / 0.7897 GB, free: 47.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05134/1.651, allocations: 35.49 MB / 0.8244 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01712/1.669, allocations: 20.74 MB / 0.8447 GB, free: 4.477 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003779/1.672, allocations: 2.246 MB / 0.8469 GB, free: 2.227 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/1.673, allocations: 224.4 kB / 0.8471 GB, free: 1.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/1.673, allocations: 60.89 kB / 0.8471 GB, free: 1.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 4.398e-06/1.673, allocations: 4 kB / 0.8471 GB, free: 1.906 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.3076/1.98, allocations: 8.438 MB / 0.8554 GB, free: 83.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/1.981, allocations: 83.78 kB / 0.8554 GB, free: 83.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005926/1.986, allocations: 2.651 MB / 0.858 GB, free: 83.55 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006335/1.987, allocations: 75.08 kB / 0.8581 GB, free: 83.52 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.989, allocations: 2.851 MB / 0.8609 GB, free: 82.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.99, allocations: 1.037 MB / 0.8619 GB, free: 81.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/1.991, allocations: 94.66 kB / 0.862 GB, free: 81.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002748/1.991, allocations: 494.5 kB / 0.8625 GB, free: 81.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/1.994, allocations: 1.95 MB / 0.8644 GB, free: 81.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/1.998, allocations: 3.631 MB / 0.8679 GB, free: 79.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/2.003, allocations: 2.791 MB / 0.8706 GB, free: 79.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.183e-05/2.003, allocations: 14.03 kB / 0.8707 GB, free: 79.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01055/2.013, allocations: 6.479 MB / 0.877 GB, free: 78.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.451e-05/2.014, allocations: 28.34 kB / 0.877 GB, free: 78.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/2.014, allocations: 54.97 kB / 0.8771 GB, free: 78.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/2.015, allocations: 0.6833 MB / 0.8777 GB, free: 78.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004065/2.02, allocations: 1.063 MB / 0.8788 GB, free: 78.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/2.027, allocations: 5.801 MB / 0.8844 GB, free: 77.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/2.031, allocations: 305.3 kB / 0.8847 GB, free: 77.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006358/2.032, allocations: 228.3 kB / 0.8849 GB, free: 77.27 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.0006866/2.033, allocations: 405.7 kB / 0.8853 GB, free: 77.12 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006893/2.033, allocations: 319.2 kB / 0.8856 GB, free: 76.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006806/2.04, allocations: 4.543 MB / 0.8901 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/2.04, allocations: 29.72 kB / 0.8901 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/2.04, allocations: 13.95 kB / 0.8901 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/2.04, allocations: 14.11 kB / 0.8901 GB, free: 76.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/2.056, allocations: 11.33 MB / 0.9012 GB, free: 75.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/2.056, allocations: 3.844 kB / 0.9012 GB, free: 75.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/2.058, allocations: 0.5286 MB / 0.9017 GB, free: 75.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/2.06, allocations: 0.5591 MB / 0.9023 GB, free: 75.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/2.06, allocations: 70.22 kB / 0.9023 GB, free: 75.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005831/2.066, allocations: 5.016 MB / 0.9072 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.066, allocations: 3.938 kB / 0.9072 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008647/2.074, allocations: 6.924 MB / 0.914 GB, free: 69.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/2.076, allocations: 0.7475 MB / 0.9147 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007129/2.077, allocations: 61.8 kB / 0.9148 GB, free: 68.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/2.079, allocations: 156 kB / 0.9149 GB, free: 68.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/2.079, allocations: 204.1 kB / 0.9151 GB, free: 68.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/2.079, allocations: 94.89 kB / 0.9152 GB, free: 68.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00308/2.082, allocations: 1.954 MB / 0.9171 GB, free: 67.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/2.083, allocations: 0 / 0.9171 GB, free: 67.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005161/2.088, allocations: 1.225 MB / 0.9183 GB, free: 67.79 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.0009005/2.089, allocations: 0.529 MB / 0.9188 GB, free: 67.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007068/2.096, allocations: 4.9 MB / 0.9236 GB, free: 65.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/2.096, allocations: 3.938 kB / 0.9236 GB, free: 65.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/2.099, allocations: 2.211 MB / 0.9258 GB, free: 64.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/2.102, allocations: 0.5786 MB / 0.9263 GB, free: 64.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/2.118, allocations: 9.566 MB / 0.9357 GB, free: 60.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003406/2.122, allocations: 4.259 MB / 0.9398 GB, free: 58.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003876/2.126, allocations: 1.402 MB / 0.9412 GB, free: 57.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/2.126, allocations: 272.1 kB / 0.9415 GB, free: 57.3 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/2.126, allocations: 0 / 0.9415 GB, free: 57.3 MB / 474.7 MB Notification: Performance of Templates: time 0.07108/2.197, allocations: 46.8 MB / 0.9872 GB, free: 29.3 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1)