Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.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.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.001115/0.001116, allocations: 173.9 kB / 7.648 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.249/1.249, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008661/0.000866, allocations: 87.61 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4534/0.4534, allocations: 78.95 MB / 410.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.575e-05, allocations: 0 / 486 MB, free: 11.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 69.52 MB / 0.5425 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3521/0.4802, allocations: 98.92 MB / 0.6391 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4804, allocations: 80.61 kB / 0.6392 GB, free: 14.99 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.088/0.5685, allocations: 31.13 MB / 0.6696 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5685, allocations: 0 / 0.6696 GB, free: 15.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.969e-05/0.5686, allocations: 20 kB / 0.6696 GB, free: 15.88 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004761/0.5734, allocations: 1.751 MB / 0.6713 GB, free: 14.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5734, allocations: 8.031 kB / 0.6713 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.577, allocations: 0.5603 MB / 0.6719 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.5786, allocations: 0.8077 MB / 0.6727 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002618/0.5789, allocations: 209.9 kB / 0.6729 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.5791, allocations: 51.91 kB / 0.6729 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001533/0.5807, allocations: 0.8162 MB / 0.6737 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5822, allocations: 0.8532 MB / 0.6746 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5822, allocations: 0 / 0.6746 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.5823, allocations: 0 / 0.6746 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.5824, allocations: 16 kB / 0.6746 GB, free: 10.65 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.007259/0.5896, allocations: 3.829 MB / 0.6783 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007243/0.5969, allocations: 2.603 MB / 0.6809 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008765/0.5978, allocations: 0.5282 MB / 0.6814 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.5979, allocations: 12.77 kB / 0.6814 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.598, allocations: 52.36 kB / 0.6814 GB, free: 3.352 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.716e-06/0.598, allocations: 0 / 0.6814 GB, free: 3.352 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01158/0.6096, allocations: 3.832 MB / 0.6852 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.6097, allocations: 149.2 kB / 0.6853 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.6113, allocations: 0.8549 MB / 0.6862 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.6116, allocations: 25.7 kB / 0.6862 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.612, allocations: 0.5091 MB / 0.6867 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005081/0.6126, allocations: 334.9 kB / 0.687 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.6126, allocations: 0 / 0.687 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6128, allocations: 341.9 kB / 0.6873 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.6136, allocations: 442.6 kB / 0.6877 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/0.6144, allocations: 0.5635 MB / 0.6883 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/0.6153, allocations: 0.4892 MB / 0.6888 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.6153, allocations: 0 / 0.6888 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01235/0.6277, allocations: 4.04 MB / 0.6927 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005638/0.6283, allocations: 1.212 MB / 0.6939 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.6283, allocations: 1.016 kB / 0.6939 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005889/0.6342, allocations: 1.528 MB / 0.6954 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.6352, allocations: 159.8 kB / 0.6955 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.6494, allocations: 7.721 MB / 0.7031 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.651, allocations: 171.3 kB / 0.7033 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.6512, allocations: 35.98 kB / 0.7033 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.6513, allocations: 4 kB / 0.7033 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0117/0.663, allocations: 3.88 MB / 0.7071 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.663, allocations: 4 kB / 0.7071 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/0.6684, allocations: 1.522 MB / 0.7086 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008311/0.6692, allocations: 159.8 kB / 0.7087 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.683, allocations: 7.717 MB / 0.7163 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.6847, allocations: 159.4 kB / 0.7164 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.6849, allocations: 35.98 kB / 0.7164 GB, free: 14.77 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004494/0.6854, allocations: 162.7 kB / 0.7166 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01153/0.6969, allocations: 3.84 MB / 0.7203 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/0.6974, allocations: 126.5 kB / 0.7205 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.7087, allocations: 3.945 MB / 0.7243 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7087, allocations: 8 kB / 0.7243 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.7087, allocations: 15.94 kB / 0.7243 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.7088, allocations: 3.984 kB / 0.7243 GB, free: 6.625 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 postOpt removeSimpleEquations (simulation): time 0.01308/0.7219, allocations: 5.517 MB / 0.7297 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7219, allocations: 0 / 0.7297 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.7226, allocations: 123.8 kB / 0.7299 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004259/0.7269, allocations: 1.403 MB / 0.7312 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/0.727, allocations: 6.438 kB / 0.7312 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.7376, allocations: 5.621 MB / 0.7367 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7376, allocations: 0 / 0.7367 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.75, allocations: 4.698 MB / 0.7413 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.7505, allocations: 227.3 kB / 0.7415 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.7508, allocations: 8 kB / 0.7415 GB, free: 4.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.752, allocations: 119.9 kB / 0.7416 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004297/0.7525, allocations: 184.9 kB / 0.7418 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/0.7525, allocations: 28 kB / 0.7419 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009357/0.7535, allocations: 0.6495 MB / 0.7425 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7535, allocations: 0.8438 kB / 0.7425 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001929/0.7554, allocations: 0.6356 MB / 0.7431 GB, free: 3.152 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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.01252/0.768, allocations: 5.353 MB / 0.7483 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00875/0.7767, allocations: 3.782 MB / 0.752 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7767, allocations: 0 / 0.752 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003676/0.7804, allocations: 1.421 MB / 0.7534 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.7812, allocations: 94.12 kB / 0.7535 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.7854, allocations: 2.099 MB / 0.7556 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.7861, allocations: 1.17 MB / 0.7567 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008759/0.787, allocations: 202.1 kB / 0.7569 GB, free: 4.816 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.7876, allocations: 455.9 kB / 0.7573 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.7876, allocations: 0 / 0.7573 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3175/1.105, allocations: 36.66 MB / 0.7931 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001192/1.105, allocations: 150 kB / 0.7933 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/4.285, allocations: 5.859 kB / 0.7933 GB, free: 143.9 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)