Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, 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/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008867/0.0008869, allocations: 99.12 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4484/0.4484, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.75e-05, allocations: 0 / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3382, allocations: 69.34 MB / 0.5479 GB, free: 20.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.457, allocations: 96.76 MB / 0.6424 GB, free: 3.672 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4572, allocations: 75.95 kB / 0.6425 GB, free: 3.598 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05823/0.5155, allocations: 22.93 MB / 0.6649 GB, free: 12.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.5155, allocations: 0 / 0.6649 GB, free: 12.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.104e-05/0.5156, allocations: 27.81 kB / 0.6649 GB, free: 12.47 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004066/0.5196, allocations: 1.574 MB / 0.6665 GB, free: 10.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5197, allocations: 15.97 kB / 0.6665 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.5228, allocations: 0.5332 MB / 0.667 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.524, allocations: 0.6641 MB / 0.6677 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.5243, allocations: 263.5 kB / 0.6679 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5244, allocations: 71.89 kB / 0.668 GB, free: 9.223 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5259, allocations: 0.7718 MB / 0.6687 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.526, allocations: 0 / 0.6687 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.5261, allocations: 24 kB / 0.6688 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.5261, allocations: 16 kB / 0.6688 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.5274, allocations: 0.7706 MB / 0.6695 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/0.533, allocations: 3.191 MB / 0.6726 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.5345, allocations: 1.147 MB / 0.6738 GB, free: 3.023 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008205/0.5353, allocations: 0.5388 MB / 0.6743 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.5355, allocations: 16.77 kB / 0.6743 GB, free: 2.457 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.5355, allocations: 39.34 kB / 0.6743 GB, free: 2.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 3.787e-06/0.5355, allocations: 0 / 0.6743 GB, free: 2.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.3505/0.886, allocations: 3.957 MB / 0.6782 GB, free: 106.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.8861, allocations: 63.47 kB / 0.6783 GB, free: 106.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.8873, allocations: 0.6541 MB / 0.6789 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.8875, allocations: 38.39 kB / 0.6789 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.8878, allocations: 437.5 kB / 0.6794 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.8881, allocations: 285.3 kB / 0.6796 GB, free: 106.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.8882, allocations: 16.22 kB / 0.6796 GB, free: 106.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.8883, allocations: 339.1 kB / 0.68 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/0.889, allocations: 399.1 kB / 0.6803 GB, free: 105.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007954/0.8898, allocations: 0.4923 MB / 0.6808 GB, free: 105.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.8906, allocations: 437 kB / 0.6812 GB, free: 105.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.8907, allocations: 0.7188 kB / 0.6812 GB, free: 105.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01281/0.9035, allocations: 4.071 MB / 0.6852 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.9035, allocations: 10.31 kB / 0.6852 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.9036, allocations: 3.844 kB / 0.6852 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005158/0.9087, allocations: 1.804 MB / 0.687 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.9094, allocations: 114.8 kB / 0.6871 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.9222, allocations: 7.098 MB / 0.694 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.9234, allocations: 186.8 kB / 0.6942 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.9235, allocations: 24.09 kB / 0.6942 GB, free: 102.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.9237, allocations: 148 kB / 0.6944 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.9238, allocations: 104.7 kB / 0.6945 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.9349, allocations: 4.078 MB / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.9349, allocations: 10.78 kB / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.9349, allocations: 0 / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.9349, allocations: 3.609 kB / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.9472, allocations: 5.565 MB / 0.7039 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.9472, allocations: 0 / 0.7039 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.9477, allocations: 97.09 kB / 0.704 GB, free: 99.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004753/0.9525, allocations: 1.67 MB / 0.7056 GB, free: 98.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.9525, allocations: 16 kB / 0.7056 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.9635, allocations: 6.344 MB / 0.7118 GB, free: 92.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9636, allocations: 0 / 0.7118 GB, free: 92.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.9752, allocations: 4.763 MB / 0.7165 GB, free: 88.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.9755, allocations: 189.4 kB / 0.7167 GB, free: 88.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.9756, allocations: 16 kB / 0.7167 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008977/0.9765, allocations: 133.5 kB / 0.7168 GB, free: 88.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000565/0.9771, allocations: 194 kB / 0.717 GB, free: 88.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.9772, allocations: 20 kB / 0.717 GB, free: 88.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005452/0.9777, allocations: 0.5089 MB / 0.7175 GB, free: 87.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9778, allocations: 0 / 0.7175 GB, free: 87.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009877/0.9787, allocations: 396.2 kB / 0.7179 GB, free: 87.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.979, allocations: 140.6 kB / 0.718 GB, free: 87.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004565/0.9836, allocations: 1.903 MB / 0.7199 GB, free: 85.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9836, allocations: 0 / 0.7199 GB, free: 85.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0036/0.9872, allocations: 1.431 MB / 0.7213 GB, free: 84.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.9878, allocations: 63.27 kB / 0.7213 GB, free: 84.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.9897, allocations: 1.186 MB / 0.7225 GB, free: 83.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.9901, allocations: 1.043 MB / 0.7235 GB, free: 82.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002256/0.9903, allocations: 55.41 kB / 0.7236 GB, free: 82.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.9905, allocations: 43.44 kB / 0.7236 GB, free: 82.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.753e-06/0.9905, allocations: 4 kB / 0.7236 GB, free: 82.24 MB / 490.7 MB Notification: Performance of Templates: time 0.02267/1.013, allocations: 18.33 MB / 0.7415 GB, free: 64.34 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)