Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009282, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 239 MB, free: 5.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 180.5 kB / 290.3 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4841/0.4841, allocations: 78.55 MB / 419.9 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.00039, allocations: 8 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 69.36 MB / 0.5559 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.3128/0.4732, allocations: 6.073 MB / 0.5618 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004541/0.4779, allocations: 1.936 MB / 0.5637 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007656/0.4786, allocations: 10.22 kB / 0.5637 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.4793, allocations: 167.2 kB / 0.5639 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.4813, allocations: 0.6793 MB / 0.5646 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.4825, allocations: 0.5247 MB / 0.5651 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.4841, allocations: 1.453 MB / 0.5665 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005065/0.4847, allocations: 267.8 kB / 0.5667 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008502/0.4855, allocations: 0.5723 MB / 0.5673 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009478/0.4865, allocations: 0.7542 MB / 0.568 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.4866, allocations: 62.66 kB / 0.5681 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.4872, allocations: 184.8 kB / 0.5683 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000364/0.4875, allocations: 267.4 kB / 0.5685 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.4878, allocations: 236 kB / 0.5687 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.489, allocations: 1.262 MB / 0.57 GB, free: 35.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.489, allocations: 2.906 kB / 0.57 GB, free: 35.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.489, allocations: 0 / 0.57 GB, free: 35.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.489, allocations: 0 / 0.57 GB, free: 35.49 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007281/0.4963, allocations: 2.566 MB / 0.5725 GB, free: 34.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4964, allocations: 9.219 kB / 0.5725 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.4966, allocations: 131.7 kB / 0.5726 GB, free: 34.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/0.5012, allocations: 0.7939 MB / 0.5734 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5028, allocations: 0.8623 MB / 0.5742 GB, free: 34.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.5031, allocations: 271.2 kB / 0.5745 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.5032, allocations: 89.05 kB / 0.5746 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.5053, allocations: 1.158 MB / 0.5757 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.5053, allocations: 3.938 kB / 0.5757 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/0.5055, allocations: 35.59 kB / 0.5758 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5055, allocations: 21.11 kB / 0.5758 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.5073, allocations: 1.049 MB / 0.5768 GB, free: 33.39 MB / 430.1 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.006201/0.5135, allocations: 3.959 MB / 0.5807 GB, free: 31.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.5204, allocations: 2.929 MB / 0.5835 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.522, allocations: 0.7502 MB / 0.5843 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.5221, allocations: 15.42 kB / 0.5843 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001731/0.5238, allocations: 0.8928 MB / 0.5851 GB, free: 29.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 6.372e-06/0.5238, allocations: 0 / 0.5851 GB, free: 29.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02956/0.5534, allocations: 8.787 MB / 0.5937 GB, free: 28.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.5535, allocations: 118.5 kB / 0.5938 GB, free: 27.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/0.5564, allocations: 1.112 MB / 0.5949 GB, free: 27.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003048/0.5567, allocations: 49.84 kB / 0.595 GB, free: 27.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.5573, allocations: 0.4965 MB / 0.5955 GB, free: 27.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/0.5579, allocations: 361.1 kB / 0.5958 GB, free: 26.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.5581, allocations: 30.59 kB / 0.5958 GB, free: 26.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5583, allocations: 366.1 kB / 0.5962 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.5604, allocations: 0.835 MB / 0.597 GB, free: 26.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.5625, allocations: 1.017 MB / 0.598 GB, free: 25.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.5646, allocations: 0.9794 MB / 0.5989 GB, free: 25.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5646, allocations: 1.312 kB / 0.5989 GB, free: 25.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01517/0.5798, allocations: 5.199 MB / 0.604 GB, free: 23.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.5799, allocations: 60.42 kB / 0.6041 GB, free: 23.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.5799, allocations: 7.047 kB / 0.6041 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00657/0.5865, allocations: 1.923 MB / 0.606 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.5882, allocations: 316.3 kB / 0.6063 GB, free: 23.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/0.6087, allocations: 8.98 MB / 0.615 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.611, allocations: 242.7 kB / 0.6153 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/0.6114, allocations: 55.97 kB / 0.6153 GB, free: 16.8 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.6125, allocations: 307.7 kB / 0.6156 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/0.613, allocations: 130.4 kB / 0.6157 GB, free: 16.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.6246, allocations: 4.737 MB / 0.6204 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.6246, allocations: 16 kB / 0.6204 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/0.6247, allocations: 8 kB / 0.6204 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.6247, allocations: 3.984 kB / 0.6204 GB, free: 11.57 MB / 430.1 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 postOpt removeSimpleEquations (simulation): time 0.01396/0.6387, allocations: 6.353 MB / 0.6266 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.6387, allocations: 4.031 kB / 0.6266 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.6393, allocations: 103.9 kB / 0.6267 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004931/0.6443, allocations: 1.876 MB / 0.6285 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.6445, allocations: 20 kB / 0.6286 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.6634, allocations: 9.687 MB / 0.638 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6635, allocations: 0 / 0.638 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.6782, allocations: 5.686 MB / 0.6436 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/0.6788, allocations: 235.2 kB / 0.6438 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.6792, allocations: 16.5 kB / 0.6438 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.6806, allocations: 143.9 kB / 0.6439 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.6812, allocations: 202.2 kB / 0.6441 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/0.6813, allocations: 26.33 kB / 0.6442 GB, free: 2.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.6827, allocations: 0.7514 MB / 0.6449 GB, free: 2.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.6827, allocations: 0 / 0.6449 GB, free: 2.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00201/0.6847, allocations: 483.5 kB / 0.6454 GB, free: 1.555 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01505/0.6998, allocations: 6.262 MB / 0.6515 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007107/0.7069, allocations: 2.84 MB / 0.6542 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.707, allocations: 0 / 0.6542 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004298/0.7113, allocations: 1.804 MB / 0.656 GB, free: 6.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.7128, allocations: 114.3 kB / 0.6561 GB, free: 6.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/0.7407, allocations: 12.36 MB / 0.6682 GB, free: 9.762 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/0.7416, allocations: 1.128 MB / 0.6693 GB, free: 8.602 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005703/0.7422, allocations: 125.1 kB / 0.6694 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/0.743, allocations: 471.3 kB / 0.6699 GB, free: 8.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.743, allocations: 0 / 0.6699 GB, free: 8.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.8052, allocations: 32.63 MB / 0.7017 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.8054, allocations: 225.7 kB / 0.7019 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/3.985, allocations: 0 / 0.7019 GB, free: 7.539 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: