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.009942/0.009942, allocations: 171.8 kB / 15.11 MB, free: 5.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.381/1.381, allocations: 223.2 MB / 239 MB, free: 1.797 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.00101/0.00101, allocations: 97.31 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4599/0.4599, allocations: 78.53 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 8 kB / 499.8 MB, free: 2.676 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3939, allocations: 69.35 MB / 0.5558 GB, free: 38.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.5349, allocations: 99.08 MB / 0.6526 GB, free: 7.309 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.5352, allocations: 79.95 kB / 0.6526 GB, free: 7.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08904/0.6242, allocations: 31.35 MB / 0.6833 GB, free: 7.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6243, allocations: 0 / 0.6833 GB, free: 7.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.6244, allocations: 20 kB / 0.6833 GB, free: 7.699 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.006155/0.6306, allocations: 2.088 MB / 0.6853 GB, free: 5.547 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6306, allocations: 8.031 kB / 0.6853 GB, free: 5.539 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003415/0.631, allocations: 126.6 kB / 0.6854 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/0.6345, allocations: 0.568 MB / 0.686 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.6366, allocations: 0.8351 MB / 0.6868 GB, free: 3.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.6369, allocations: 242.4 kB / 0.687 GB, free: 3.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.6371, allocations: 72 kB / 0.6871 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.6396, allocations: 1.165 MB / 0.6882 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.6396, allocations: 0 / 0.6882 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6397, allocations: 32 kB / 0.6883 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.6397, allocations: 16 kB / 0.6883 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.642, allocations: 1.089 MB / 0.6894 GB, free: 1.289 MB / 490.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.007925/0.6499, allocations: 3.951 MB / 0.6932 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/0.6578, allocations: 2.902 MB / 0.696 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.6581, allocations: 20.98 kB / 0.6961 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.6581, allocations: 39.56 kB / 0.6961 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 3.888e-06/0.6581, allocations: 4 kB / 0.6961 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.02828/0.6864, allocations: 8.151 MB / 0.7041 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.6866, allocations: 145.5 kB / 0.7042 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/0.6886, allocations: 0.9536 MB / 0.7051 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.6888, allocations: 45.7 kB / 0.7052 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.6893, allocations: 0.517 MB / 0.7057 GB, free: 184 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/0.6898, allocations: 339.1 kB / 0.706 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.6899, allocations: 20 kB / 0.706 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6901, allocations: 341.9 kB / 0.7064 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.6915, allocations: 0.6579 MB / 0.707 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.693, allocations: 0.797 MB / 0.7078 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.6944, allocations: 0.7658 MB / 0.7085 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.6944, allocations: 0 / 0.7085 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01368/0.7081, allocations: 4.778 MB / 0.7132 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005377/0.7087, allocations: 1.212 MB / 0.7144 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.7087, allocations: 0 / 0.7144 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/0.7152, allocations: 1.938 MB / 0.7163 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/0.7161, allocations: 159.8 kB / 0.7164 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/0.7376, allocations: 10.62 MB / 0.7268 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.7394, allocations: 191.2 kB / 0.727 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.7395, allocations: 35.98 kB / 0.727 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7395, allocations: 8 kB / 0.727 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0136/0.7531, allocations: 4.614 MB / 0.7315 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.7532, allocations: 4 kB / 0.7315 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006499/0.7597, allocations: 1.931 MB / 0.7334 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.7607, allocations: 147.8 kB / 0.7335 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/0.7824, allocations: 10.62 MB / 0.7439 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.7842, allocations: 187.2 kB / 0.7441 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/0.7843, allocations: 39.98 kB / 0.7441 GB, free: 8.043 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (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.0007332/0.7851, allocations: 355.6 kB / 0.7445 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.7853, allocations: 126.4 kB / 0.7446 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.7986, allocations: 4.654 MB / 0.7491 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.7986, allocations: 15.98 kB / 0.7492 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.7987, allocations: 4 kB / 0.7492 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.7987, allocations: 7.984 kB / 0.7492 GB, free: 2.848 MB / 0.5417 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.01547/0.8142, allocations: 6.319 MB / 0.7553 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.8142, allocations: 4 kB / 0.7553 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.815, allocations: 119.8 kB / 0.7555 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005381/0.8204, allocations: 1.794 MB / 0.7572 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.8206, allocations: 23.98 kB / 0.7572 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.8377, allocations: 8.012 MB / 0.7651 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8378, allocations: 0 / 0.7651 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3192/1.157, allocations: 5.601 MB / 0.7705 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006779/1.158, allocations: 226.8 kB / 0.7707 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/1.158, allocations: 20.73 kB / 0.7708 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/1.159, allocations: 141.2 kB / 0.7709 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/1.16, allocations: 185.8 kB / 0.7711 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/1.16, allocations: 24.02 kB / 0.7711 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001377/1.161, allocations: 0.7615 MB / 0.7718 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.162, allocations: 0 / 0.7718 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002515/1.164, allocations: 0.6908 MB / 0.7725 GB, free: 144.3 MB / 0.5573 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 () * Number of clocked 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.01525/1.179, allocations: 6.28 MB / 0.7786 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.191, allocations: 4.517 MB / 0.7831 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.191, allocations: 0 / 0.7831 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0044/1.195, allocations: 1.69 MB / 0.7847 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.196, allocations: 112.8 kB / 0.7848 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/1.202, allocations: 5.38 MB / 0.7901 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/1.202, allocations: 1.168 MB / 0.7912 GB, free: 138 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005447/1.203, allocations: 120.9 kB / 0.7913 GB, free: 138 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/1.204, allocations: 472.7 kB / 0.7918 GB, free: 138 MB / 0.5573 GB Notification: Performance of SimCode: time 1.282e-06/1.204, allocations: 0 / 0.7918 GB, free: 138 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07001/1.274, allocations: 37.18 MB / 0.8281 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/1.274, allocations: 224.2 kB / 0.8283 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.432/4.706, allocations: 0 / 0.8283 GB, free: 135.8 MB / 0.5573 GB (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)