Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 174.5 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.197/1.197, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008125/0.0008125, allocations: 88.08 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4351/0.4351, allocations: 78.02 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.059e-05, allocations: 4 kB / 491.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 69.35 MB / 0.5479 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.4044, allocations: 98.81 MB / 0.6444 GB, free: 1.629 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4047, allocations: 79.89 kB / 0.6445 GB, free: 1.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.346/0.7507, allocations: 36.43 MB / 0.6801 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.7507, allocations: 0 / 0.6801 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.437e-05/0.7508, allocations: 25 kB / 0.6801 GB, free: 106.2 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003916/0.7547, allocations: 1.7 MB / 0.6818 GB, free: 105.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7548, allocations: 16.88 kB / 0.6818 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.758, allocations: 0.5587 MB / 0.6823 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.7593, allocations: 0.7867 MB / 0.6831 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.7595, allocations: 266.5 kB / 0.6834 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.7597, allocations: 78.31 kB / 0.6834 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.7613, allocations: 0.9356 MB / 0.6843 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.7613, allocations: 0 / 0.6843 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.7614, allocations: 36.05 kB / 0.6844 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.7614, allocations: 22.53 kB / 0.6844 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.7628, allocations: 0.8403 MB / 0.6852 GB, free: 104.8 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005687/0.7685, allocations: 3.789 MB / 0.6889 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0064/0.775, allocations: 2.667 MB / 0.6915 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.7757, allocations: 0.5401 MB / 0.6921 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.7758, allocations: 18.31 kB / 0.6921 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009013/0.7767, allocations: 0.6762 MB / 0.6927 GB, free: 103.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.875e-06/0.7767, allocations: 0 / 0.6927 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01131/0.788, allocations: 4.027 MB / 0.6967 GB, free: 102.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.7881, allocations: 115 kB / 0.6968 GB, free: 102.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.7894, allocations: 0.8775 MB / 0.6976 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000255/0.7897, allocations: 44.88 kB / 0.6977 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.79, allocations: 0.5027 MB / 0.6982 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.7903, allocations: 344.2 kB / 0.6985 GB, free: 101 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.7904, allocations: 19.16 kB / 0.6985 GB, free: 101 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.7904, allocations: 349.9 kB / 0.6988 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.7911, allocations: 456.7 kB / 0.6993 GB, free: 100.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/0.7918, allocations: 0.5809 MB / 0.6998 GB, free: 100.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.7926, allocations: 0.5529 MB / 0.7004 GB, free: 99.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7926, allocations: 8.828 kB / 0.7004 GB, free: 99.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01133/0.804, allocations: 4.09 MB / 0.7044 GB, free: 98.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.8041, allocations: 62.34 kB / 0.7044 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8041, allocations: 3.875 kB / 0.7045 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004948/0.8091, allocations: 1.519 MB / 0.7059 GB, free: 98.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/0.81, allocations: 187.6 kB / 0.7061 GB, free: 98.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.822, allocations: 6.755 MB / 0.7127 GB, free: 92.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.8236, allocations: 199.3 kB / 0.7129 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.8238, allocations: 38.86 kB / 0.7129 GB, free: 92 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 2 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.8241, allocations: 196.5 kB / 0.7131 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.8243, allocations: 126.4 kB / 0.7132 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.8351, allocations: 4.144 MB / 0.7173 GB, free: 88.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.8351, allocations: 8 kB / 0.7173 GB, free: 88.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.8352, allocations: 8 kB / 0.7173 GB, free: 88.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.089e-05/0.8352, allocations: 7.469 kB / 0.7173 GB, free: 88.43 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/0.8478, allocations: 5.699 MB / 0.7229 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.8478, allocations: 0 / 0.7229 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.8485, allocations: 103.8 kB / 0.723 GB, free: 83.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004294/0.8528, allocations: 1.488 MB / 0.7244 GB, free: 82.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.8529, allocations: 24 kB / 0.7245 GB, free: 82.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/0.8645, allocations: 7.711 MB / 0.732 GB, free: 74.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8646, allocations: 3.953 kB / 0.732 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.8765, allocations: 4.88 MB / 0.7368 GB, free: 69.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004933/0.8771, allocations: 231.2 kB / 0.737 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.8772, allocations: 20 kB / 0.737 GB, free: 69.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.8784, allocations: 143.9 kB / 0.7371 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/0.8789, allocations: 192.7 kB / 0.7373 GB, free: 68.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.879, allocations: 27.98 kB / 0.7373 GB, free: 68.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007611/0.8798, allocations: 0.6817 MB / 0.738 GB, free: 68.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8798, allocations: 0 / 0.738 GB, free: 68.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001076/0.8809, allocations: 431.5 kB / 0.7384 GB, free: 67.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000236/0.8811, allocations: 165.2 kB / 0.7386 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.8854, allocations: 2.066 MB / 0.7406 GB, free: 65.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8854, allocations: 0 / 0.7406 GB, free: 65.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003469/0.8889, allocations: 1.581 MB / 0.7421 GB, free: 63.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.8896, allocations: 104.6 kB / 0.7422 GB, free: 63.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.8924, allocations: 1.725 MB / 0.7439 GB, free: 61.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.8928, allocations: 1.154 MB / 0.7451 GB, free: 60.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003761/0.8932, allocations: 102.2 kB / 0.7452 GB, free: 60.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.8934, allocations: 63.42 kB / 0.7452 GB, free: 60.55 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/0.8934, allocations: 4 kB / 0.7452 GB, free: 60.55 MB / 490.7 MB Notification: Performance of Templates: time 0.02456/0.918, allocations: 20.48 MB / 0.7652 GB, free: 40.31 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)