Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.001091/0.001091, allocations: 174.7 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.214/1.214, 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.0008863/0.0008863, allocations: 88.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.4283/0.4283, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.231e-05, allocations: 0 / 491.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2889, allocations: 69.35 MB / 0.548 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.3951, allocations: 98.52 MB / 0.6443 GB, free: 1.906 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.3953, allocations: 79.95 kB / 0.6443 GB, free: 1.828 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08292/0.4782, allocations: 31.27 MB / 0.6749 GB, free: 2.355 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4783, allocations: 0 / 0.6749 GB, free: 2.355 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.155e-05/0.4784, allocations: 20 kB / 0.6749 GB, free: 2.336 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.004207/0.4826, allocations: 1.707 MB / 0.6766 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4826, allocations: 11.97 kB / 0.6766 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.4828, allocations: 122.6 kB / 0.6767 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2567/0.7395, allocations: 0.5559 MB / 0.6772 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.7412, allocations: 0.7654 MB / 0.678 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.7414, allocations: 268.1 kB / 0.6782 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.7416, allocations: 75.62 kB / 0.6783 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.7433, allocations: 0.9321 MB / 0.6792 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.7433, allocations: 6.328 kB / 0.6792 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.7434, allocations: 32.3 kB / 0.6792 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.7434, allocations: 18.66 kB / 0.6793 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.7449, allocations: 0.8405 MB / 0.6801 GB, free: 103.9 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.006423/0.7514, allocations: 3.791 MB / 0.6838 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007644/0.759, allocations: 2.652 MB / 0.6864 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.7598, allocations: 0.5413 MB / 0.6869 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.76, allocations: 15.06 kB / 0.6869 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008694/0.7608, allocations: 0.6736 MB / 0.6876 GB, free: 102.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.274e-06/0.7608, allocations: 0 / 0.6876 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01137/0.7722, allocations: 4.02 MB / 0.6915 GB, free: 102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.7723, allocations: 118.9 kB / 0.6916 GB, free: 101.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.7736, allocations: 0.8815 MB / 0.6925 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.7738, allocations: 41.42 kB / 0.6925 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.7741, allocations: 0.5163 MB / 0.693 GB, free: 101.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.7744, allocations: 340.7 kB / 0.6933 GB, free: 101 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.7745, allocations: 25.44 kB / 0.6934 GB, free: 101 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.7746, allocations: 349.4 kB / 0.6937 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007302/0.7753, allocations: 453.1 kB / 0.6941 GB, free: 100.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.7761, allocations: 0.5764 MB / 0.6947 GB, free: 100.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/0.7768, allocations: 0.5476 MB / 0.6952 GB, free: 99.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7768, allocations: 0 / 0.6952 GB, free: 99.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01168/0.7885, allocations: 4.088 MB / 0.6992 GB, free: 98.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.7886, allocations: 70.97 kB / 0.6993 GB, free: 98.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.7886, allocations: 3.812 kB / 0.6993 GB, free: 98.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005138/0.7938, allocations: 1.523 MB / 0.7008 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/0.7947, allocations: 180 kB / 0.701 GB, free: 98.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.807, allocations: 6.79 MB / 0.7076 GB, free: 94.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.8088, allocations: 200.7 kB / 0.7078 GB, free: 94.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.809, allocations: 47.36 kB / 0.7078 GB, free: 94.53 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.8092, allocations: 183.7 kB / 0.708 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.8094, allocations: 126.4 kB / 0.7081 GB, free: 94.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.8206, allocations: 4.151 MB / 0.7122 GB, free: 90.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.8206, allocations: 16 kB / 0.7122 GB, free: 90.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.8206, allocations: 11.95 kB / 0.7122 GB, free: 90.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.8206, allocations: 3.75 kB / 0.7122 GB, free: 90.96 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.01244/0.8331, allocations: 5.692 MB / 0.7178 GB, free: 86.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.8332, allocations: 0 / 0.7178 GB, free: 86.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.8338, allocations: 101.4 kB / 0.7179 GB, free: 86.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004504/0.8383, allocations: 1.501 MB / 0.7193 GB, free: 85.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.8385, allocations: 27.94 kB / 0.7193 GB, free: 85.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.8503, allocations: 7.703 MB / 0.7269 GB, free: 77.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8503, allocations: 3.938 kB / 0.7269 GB, free: 77.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.8625, allocations: 4.872 MB / 0.7316 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.863, allocations: 223.4 kB / 0.7318 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.8634, allocations: 23.98 kB / 0.7319 GB, free: 73.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.8648, allocations: 139.9 kB / 0.732 GB, free: 73.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006427/0.8655, allocations: 196.7 kB / 0.7322 GB, free: 72.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.8656, allocations: 27.98 kB / 0.7322 GB, free: 72.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.8667, allocations: 0.6936 MB / 0.7329 GB, free: 72.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8667, allocations: 0 / 0.7329 GB, free: 72.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001691/0.8684, allocations: 445 kB / 0.7333 GB, free: 71.75 MB / 490.7 MB 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.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01258/0.881, allocations: 5.545 MB / 0.7387 GB, free: 66.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004602/0.8856, allocations: 2.055 MB / 0.7407 GB, free: 64.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8857, allocations: 0 / 0.7407 GB, free: 64.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/0.8893, allocations: 1.591 MB / 0.7423 GB, free: 62.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.8904, allocations: 105.2 kB / 0.7424 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.8941, allocations: 1.862 MB / 0.7442 GB, free: 60.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.8946, allocations: 1.147 MB / 0.7453 GB, free: 59.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003775/0.895, allocations: 98.98 kB / 0.7454 GB, free: 59.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.8954, allocations: 479.2 kB / 0.7459 GB, free: 58.74 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/0.8955, allocations: 0 / 0.7459 GB, free: 58.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.9388, allocations: 30.84 MB / 0.776 GB, free: 28.48 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.939, allocations: 179.6 kB / 0.7762 GB, free: 28.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.764, allocations: 3.938 kB / 0.7762 GB, free: 28.25 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)