Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, 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.201/1.201, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0007855/0.0007854, allocations: 82.73 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.4307/0.4307, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.631e-05, allocations: 4 kB / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3067, allocations: 69.34 MB / 0.548 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4215, allocations: 100.7 MB / 0.6463 GB, free: 15.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4218, allocations: 75.95 kB / 0.6464 GB, free: 15.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4545/0.8763, allocations: 70.14 MB / 0.7149 GB, free: 93.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8764, allocations: 0 / 0.7149 GB, free: 93.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001846/0.8766, allocations: 56 kB / 0.715 GB, free: 93.79 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01232/0.8889, allocations: 4.071 MB / 0.7189 GB, free: 89.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.889, allocations: 15.97 kB / 0.719 GB, free: 89.62 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009372/0.8899, allocations: 299.3 kB / 0.7192 GB, free: 89.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009581/0.8995, allocations: 1.6 MB / 0.7208 GB, free: 87.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.9029, allocations: 1.651 MB / 0.7224 GB, free: 86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005264/0.9034, allocations: 0.7486 MB / 0.7231 GB, free: 85.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.9039, allocations: 215.9 kB / 0.7233 GB, free: 84.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/0.908, allocations: 2.579 MB / 0.7259 GB, free: 82.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.9081, allocations: 3.984 kB / 0.7259 GB, free: 82.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.9083, allocations: 84 kB / 0.726 GB, free: 82.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.9084, allocations: 48 kB / 0.726 GB, free: 82.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.9122, allocations: 2.336 MB / 0.7283 GB, free: 79.78 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.01633/0.9285, allocations: 9.963 MB / 0.738 GB, free: 69.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008431/0.937, allocations: 4.206 MB / 0.7421 GB, free: 65.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002551/0.9396, allocations: 1.544 MB / 0.7436 GB, free: 63.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.9399, allocations: 41.95 kB / 0.7437 GB, free: 63.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002971/0.9429, allocations: 1.803 MB / 0.7454 GB, free: 61.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 5.119e-06/0.9429, allocations: 3.938 kB / 0.7454 GB, free: 61.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03919/0.9821, allocations: 12.57 MB / 0.7577 GB, free: 49.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.9823, allocations: 184.2 kB / 0.7579 GB, free: 48.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/0.9856, allocations: 1.879 MB / 0.7597 GB, free: 46.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008267/0.9865, allocations: 69.7 kB / 0.7598 GB, free: 46.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007115/0.9872, allocations: 1.212 MB / 0.761 GB, free: 45.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.9884, allocations: 0.8624 MB / 0.7618 GB, free: 44.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.9886, allocations: 52 kB / 0.7619 GB, free: 44.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9888, allocations: 407 kB / 0.7622 GB, free: 44.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.9909, allocations: 1.263 MB / 0.7635 GB, free: 43.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.993, allocations: 1.571 MB / 0.765 GB, free: 41.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.9951, allocations: 1.496 MB / 0.7665 GB, free: 39.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.9951, allocations: 0 / 0.7665 GB, free: 39.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03353/1.029, allocations: 12.65 MB / 0.7788 GB, free: 27.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/1.029, allocations: 118.8 kB / 0.7789 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.029, allocations: 4 kB / 0.7789 GB, free: 26.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/1.044, allocations: 5.29 MB / 0.7841 GB, free: 21.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.046, allocations: 431.4 kB / 0.7845 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03673/1.083, allocations: 17.87 MB / 0.802 GB, free: 3.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/1.087, allocations: 0.5407 MB / 0.8025 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/1.087, allocations: 87.97 kB / 0.8026 GB, free: 2.551 MB / 490.7 MB 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-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 (228): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005594/1.088, allocations: 297.4 kB / 0.8029 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005797/1.089, allocations: 308.2 kB / 0.8032 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03627/1.125, allocations: 12.92 MB / 0.8158 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/1.125, allocations: 28 kB / 0.8158 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/1.125, allocations: 20 kB / 0.8158 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.89e-05/1.125, allocations: 11.95 kB / 0.8158 GB, free: 4.859 MB / 0.4948 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.04369/1.169, allocations: 16.48 MB / 0.8319 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/1.169, allocations: 4.062 kB / 0.8319 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/1.17, allocations: 247.7 kB / 0.8322 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01555/1.186, allocations: 5.048 MB / 0.8371 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006907/1.187, allocations: 51.98 kB / 0.8372 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03855/1.225, allocations: 19.28 MB / 0.856 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.225, allocations: 7.938 kB / 0.856 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04006/1.265, allocations: 14.91 MB / 0.8705 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009455/1.266, allocations: 416.8 kB / 0.8709 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/1.267, allocations: 44 kB / 0.871 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00299/1.27, allocations: 411.6 kB / 0.8714 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001992/1.272, allocations: 0.5836 MB / 0.8719 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.272, allocations: 63.98 kB / 0.872 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001961/1.274, allocations: 1.445 MB / 0.8734 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.274, allocations: 0 / 0.8734 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003159/1.277, allocations: 1.12 MB / 0.8745 GB, free: 7.949 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04006/1.317, allocations: 15.66 MB / 0.8898 GB, free: 8.145 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01527/1.333, allocations: 5.783 MB / 0.8954 GB, free: 2.258 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.333, allocations: 0 / 0.8954 GB, free: 2.258 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2753/1.608, allocations: 4.414 MB / 0.8998 GB, free: 177 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/1.61, allocations: 227.8 kB / 0.9 GB, free: 176.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/1.618, allocations: 4.659 MB / 0.9045 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.62, allocations: 1.876 MB / 0.9064 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009906/1.621, allocations: 213.5 kB / 0.9066 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/1.622, allocations: 1.215 MB / 0.9077 GB, free: 175 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/1.622, allocations: 3.25 kB / 0.9078 GB, free: 175 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09819/1.72, allocations: 79.26 MB / 0.9852 GB, free: 123.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/1.72, allocations: 188.5 kB / 0.9853 GB, free: 123.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/6.253, allocations: 0 / 0.9853 GB, free: 123.2 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)