Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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.0011/0.0011, allocations: 173.3 kB / 12.73 MB, free: 2.586 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.278/1.278, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008534/0.0008534, allocations: 88.98 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4438/0.4438, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.559e-05, allocations: 4 kB / 491.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 69.35 MB / 0.5481 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4194, allocations: 100.2 MB / 0.6459 GB, free: 172 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4197, allocations: 83.95 kB / 0.646 GB, free: 88 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4502/0.8699, allocations: 69.32 MB / 0.7137 GB, free: 95.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.87, allocations: 0 / 0.7137 GB, free: 95.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002441/0.8702, allocations: 56 kB / 0.7138 GB, free: 94.97 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01225/0.8825, allocations: 4.032 MB / 0.7177 GB, free: 90.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.8826, allocations: 11.97 kB / 0.7177 GB, free: 90.84 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009613/0.8835, allocations: 299.2 kB / 0.718 GB, free: 90.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009925/0.8935, allocations: 1.611 MB / 0.7196 GB, free: 88.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00462/0.8981, allocations: 1.635 MB / 0.7212 GB, free: 87.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007491/0.8989, allocations: 0.7448 MB / 0.7219 GB, free: 86.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/0.9001, allocations: 208 kB / 0.7221 GB, free: 86.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/0.9063, allocations: 2.564 MB / 0.7246 GB, free: 83.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.9064, allocations: 0 / 0.7246 GB, free: 83.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004398/0.9068, allocations: 96 kB / 0.7247 GB, free: 83.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.9069, allocations: 48 kB / 0.7247 GB, free: 83.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/0.9112, allocations: 2.324 MB / 0.727 GB, free: 81.04 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.01781/0.9291, allocations: 9.92 MB / 0.7367 GB, free: 70.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008736/0.9378, allocations: 4.199 MB / 0.7408 GB, free: 66.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.9402, allocations: 1.531 MB / 0.7423 GB, free: 64.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003563/0.9406, allocations: 45.95 kB / 0.7423 GB, free: 64.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002782/0.9433, allocations: 1.799 MB / 0.7441 GB, free: 62.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 4.669e-06/0.9434, allocations: 0 / 0.7441 GB, free: 62.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03533/0.9787, allocations: 12.55 MB / 0.7563 GB, free: 50.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.9788, allocations: 184.2 kB / 0.7565 GB, free: 50.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.9823, allocations: 1.85 MB / 0.7583 GB, free: 48.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006936/0.983, allocations: 65.7 kB / 0.7584 GB, free: 48.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/0.9838, allocations: 1.196 MB / 0.7596 GB, free: 47.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/0.9851, allocations: 0.8547 MB / 0.7604 GB, free: 46.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/0.9856, allocations: 44 kB / 0.7604 GB, free: 46.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.9858, allocations: 406.9 kB / 0.7608 GB, free: 45.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.9881, allocations: 1.259 MB / 0.7621 GB, free: 44.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.9904, allocations: 1.551 MB / 0.7636 GB, free: 42.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.9928, allocations: 1.488 MB / 0.765 GB, free: 41.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.9928, allocations: 4 kB / 0.765 GB, free: 41.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03512/1.028, allocations: 12.62 MB / 0.7774 GB, free: 28.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/1.028, allocations: 110.8 kB / 0.7775 GB, free: 28.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/1.028, allocations: 8 kB / 0.7775 GB, free: 28.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01562/1.044, allocations: 5.223 MB / 0.7826 GB, free: 23.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.046, allocations: 419.4 kB / 0.783 GB, free: 22.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03876/1.085, allocations: 17.9 MB / 0.8004 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.089, allocations: 0.5328 MB / 0.801 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005973/1.09, allocations: 91.97 kB / 0.8011 GB, free: 4.078 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 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.001057/1.091, allocations: 297.5 kB / 0.8013 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009247/1.092, allocations: 300.3 kB / 0.8016 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0375/1.129, allocations: 12.9 MB / 0.8142 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.129, allocations: 24 kB / 0.8142 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-05/1.129, allocations: 20 kB / 0.8143 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.509e-05/1.129, allocations: 11.95 kB / 0.8143 GB, free: 6.461 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.0469/1.176, allocations: 16.43 MB / 0.8303 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/1.176, allocations: 3.984 kB / 0.8303 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.178, allocations: 247.7 kB / 0.8306 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01647/1.195, allocations: 4.98 MB / 0.8354 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007897/1.195, allocations: 55.92 kB / 0.8355 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04297/1.238, allocations: 19.3 MB / 0.8543 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.238, allocations: 3.938 kB / 0.8543 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0438/1.282, allocations: 14.86 MB / 0.8688 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.283, allocations: 420.9 kB / 0.8692 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.285, allocations: 40 kB / 0.8693 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/1.288, allocations: 411.8 kB / 0.8697 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002434/1.291, allocations: 0.5759 MB / 0.8702 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004897/1.291, allocations: 67.98 kB / 0.8703 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002765/1.294, allocations: 1.409 MB / 0.8717 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.294, allocations: 4 kB / 0.8717 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004967/1.299, allocations: 1.116 MB / 0.8728 GB, free: 9.785 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04581/1.345, allocations: 15.63 MB / 0.888 GB, free: 10.03 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0161/1.361, allocations: 5.752 MB / 0.8936 GB, free: 4.191 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.361, allocations: 4.062 kB / 0.8937 GB, free: 4.188 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.2981/1.659, allocations: 4.359 MB / 0.8979 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.662, allocations: 226.9 kB / 0.8981 GB, free: 177.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.672, allocations: 4.55 MB / 0.9026 GB, free: 176.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.674, allocations: 1.862 MB / 0.9044 GB, free: 175.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001033/1.675, allocations: 220 kB / 0.9046 GB, free: 175.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.676, allocations: 1.19 MB / 0.9058 GB, free: 175.4 MB / 0.573 GB Notification: Performance of SimCode: time 8.41e-07/1.676, allocations: 0 / 0.9058 GB, free: 175.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/1.779, allocations: 78.63 MB / 0.9825 GB, free: 125.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001202/1.779, allocations: 183.5 kB / 0.9827 GB, free: 125.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.441/6.22, allocations: 11.44 kB / 0.9827 GB, free: 125.6 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)