Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.0009627/0.0009629, 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.215/1.215, 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.0008734/0.0008738, allocations: 85.3 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.891e-05, allocations: 4 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2938, allocations: 69.35 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4099, allocations: 98.79 MB / 0.6445 GB, free: 1.762 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4102, allocations: 83.95 kB / 0.6446 GB, free: 1.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3982/0.8084, allocations: 36.41 MB / 0.6801 GB, free: 106.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8085, allocations: 0 / 0.6801 GB, free: 106.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.548e-05/0.8086, allocations: 31.73 kB / 0.6801 GB, free: 106.1 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.004546/0.8131, allocations: 1.698 MB / 0.6818 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.8132, allocations: 17.03 kB / 0.6818 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/0.8168, allocations: 0.5608 MB / 0.6824 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.8185, allocations: 0.7894 MB / 0.6831 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.8188, allocations: 265 kB / 0.6834 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.819, allocations: 81.16 kB / 0.6835 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.8208, allocations: 0.9339 MB / 0.6844 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.8208, allocations: 0.75 kB / 0.6844 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-05/0.8209, allocations: 35.36 kB / 0.6844 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.8209, allocations: 18.12 kB / 0.6844 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.8224, allocations: 0.8403 MB / 0.6853 GB, free: 104.7 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.006385/0.8288, allocations: 3.794 MB / 0.689 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006769/0.8356, allocations: 2.666 MB / 0.6916 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/0.8365, allocations: 0.5382 MB / 0.6921 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.8366, allocations: 17.27 kB / 0.6921 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000922/0.8375, allocations: 0.6764 MB / 0.6928 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.695e-06/0.8375, allocations: 0 / 0.6928 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01167/0.8492, allocations: 4.019 MB / 0.6967 GB, free: 102.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8493, allocations: 118.8 kB / 0.6968 GB, free: 102 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.8504, allocations: 0.8747 MB / 0.6977 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.8506, allocations: 45.42 kB / 0.6977 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.8509, allocations: 0.4994 MB / 0.6982 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.8512, allocations: 348.9 kB / 0.6985 GB, free: 100.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.8512, allocations: 22.06 kB / 0.6985 GB, free: 100.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.8513, allocations: 340.5 kB / 0.6989 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006912/0.852, allocations: 463.8 kB / 0.6993 GB, free: 100.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/0.8527, allocations: 0.5787 MB / 0.6999 GB, free: 100.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.8535, allocations: 0.5543 MB / 0.7004 GB, free: 99.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.8535, allocations: 7.891 kB / 0.7004 GB, free: 99.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01745/0.8709, allocations: 4.094 MB / 0.7044 GB, free: 98.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/0.871, allocations: 55.28 kB / 0.7045 GB, free: 98.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.8711, allocations: 3.938 kB / 0.7045 GB, free: 98.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008173/0.8793, allocations: 1.525 MB / 0.706 GB, free: 98.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.8808, allocations: 186.4 kB / 0.7061 GB, free: 98.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/0.9009, allocations: 6.746 MB / 0.7127 GB, free: 92.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.9033, allocations: 204.8 kB / 0.7129 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.9035, allocations: 38.47 kB / 0.713 GB, free: 92.18 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.000305/0.9038, allocations: 201.7 kB / 0.7132 GB, free: 91.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.9041, allocations: 129.5 kB / 0.7133 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/0.9214, allocations: 4.14 MB / 0.7173 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.9214, allocations: 12 kB / 0.7173 GB, free: 88.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.9214, allocations: 8 kB / 0.7173 GB, free: 88.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.091e-05/0.9215, allocations: 11.27 kB / 0.7174 GB, free: 88.6 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.0195/0.941, allocations: 5.694 MB / 0.7229 GB, free: 84.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.941, allocations: 8.016 kB / 0.7229 GB, free: 84.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/0.942, allocations: 95.91 kB / 0.723 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00689/0.9489, allocations: 1.493 MB / 0.7245 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.9491, allocations: 20 kB / 0.7245 GB, free: 82.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/0.9682, allocations: 7.703 MB / 0.732 GB, free: 74.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.9683, allocations: 7.953 kB / 0.732 GB, free: 74.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/0.9886, allocations: 4.873 MB / 0.7368 GB, free: 69.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.9894, allocations: 231.2 kB / 0.737 GB, free: 69.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005977/0.99, allocations: 20 kB / 0.737 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/0.9922, allocations: 143.9 kB / 0.7372 GB, free: 69.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000957/0.9932, allocations: 200.7 kB / 0.7374 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.9934, allocations: 27.98 kB / 0.7374 GB, free: 68.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001655/0.9951, allocations: 0.6817 MB / 0.738 GB, free: 68.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9951, allocations: 0 / 0.738 GB, free: 68.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002361/0.9975, allocations: 439.5 kB / 0.7385 GB, free: 67.8 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.0004539/0.9979, allocations: 153.2 kB / 0.7386 GB, free: 67.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007207/1.005, allocations: 2.067 MB / 0.7406 GB, free: 65.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.005, allocations: 8.188 kB / 0.7406 GB, free: 65.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005689/1.011, allocations: 1.58 MB / 0.7422 GB, free: 63.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.012, allocations: 104.5 kB / 0.7423 GB, free: 63.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/1.018, allocations: 1.73 MB / 0.744 GB, free: 62.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/1.018, allocations: 1.15 MB / 0.7451 GB, free: 60.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008007/1.019, allocations: 102.3 kB / 0.7452 GB, free: 60.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/1.02, allocations: 63.42 kB / 0.7452 GB, free: 60.74 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.02, allocations: 0 / 0.7452 GB, free: 60.74 MB / 490.7 MB Notification: Performance of Templates: time 0.04665/1.066, allocations: 20.48 MB / 0.7653 GB, free: 40.48 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)