Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_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.001006/0.001006, allocations: 175.1 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.207/1.207, 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.0008768/0.0008766, allocations: 87.62 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.4503/0.4503, allocations: 78.04 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.207e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3384, allocations: 69.35 MB / 0.5481 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4622, allocations: 99.01 MB / 0.6447 GB, free: 1.418 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4625, allocations: 75.95 kB / 0.6448 GB, free: 1.344 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08286/0.5453, allocations: 31.27 MB / 0.6754 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5454, allocations: 0 / 0.6754 GB, free: 1.859 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.867e-05/0.5454, allocations: 20 kB / 0.6754 GB, free: 1.84 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.004123/0.5496, allocations: 1.746 MB / 0.6771 GB, free: 36 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5496, allocations: 19.91 kB / 0.6771 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2927/0.8423, allocations: 124.9 kB / 0.6772 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.8463, allocations: 0.5585 MB / 0.6778 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.848, allocations: 0.8084 MB / 0.6786 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.8483, allocations: 237 kB / 0.6788 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.8485, allocations: 77.47 kB / 0.6789 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.8505, allocations: 0.954 MB / 0.6798 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.8505, allocations: 8.766 kB / 0.6798 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/0.8506, allocations: 28.77 kB / 0.6798 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.8506, allocations: 18.5 kB / 0.6798 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.8523, allocations: 0.8559 MB / 0.6807 GB, free: 103.5 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.007448/0.8598, allocations: 3.953 MB / 0.6845 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0075/0.8673, allocations: 2.644 MB / 0.6871 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009268/0.8683, allocations: 0.5467 MB / 0.6876 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.8684, allocations: 26.86 kB / 0.6877 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.8684, allocations: 46.78 kB / 0.6877 GB, free: 101.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.726e-06/0.8684, allocations: 0 / 0.6877 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01103/0.8795, allocations: 3.922 MB / 0.6915 GB, free: 101.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.8796, allocations: 144.7 kB / 0.6917 GB, free: 101.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.881, allocations: 0.9247 MB / 0.6926 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.8813, allocations: 44.64 kB / 0.6926 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.8817, allocations: 0.5175 MB / 0.6931 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.882, allocations: 346.2 kB / 0.6935 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.8821, allocations: 15.25 kB / 0.6935 GB, free: 100.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.8822, allocations: 339.4 kB / 0.6938 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/0.8829, allocations: 465.6 kB / 0.6942 GB, free: 100.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.8837, allocations: 0.5803 MB / 0.6948 GB, free: 99.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.8845, allocations: 0.5553 MB / 0.6954 GB, free: 99.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.8845, allocations: 0 / 0.6954 GB, free: 99.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01137/0.8959, allocations: 4.174 MB / 0.6994 GB, free: 98.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003454/0.8963, allocations: 1.209 MB / 0.7006 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.8963, allocations: 3.5 kB / 0.7006 GB, free: 97.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005303/0.9016, allocations: 1.552 MB / 0.7021 GB, free: 96.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/0.9025, allocations: 162.6 kB / 0.7023 GB, free: 96.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/0.9155, allocations: 7.942 MB / 0.71 GB, free: 91.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.9172, allocations: 193 kB / 0.7102 GB, free: 91.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.9174, allocations: 39.94 kB / 0.7103 GB, free: 91.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.9174, allocations: 4 kB / 0.7103 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01098/0.9284, allocations: 4.035 MB / 0.7142 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.9285, allocations: 4 kB / 0.7142 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/0.9338, allocations: 1.54 MB / 0.7157 GB, free: 87.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009294/0.9348, allocations: 155.8 kB / 0.7159 GB, free: 87.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.9474, allocations: 7.926 MB / 0.7236 GB, free: 79.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.9491, allocations: 186.5 kB / 0.7238 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.9492, allocations: 31.8 kB / 0.7238 GB, free: 79.56 MB / 490.7 MB 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.0003441/0.9496, allocations: 202.8 kB / 0.724 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.9499, allocations: 126.4 kB / 0.7241 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.9604, allocations: 4.051 MB / 0.7281 GB, free: 76.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.9605, allocations: 12 kB / 0.7281 GB, free: 76.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.9605, allocations: 4 kB / 0.7281 GB, free: 76.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.9606, allocations: 3.656 kB / 0.7281 GB, free: 76.02 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 postOpt removeSimpleEquations (simulation): time 0.01275/0.9733, allocations: 5.721 MB / 0.7337 GB, free: 71.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.9734, allocations: 4.031 kB / 0.7337 GB, free: 71.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.9742, allocations: 127.6 kB / 0.7338 GB, free: 71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004023/0.9782, allocations: 1.414 MB / 0.7352 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.9784, allocations: 16 kB / 0.7352 GB, free: 69.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.9886, allocations: 5.727 MB / 0.7408 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9886, allocations: 0 / 0.7408 GB, free: 63.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1, allocations: 4.803 MB / 0.7455 GB, free: 58.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/1.001, allocations: 231.2 kB / 0.7457 GB, free: 58.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004917/1.002, allocations: 24 kB / 0.7457 GB, free: 58.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.003, allocations: 135.9 kB / 0.7459 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006104/1.004, allocations: 184.7 kB / 0.746 GB, free: 58.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.004, allocations: 23.98 kB / 0.7461 GB, free: 58.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001162/1.005, allocations: 0.7216 MB / 0.7468 GB, free: 57.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.005, allocations: 0 / 0.7468 GB, free: 57.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002464/1.008, allocations: 0.688 MB / 0.7474 GB, free: 56.86 MB / 490.7 MB 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.01194/1.019, allocations: 5.48 MB / 0.7528 GB, free: 51.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008729/1.028, allocations: 3.92 MB / 0.7566 GB, free: 47.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.028, allocations: 0 / 0.7566 GB, free: 47.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003426/1.032, allocations: 1.457 MB / 0.758 GB, free: 45.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/1.033, allocations: 115.6 kB / 0.7582 GB, free: 45.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/1.037, allocations: 2.164 MB / 0.7603 GB, free: 43.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/1.037, allocations: 1.17 MB / 0.7614 GB, free: 42.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008766/1.038, allocations: 204.4 kB / 0.7616 GB, free: 42.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/1.039, allocations: 459.3 kB / 0.762 GB, free: 41.74 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/1.039, allocations: 0 / 0.762 GB, free: 41.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/1.094, allocations: 39.45 MB / 0.8006 GB, free: 2.824 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/1.094, allocations: 184.8 kB / 0.8007 GB, free: 2.602 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/4.167, allocations: 0 / 0.8007 GB, free: 2.602 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)