Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",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.007126/0.007126, allocations: 171 kB / 15.11 MB, free: 5.582 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.428/1.428, allocations: 223.2 MB / 239 MB, free: 100 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.001334/0.001334, allocations: 97.45 kB / 290.2 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5478/0.5478, allocations: 78.52 MB / 419.8 MB, free: 36.3 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004958, allocations: 11.98 kB / 499.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1712, allocations: 69.35 MB / 0.5558 GB, free: 1.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4773/0.6485, allocations: 98.18 MB / 0.6517 GB, free: 3.977 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.6488, allocations: 81 kB / 0.6518 GB, free: 3.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08273/0.7315, allocations: 30.03 MB / 0.6811 GB, free: 6.422 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.7316, allocations: 0 / 0.6811 GB, free: 6.422 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.7317, allocations: 27.94 kB / 0.6811 GB, free: 6.395 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006508/0.7382, allocations: 1.985 MB / 0.6831 GB, free: 4.344 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.7383, allocations: 8.031 kB / 0.6831 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004641/0.7388, allocations: 126.5 kB / 0.6832 GB, free: 4.203 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/0.7427, allocations: 0.5642 MB / 0.6837 GB, free: 3.637 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.7451, allocations: 0.7994 MB / 0.6845 GB, free: 2.785 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.7454, allocations: 236.2 kB / 0.6847 GB, free: 2.523 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.7458, allocations: 76 kB / 0.6848 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.7487, allocations: 1.138 MB / 0.6859 GB, free: 1.297 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.7487, allocations: 3.938 kB / 0.6859 GB, free: 1.293 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.7488, allocations: 35.98 kB / 0.686 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.7489, allocations: 16 kB / 0.686 GB, free: 1.242 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.7513, allocations: 1.07 MB / 0.687 GB, free: 172 kB / 474.7 MB 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.007254/0.7586, allocations: 3.835 MB / 0.6908 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007895/0.7665, allocations: 2.866 MB / 0.6936 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.7667, allocations: 16.98 kB / 0.6936 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.7667, allocations: 44.44 kB / 0.6936 GB, free: 9.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.446e-06/0.7668, allocations: 7.938 kB / 0.6936 GB, free: 9.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.02786/0.7946, allocations: 8.026 MB / 0.7015 GB, free: 1.035 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.7948, allocations: 137.5 kB / 0.7016 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.7965, allocations: 0.9249 MB / 0.7025 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.7968, allocations: 41.7 kB / 0.7025 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.7972, allocations: 0.5051 MB / 0.703 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.7976, allocations: 327.2 kB / 0.7033 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.7977, allocations: 17.88 kB / 0.7034 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7979, allocations: 341.9 kB / 0.7037 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.7992, allocations: 0.6461 MB / 0.7043 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.8005, allocations: 0.7643 MB / 0.7051 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.8019, allocations: 0.7392 MB / 0.7058 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.8019, allocations: 3.953 kB / 0.7058 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.0137/0.8157, allocations: 4.672 MB / 0.7104 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005501/0.8162, allocations: 1.206 MB / 0.7115 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.8163, allocations: 4 kB / 0.7115 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006191/0.8225, allocations: 1.847 MB / 0.7133 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.8235, allocations: 159.8 kB / 0.7135 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/0.8439, allocations: 9.24 MB / 0.7225 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.8457, allocations: 195.2 kB / 0.7227 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/0.8458, allocations: 32 kB / 0.7227 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8459, allocations: 11.94 kB / 0.7227 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/0.859, allocations: 4.504 MB / 0.7271 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.8591, allocations: 7.984 kB / 0.7272 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00592/0.865, allocations: 1.858 MB / 0.729 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.866, allocations: 154.9 kB / 0.7291 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/0.886, allocations: 9.237 MB / 0.7381 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.8878, allocations: 181 kB / 0.7383 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.888, allocations: 35.98 kB / 0.7383 GB, free: 10.75 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007734/0.8887, allocations: 362.9 kB / 0.7387 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.8891, allocations: 122.5 kB / 0.7388 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.9024, allocations: 4.61 MB / 0.7433 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.9025, allocations: 12 kB / 0.7433 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.9025, allocations: 4 kB / 0.7433 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.053e-05/0.9026, allocations: 3.984 kB / 0.7433 GB, free: 5.609 MB / 0.5261 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.01553/0.9181, allocations: 6.218 MB / 0.7494 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.9182, allocations: 4.031 kB / 0.7494 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.919, allocations: 115.9 kB / 0.7495 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005789/0.9248, allocations: 1.797 MB / 0.7513 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000333/0.9252, allocations: 24.77 kB / 0.7513 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.9434, allocations: 8.03 MB / 0.7591 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9434, allocations: 0 / 0.7591 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.9591, allocations: 5.528 MB / 0.7645 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/0.9598, allocations: 219.4 kB / 0.7647 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.9601, allocations: 27.89 kB / 0.7648 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.9613, allocations: 139.9 kB / 0.7649 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/0.962, allocations: 180.7 kB / 0.7651 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/0.962, allocations: 20 kB / 0.7651 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00122/0.9633, allocations: 0.7293 MB / 0.7658 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9633, allocations: 0 / 0.7658 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002239/0.9655, allocations: 0.6631 MB / 0.7665 GB, free: 13.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01626/0.9818, allocations: 6.201 MB / 0.7725 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01104/0.9929, allocations: 4.173 MB / 0.7766 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/0.993, allocations: 0 / 0.7766 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/0.9977, allocations: 1.66 MB / 0.7782 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.999, allocations: 114 kB / 0.7783 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/1.006, allocations: 5.059 MB / 0.7833 GB, free: 12.17 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/1.006, allocations: 1.151 MB / 0.7844 GB, free: 10.99 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005394/1.007, allocations: 126.4 kB / 0.7845 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006174/1.008, allocations: 471.3 kB / 0.7849 GB, free: 10.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.322e-06/1.008, allocations: 2.531 kB / 0.7849 GB, free: 10.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3848/1.392, allocations: 35.71 MB / 0.8198 GB, free: 151.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/1.393, allocations: 225.6 kB / 0.82 GB, free: 150.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.653/5.045, allocations: 0 / 0.82 GB, free: 150.9 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)