Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.0009909/0.0009909, allocations: 103 kB / 15.06 MB, free: 1.098 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.32/1.32, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001149/0.001149, allocations: 177.1 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4511/0.4511, allocations: 79.46 MB / 420.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 8 kB / 0.4891 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3534, allocations: 69.51 MB / 0.557 GB, free: 37.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005506/0.359, allocations: 5.861 MB / 0.5627 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.3631, allocations: 1.995 MB / 0.5646 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.364, allocations: 10.34 kB / 0.5646 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007096/0.3648, allocations: 180.3 kB / 0.5648 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.3668, allocations: 0.7301 MB / 0.5655 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.3681, allocations: 0.5322 MB / 0.566 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001368/0.3694, allocations: 1.036 MB / 0.5671 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.3698, allocations: 275.2 kB / 0.5673 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008167/0.3707, allocations: 0.586 MB / 0.5679 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.3715, allocations: 0.7575 MB / 0.5686 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.3717, allocations: 62.44 kB / 0.5687 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.3721, allocations: 177.9 kB / 0.5689 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.3723, allocations: 260.4 kB / 0.5691 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.3726, allocations: 238.6 kB / 0.5693 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000949/0.3735, allocations: 1.242 MB / 0.5706 GB, free: 35.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3736, allocations: 1.844 kB / 0.5706 GB, free: 35.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3736, allocations: 0 / 0.5706 GB, free: 35.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.972e-05/0.3736, allocations: 0 / 0.5706 GB, free: 35.62 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00874/0.3823, allocations: 2.604 MB / 0.5731 GB, free: 34.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3824, allocations: 8.219 kB / 0.5731 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003201/0.3827, allocations: 135.2 kB / 0.5732 GB, free: 34.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004991/0.3877, allocations: 0.7806 MB / 0.574 GB, free: 34.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.3894, allocations: 0.8852 MB / 0.5749 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.3897, allocations: 275.1 kB / 0.5751 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.3899, allocations: 84.95 kB / 0.5752 GB, free: 33.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.3919, allocations: 1.153 MB / 0.5763 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3919, allocations: 6.5 kB / 0.5763 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.392, allocations: 37.8 kB / 0.5764 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.392, allocations: 18.44 kB / 0.5764 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3939, allocations: 1.06 MB / 0.5774 GB, free: 32.66 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.006276/0.4002, allocations: 4.197 MB / 0.5815 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007474/0.4076, allocations: 2.947 MB / 0.5844 GB, free: 29.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/0.4079, allocations: 16.05 kB / 0.5844 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001759/0.4096, allocations: 0.9003 MB / 0.5853 GB, free: 28.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.266e-06/0.4096, allocations: 4 kB / 0.5853 GB, free: 28.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03003/0.4397, allocations: 8.603 MB / 0.5937 GB, free: 27.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.4398, allocations: 114.8 kB / 0.5938 GB, free: 27.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.4417, allocations: 1.133 MB / 0.5949 GB, free: 26.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.442, allocations: 46.58 kB / 0.595 GB, free: 26.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.4423, allocations: 0.4918 MB / 0.5954 GB, free: 26.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.4427, allocations: 367.9 kB / 0.5958 GB, free: 26.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4428, allocations: 34.88 kB / 0.5958 GB, free: 25.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.443, allocations: 369.8 kB / 0.5962 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/0.4447, allocations: 0.8545 MB / 0.597 GB, free: 25.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.4466, allocations: 1.02 MB / 0.598 GB, free: 24.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.4485, allocations: 0.985 MB / 0.599 GB, free: 24.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.4485, allocations: 5.625 kB / 0.599 GB, free: 24.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01576/0.4643, allocations: 5.303 MB / 0.6042 GB, free: 23.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.4644, allocations: 58.89 kB / 0.6042 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4644, allocations: 3.688 kB / 0.6042 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007647/0.4721, allocations: 2.009 MB / 0.6062 GB, free: 22.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.4738, allocations: 299.7 kB / 0.6065 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.4962, allocations: 10.83 MB / 0.617 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.4987, allocations: 242.6 kB / 0.6173 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.4989, allocations: 59.97 kB / 0.6173 GB, free: 14.51 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-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 (171): * Single equations (assignments): 167 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006017/0.4995, allocations: 303.8 kB / 0.6176 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.4997, allocations: 135.3 kB / 0.6177 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.5122, allocations: 4.764 MB / 0.6224 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.5123, allocations: 9 kB / 0.6224 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.5123, allocations: 8 kB / 0.6224 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/0.5123, allocations: 3.984 kB / 0.6224 GB, free: 9.266 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.01439/0.5267, allocations: 6.442 MB / 0.6287 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.5268, allocations: 0 / 0.6287 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.5275, allocations: 99.89 kB / 0.6288 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005324/0.5328, allocations: 1.889 MB / 0.6306 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.533, allocations: 24.94 kB / 0.6307 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/0.5544, allocations: 10.11 MB / 0.6405 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5544, allocations: 4.125 kB / 0.6405 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.5705, allocations: 5.712 MB / 0.6461 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/0.5711, allocations: 235.2 kB / 0.6464 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/0.5713, allocations: 25.3 kB / 0.6464 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.5726, allocations: 147.8 kB / 0.6465 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005841/0.5732, allocations: 197.7 kB / 0.6467 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-05/0.5733, allocations: 31.98 kB / 0.6467 GB, free: 15.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.5745, allocations: 0.7595 MB / 0.6475 GB, free: 15.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5745, allocations: 0 / 0.6475 GB, free: 15.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001623/0.5761, allocations: 487.6 kB / 0.6479 GB, free: 14.65 MB / 462.1 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,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 (66): * Single equations (assignments): 63 * 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.01656/0.5927, allocations: 6.376 MB / 0.6542 GB, free: 8.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007428/0.6002, allocations: 2.993 MB / 0.6571 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6002, allocations: 0 / 0.6571 GB, free: 5.176 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00476/0.605, allocations: 1.838 MB / 0.6589 GB, free: 3.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009591/0.606, allocations: 101.8 kB / 0.659 GB, free: 3.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.6121, allocations: 5.241 MB / 0.6641 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.6129, allocations: 1.163 MB / 0.6652 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004912/0.6134, allocations: 120.6 kB / 0.6654 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/0.614, allocations: 487.3 kB / 0.6658 GB, free: 12.14 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.614, allocations: 0 / 0.6658 GB, free: 12.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.6715, allocations: 32.27 MB / 0.6973 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.6717, allocations: 217.1 kB / 0.6975 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.357, allocations: 3.938 kB / 0.6975 GB, free: 12.04 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: