Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008773/0.0008774, allocations: 172.5 kB / 7.646 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.23/1.23, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008671/0.0008671, allocations: 97.44 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4556/0.4556, allocations: 78.94 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.54e-05, allocations: 4 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1463, allocations: 69.51 MB / 0.5424 GB, free: 5.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3996/0.546, allocations: 100.2 MB / 0.6403 GB, free: 13.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5463, allocations: 85.73 kB / 0.6404 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1829/0.7292, allocations: 69.67 MB / 0.7085 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7292, allocations: 4 kB / 0.7085 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001713/0.7294, allocations: 59.94 kB / 0.7085 GB, free: 7.98 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01216/0.7416, allocations: 4.014 MB / 0.7124 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.7416, allocations: 8.031 kB / 0.7124 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009698/0.7513, allocations: 1.6 MB / 0.714 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.7548, allocations: 1.639 MB / 0.7156 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006671/0.7555, allocations: 0.6744 MB / 0.7163 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.7559, allocations: 127.9 kB / 0.7164 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00408/0.7599, allocations: 2.211 MB / 0.7185 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004161/0.7641, allocations: 2.275 MB / 0.7208 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.7642, allocations: 4 kB / 0.7208 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.7644, allocations: 5.828 kB / 0.7208 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.7645, allocations: 51.98 kB / 0.7208 GB, free: 11.03 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.01852/0.783, allocations: 9.613 MB / 0.7302 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009546/0.7926, allocations: 4.095 MB / 0.7342 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.7951, allocations: 1.462 MB / 0.7356 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003212/0.7955, allocations: 45.88 kB / 0.7357 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00277/0.7982, allocations: 1.714 MB / 0.7374 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=248): time 4.618e-06/0.7983, allocations: 0 / 0.7374 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of matching and sorting (n=248): time 0.03828/0.8365, allocations: 12.31 MB / 0.7494 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.8367, allocations: 188.2 kB / 0.7496 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.8397, allocations: 1.693 MB / 0.7512 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007304/0.8404, allocations: 25.7 kB / 0.7512 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009571/0.8414, allocations: 1.207 MB / 0.7524 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.8426, allocations: 0.8197 MB / 0.7532 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.8428, allocations: 0 / 0.7532 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.843, allocations: 399 kB / 0.7536 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.845, allocations: 1.208 MB / 0.7548 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/0.8472, allocations: 1.503 MB / 0.7562 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.8495, allocations: 1.324 MB / 0.7575 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.8495, allocations: 4 kB / 0.7575 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.3314/1.181, allocations: 12.28 MB / 0.7695 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.267e-05/1.181, allocations: 115.4 kB / 0.7696 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.181, allocations: 6 kB / 0.7696 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01573/1.197, allocations: 4.972 MB / 0.7745 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/1.199, allocations: 424.4 kB / 0.7749 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03909/1.238, allocations: 17.54 MB / 0.792 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/1.243, allocations: 499 kB / 0.7925 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003758/1.243, allocations: 89.25 kB / 0.7926 GB, free: 111.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (226): * Single equations (assignments): 221 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009705/1.244, allocations: 213.1 kB / 0.7928 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006594/1.245, allocations: 294.9 kB / 0.7931 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0417/1.286, allocations: 12.61 MB / 0.8054 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/1.286, allocations: 24.5 kB / 0.8054 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.259e-05/1.286, allocations: 19.47 kB / 0.8054 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8e-05/1.287, allocations: 13.56 kB / 0.8055 GB, free: 110.5 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.0391/1.326, allocations: 15.93 MB / 0.821 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/1.326, allocations: 6.844 kB / 0.821 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.327, allocations: 244.5 kB / 0.8213 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01424/1.342, allocations: 4.98 MB / 0.8261 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006347/1.342, allocations: 16.75 kB / 0.8261 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0358/1.378, allocations: 18.98 MB / 0.8447 GB, free: 98.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.378, allocations: 4.734 kB / 0.8447 GB, free: 98.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03806/1.416, allocations: 14.57 MB / 0.8589 GB, free: 94.53 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.417, allocations: 413.8 kB / 0.8593 GB, free: 94.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006507/1.418, allocations: 4 kB / 0.8593 GB, free: 94.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/1.421, allocations: 375.2 kB / 0.8597 GB, free: 93.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001878/1.423, allocations: 0.5855 MB / 0.8602 GB, free: 93.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.423, allocations: 63.84 kB / 0.8603 GB, free: 93.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001614/1.425, allocations: 1.258 MB / 0.8615 GB, free: 92.35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/1.425, allocations: 0 / 0.8615 GB, free: 92.35 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003565/1.428, allocations: 1.004 MB / 0.8625 GB, free: 91.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004422/1.429, allocations: 157.7 kB / 0.8626 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.443, allocations: 5.558 MB / 0.8681 GB, free: 86.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.443, allocations: 4 kB / 0.8681 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01221/1.455, allocations: 4.283 MB / 0.8723 GB, free: 82.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/1.458, allocations: 178.4 kB / 0.8724 GB, free: 82.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/1.465, allocations: 3.982 MB / 0.8763 GB, free: 78.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.466, allocations: 1.868 MB / 0.8781 GB, free: 77.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009966/1.467, allocations: 210.3 kB / 0.8783 GB, free: 77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/1.467, allocations: 134.3 kB / 0.8785 GB, free: 76.88 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/1.467, allocations: 0 / 0.8785 GB, free: 76.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.07201/1.539, allocations: 50.96 MB / 0.9282 GB, free: 35.57 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)