Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 229.6 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 100.9 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4708/0.4708, allocations: 78.94 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.567e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 69.52 MB / 0.5424 GB, free: 5.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5223, allocations: 100.8 MB / 0.6409 GB, free: 13.31 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.5226, allocations: 82.8 kB / 0.6409 GB, free: 13.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1845/0.7071, allocations: 70.53 MB / 0.7098 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7071, allocations: 0 / 0.7098 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002028/0.7073, allocations: 59.94 kB / 0.7099 GB, free: 6.539 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01268/0.72, allocations: 4.076 MB / 0.7139 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7201, allocations: 12.02 kB / 0.7139 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.7302, allocations: 1.603 MB / 0.7154 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.7339, allocations: 1.663 MB / 0.7171 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006937/0.7346, allocations: 0.6744 MB / 0.7177 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/0.735, allocations: 127.9 kB / 0.7178 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004069/0.7391, allocations: 2.234 MB / 0.72 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.7433, allocations: 2.294 MB / 0.7223 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.7433, allocations: 3.953 kB / 0.7223 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/0.7436, allocations: 0 / 0.7223 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.7436, allocations: 52 kB / 0.7223 GB, free: 9.465 MB / 0.5261 GB 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.01834/0.762, allocations: 9.668 MB / 0.7317 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009615/0.7716, allocations: 4.126 MB / 0.7358 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.774, allocations: 1.484 MB / 0.7372 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.7743, allocations: 45.88 kB / 0.7373 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002749/0.777, allocations: 1.737 MB / 0.739 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=250): time 3.767e-06/0.7771, allocations: 0 / 0.739 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of matching and sorting (n=250): time 0.03802/0.8151, allocations: 12.36 MB / 0.751 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.8152, allocations: 184.2 kB / 0.7512 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.8181, allocations: 1.733 MB / 0.7529 GB, free: 9.504 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005504/0.8187, allocations: 30.36 kB / 0.7529 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008887/0.8196, allocations: 1.211 MB / 0.7541 GB, free: 8.246 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.8207, allocations: 0.8313 MB / 0.7549 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.8209, allocations: 0 / 0.7549 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.8211, allocations: 399 kB / 0.7553 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.8232, allocations: 1.228 MB / 0.7565 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.8255, allocations: 1.519 MB / 0.758 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.8278, allocations: 1.343 MB / 0.7593 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.8278, allocations: 4 kB / 0.7593 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.3027/1.131, allocations: 12.37 MB / 0.7714 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/1.131, allocations: 121.5 kB / 0.7715 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/1.131, allocations: 9.453 kB / 0.7715 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01598/1.147, allocations: 5.073 MB / 0.7765 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/1.149, allocations: 410.9 kB / 0.7769 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04047/1.19, allocations: 18.87 MB / 0.7953 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004629/1.194, allocations: 0.4892 MB / 0.7958 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007166/1.195, allocations: 88.91 kB / 0.7959 GB, free: 110.3 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0008474/1.196, allocations: 215.6 kB / 0.7961 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009322/1.197, allocations: 297 kB / 0.7963 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03996/1.237, allocations: 12.66 MB / 0.8087 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/1.237, allocations: 24.78 kB / 0.8087 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-05/1.237, allocations: 18.88 kB / 0.8087 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-05/1.237, allocations: 12.47 kB / 0.8088 GB, free: 109.2 MB / 0.5573 GB 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.03924/1.276, allocations: 16.03 MB / 0.8244 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.276, allocations: 4.156 kB / 0.8244 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.278, allocations: 251.7 kB / 0.8247 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01431/1.292, allocations: 4.954 MB / 0.8295 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005712/1.293, allocations: 20.2 kB / 0.8295 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03448/1.327, allocations: 19 MB / 0.8481 GB, free: 96.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.327, allocations: 0 / 0.8481 GB, free: 96.87 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03783/1.365, allocations: 14.65 MB / 0.8624 GB, free: 91.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008924/1.366, allocations: 415.5 kB / 0.8628 GB, free: 90.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006242/1.367, allocations: 8 kB / 0.8628 GB, free: 90.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/1.37, allocations: 371.7 kB / 0.8631 GB, free: 90.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001745/1.372, allocations: 0.5788 MB / 0.8637 GB, free: 90.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.372, allocations: 63.94 kB / 0.8638 GB, free: 90.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001619/1.373, allocations: 1.301 MB / 0.865 GB, free: 88.85 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.373, allocations: 0 / 0.865 GB, free: 88.85 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003195/1.377, allocations: 1.021 MB / 0.866 GB, free: 87.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004733/1.377, allocations: 149.5 kB / 0.8662 GB, free: 87.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.391, allocations: 5.751 MB / 0.8718 GB, free: 82.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.391, allocations: 7.797 kB / 0.8718 GB, free: 82.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/1.402, allocations: 4.275 MB / 0.876 GB, free: 78.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/1.405, allocations: 193.3 kB / 0.8761 GB, free: 78.51 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007475/1.412, allocations: 4.162 MB / 0.8802 GB, free: 74.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009999/1.413, allocations: 1.886 MB / 0.8821 GB, free: 73.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001111/1.414, allocations: 210.5 kB / 0.8823 GB, free: 73.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/1.415, allocations: 138.2 kB / 0.8824 GB, free: 73 MB / 0.5573 GB Notification: Performance of SimCode: time 9.32e-07/1.415, allocations: 0 / 0.8824 GB, free: 73 MB / 0.5573 GB Notification: Performance of Templates: time 0.06452/1.479, allocations: 51.72 MB / 0.9329 GB, free: 30.57 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)