Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_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.009123/0.009123, allocations: 169.8 kB / 15.11 MB, free: 5.973 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.352/1.352, 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.0009832/0.0009829, allocations: 101.8 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5025/0.5025, allocations: 78.52 MB / 419.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004575, allocations: 12 kB / 499.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4425, allocations: 69.35 MB / 0.5558 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.5818, allocations: 101.1 MB / 0.6545 GB, free: 5.289 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5822, allocations: 80.64 kB / 0.6546 GB, free: 5.211 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.243/0.8252, allocations: 98.87 MB / 0.7511 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8252, allocations: 0 / 0.7511 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002952/0.8255, allocations: 95.94 kB / 0.7512 GB, free: 1.617 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.02068/0.8462, allocations: 6.535 MB / 0.7576 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.8463, allocations: 8.031 kB / 0.7576 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00187/0.8482, allocations: 484.7 kB / 0.7581 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0173/0.8655, allocations: 2.811 MB / 0.7608 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/0.8718, allocations: 2.29 MB / 0.763 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009468/0.8728, allocations: 0.9633 MB / 0.764 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/0.874, allocations: 343.9 kB / 0.7643 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3372/1.211, allocations: 4.932 MB / 0.7691 GB, free: 89.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.077e-05/1.211, allocations: 4.688 kB / 0.7691 GB, free: 89.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004294/1.212, allocations: 137.1 kB / 0.7693 GB, free: 89.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.129e-05/1.212, allocations: 83.89 kB / 0.7693 GB, free: 89.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/1.224, allocations: 4.505 MB / 0.7737 GB, free: 89.67 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.03604/1.26, allocations: 18.63 MB / 0.7919 GB, free: 83.24 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/1.272, allocations: 5.652 MB / 0.7975 GB, free: 82.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/1.273, allocations: 71.88 kB / 0.7975 GB, free: 82.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.273, allocations: 70.44 kB / 0.7976 GB, free: 82.76 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 5.381e-06/1.273, allocations: 2.5 kB / 0.7976 GB, free: 82.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.2819/1.555, allocations: 76.6 MB / 0.8724 GB, free: 78.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/1.555, allocations: 175.8 kB / 0.8726 GB, free: 78.63 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/1.559, allocations: 2.7 MB / 0.8752 GB, free: 78.35 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.56, allocations: 87.67 kB / 0.8753 GB, free: 78.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.562, allocations: 1.983 MB / 0.8772 GB, free: 77.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001924/1.564, allocations: 1.29 MB / 0.8785 GB, free: 77.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.564, allocations: 67.72 kB / 0.8785 GB, free: 77.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.564, allocations: 441 kB / 0.879 GB, free: 76.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004964/1.569, allocations: 2.652 MB / 0.8816 GB, free: 75.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/1.574, allocations: 3.234 MB / 0.8847 GB, free: 73.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005196/1.58, allocations: 2.89 MB / 0.8875 GB, free: 70.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.58, allocations: 10.34 kB / 0.8875 GB, free: 70.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.05219/1.632, allocations: 20.1 MB / 0.9072 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001609/1.633, allocations: 6.681 MB / 0.9137 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.908e-05/1.634, allocations: 12 kB / 0.9137 GB, free: 43.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02516/1.659, allocations: 8.5 MB / 0.922 GB, free: 35.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.662, allocations: 0.5386 MB / 0.9225 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0795/1.741, allocations: 36.88 MB / 0.9586 GB, free: 13.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007528/1.749, allocations: 0.6879 MB / 0.9592 GB, free: 13.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.75, allocations: 136 kB / 0.9594 GB, free: 13.13 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.75, allocations: 4 kB / 0.9594 GB, free: 13.13 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05804/1.808, allocations: 19.66 MB / 0.9786 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.572e-05/1.808, allocations: 16 kB / 0.9786 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02765/1.836, allocations: 8.504 MB / 0.9869 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/1.839, allocations: 0.5266 MB / 0.9874 GB, free: 424 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3993/2.238, allocations: 36.85 MB / 1.023 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/2.245, allocations: 0.6623 MB / 1.024 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007836/2.245, allocations: 129.9 kB / 1.024 GB, free: 105.1 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.002344/2.248, allocations: 0.7233 MB / 1.025 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001354/2.249, allocations: 461.1 kB / 1.025 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05732/2.306, allocations: 20.42 MB / 1.045 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/2.307, allocations: 36.25 kB / 1.045 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.248e-05/2.307, allocations: 33.12 kB / 1.045 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001447/2.307, allocations: 24.16 kB / 1.045 GB, free: 104.3 MB / 0.5886 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.067/2.374, allocations: 25.67 MB / 1.07 GB, free: 99.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/2.374, allocations: 0 / 1.07 GB, free: 99.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/2.377, allocations: 405.7 kB / 1.071 GB, free: 98.99 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02455/2.401, allocations: 8.544 MB / 1.079 GB, free: 97.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/2.402, allocations: 76.33 kB / 1.079 GB, free: 97.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06916/2.471, allocations: 32.25 MB / 1.111 GB, free: 80.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/2.471, allocations: 0 / 1.111 GB, free: 80.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05711/2.529, allocations: 24.07 MB / 1.134 GB, free: 60.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/2.53, allocations: 0.555 MB / 1.135 GB, free: 60.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/2.532, allocations: 70.81 kB / 1.135 GB, free: 60.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004055/2.536, allocations: 487.2 kB / 1.135 GB, free: 60.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002704/2.539, allocations: 0.7638 MB / 1.136 GB, free: 59.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003017/2.539, allocations: 95.84 kB / 1.136 GB, free: 59.51 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002739/2.542, allocations: 2.069 MB / 1.138 GB, free: 57.78 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/2.542, allocations: 0 / 1.138 GB, free: 57.78 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0082/2.55, allocations: 2.863 MB / 1.141 GB, free: 55.04 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05946/2.609, allocations: 24.8 MB / 1.165 GB, free: 34.96 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04189/2.651, allocations: 16.91 MB / 1.182 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.651, allocations: 0 / 1.182 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01795/2.669, allocations: 6.913 MB / 1.188 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/2.673, allocations: 305.9 kB / 1.189 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/2.695, allocations: 21.04 MB / 1.209 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/2.697, allocations: 2.582 MB / 1.212 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001906/2.699, allocations: 359.1 kB / 1.212 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/2.701, allocations: 1.957 MB / 1.214 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/2.701, allocations: 0 / 1.214 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.534/3.235, allocations: 139.4 MB / 1.35 GB, free: 84.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/3.236, allocations: 201 kB / 1.35 GB, free: 83.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/10.84, allocations: 4 kB / 1.35 GB, free: 83.79 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)