Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.009329/0.009329, allocations: 169.7 kB / 15.11 MB, free: 5.973 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.416/1.416, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009663, allocations: 101.5 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4774/0.4774, allocations: 79.44 MB / 420.8 MB, free: 36.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 16 kB / 0.4891 GB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.139, allocations: 69.51 MB / 0.557 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4189/0.5579, allocations: 103.5 MB / 0.6581 GB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5583, allocations: 90.52 kB / 0.6582 GB, free: 13.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2694/0.8277, allocations: 103.6 MB / 0.7594 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.369e-06/0.8277, allocations: 4 kB / 0.7594 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004561/0.8282, allocations: 87.94 kB / 0.7595 GB, free: 5.418 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0242/0.8524, allocations: 6.687 MB / 0.766 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.8525, allocations: 12.03 kB / 0.766 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002827/0.8553, allocations: 488.9 kB / 0.7665 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/0.8738, allocations: 2.814 MB / 0.7692 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00772/0.8816, allocations: 2.307 MB / 0.7715 GB, free: 8.934 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001271/0.8829, allocations: 0.9886 MB / 0.7724 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.8849, allocations: 347.9 kB / 0.7728 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.9012, allocations: 4.958 MB / 0.7776 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.9014, allocations: 0 / 0.7776 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/0.9028, allocations: 140 kB / 0.7778 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-05/0.9029, allocations: 84 kB / 0.7778 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.9149, allocations: 4.498 MB / 0.7822 GB, free: 13.76 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.382/1.297, allocations: 18.68 MB / 0.8005 GB, free: 89.4 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.311, allocations: 5.707 MB / 0.806 GB, free: 88.96 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008773/1.312, allocations: 70.94 kB / 0.8061 GB, free: 88.95 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009026/1.321, allocations: 3.44 MB / 0.8095 GB, free: 88.81 MB / 0.573 GB Notification: Performance of pre-optimization done (n=385): time 1.342e-05/1.321, allocations: 2.906 kB / 0.8095 GB, free: 88.81 MB / 0.573 GB Notification: Performance of matching and sorting (n=385): time 0.3035/1.625, allocations: 78.05 MB / 0.8857 GB, free: 85.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/1.625, allocations: 143.1 kB / 0.8858 GB, free: 84.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004754/1.63, allocations: 2.763 MB / 0.8885 GB, free: 84.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/1.631, allocations: 89.02 kB / 0.8886 GB, free: 84.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.632, allocations: 2.001 MB / 0.8906 GB, free: 84.25 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.635, allocations: 1.311 MB / 0.8918 GB, free: 83.58 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/1.635, allocations: 70.34 kB / 0.8919 GB, free: 83.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.635, allocations: 447.3 kB / 0.8923 GB, free: 83.27 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005241/1.64, allocations: 2.682 MB / 0.895 GB, free: 83.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/1.646, allocations: 3.254 MB / 0.8981 GB, free: 82.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005909/1.652, allocations: 2.934 MB / 0.901 GB, free: 82.42 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-05/1.652, allocations: 3.719 kB / 0.901 GB, free: 82.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05721/1.709, allocations: 20.27 MB / 0.9208 GB, free: 75.58 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.71, allocations: 63.41 kB / 0.9209 GB, free: 75.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.339e-05/1.71, allocations: 12 kB / 0.9209 GB, free: 75.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02797/1.738, allocations: 8.644 MB / 0.9293 GB, free: 69.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.741, allocations: 0.5542 MB / 0.9299 GB, free: 68.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09444/1.836, allocations: 38.45 MB / 0.9674 GB, free: 30.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006648/1.842, allocations: 0.726 MB / 0.9681 GB, free: 30.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.843, allocations: 136 kB / 0.9682 GB, free: 30.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * 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: 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.004116/1.847, allocations: 0.6548 MB / 0.9689 GB, free: 29.48 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002405/1.85, allocations: 458.3 kB / 0.9693 GB, free: 29.03 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05757/1.908, allocations: 20.6 MB / 0.9894 GB, free: 8.48 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/1.908, allocations: 43.95 kB / 0.9895 GB, free: 8.438 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.751e-05/1.908, allocations: 29.41 kB / 0.9895 GB, free: 8.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001266/1.908, allocations: 19.92 kB / 0.9895 GB, free: 8.391 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.07354/1.981, allocations: 25.6 MB / 1.015 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/1.981, allocations: 0 / 1.015 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/1.984, allocations: 391.5 kB / 1.015 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02859/2.013, allocations: 8.613 MB / 1.023 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00128/2.014, allocations: 77.23 kB / 1.023 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4186/2.433, allocations: 34.35 MB / 1.057 GB, free: 117 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.433, allocations: 1.125 kB / 1.057 GB, free: 117 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07267/2.506, allocations: 24.27 MB / 1.081 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/2.508, allocations: 0.562 MB / 1.081 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/2.509, allocations: 68.14 kB / 1.081 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00542/2.515, allocations: 0.51 MB / 1.082 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003592/2.518, allocations: 0.7829 MB / 1.083 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006687/2.519, allocations: 101.9 kB / 1.083 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003749/2.523, allocations: 2.111 MB / 1.085 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.31e-07/2.523, allocations: 0 / 1.085 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007429/2.53, allocations: 1.777 MB / 1.086 GB, free: 115.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06961/2.6, allocations: 25.02 MB / 1.111 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02958/2.63, allocations: 10.11 MB / 1.121 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/2.63, allocations: 0 / 1.121 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02217/2.652, allocations: 7.067 MB / 1.128 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/2.656, allocations: 310.7 kB / 1.128 GB, free: 107 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/2.685, allocations: 21.27 MB / 1.149 GB, free: 90 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/2.688, allocations: 2.546 MB / 1.151 GB, free: 89.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001866/2.69, allocations: 300.5 kB / 1.151 GB, free: 89.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002417/2.692, allocations: 1.95 MB / 1.153 GB, free: 87.44 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/2.692, allocations: 0 / 1.153 GB, free: 87.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4497/3.142, allocations: 113.2 MB / 1.264 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/3.142, allocations: 208.5 kB / 1.264 GB, free: 103 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/10.6, allocations: 5.031 kB / 1.264 GB, free: 103 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)