Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_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.001133/0.001133, allocations: 91.77 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.616/1.616, allocations: 223.2 MB / 239 MB, free: 5.449 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.001744/0.001744, allocations: 188.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5965/0.5965, allocations: 78.56 MB / 419.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005043, allocations: 12 kB / 499.9 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1939, allocations: 69.35 MB / 0.5559 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.3975/0.5914, allocations: 6.131 MB / 0.5619 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.5969, allocations: 1.952 MB / 0.5638 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.5979, allocations: 13.56 kB / 0.5638 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008596/0.5988, allocations: 173.8 kB / 0.564 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.601, allocations: 0.6721 MB / 0.5646 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.6024, allocations: 0.5325 MB / 0.5651 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.6039, allocations: 1.482 MB / 0.5666 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.6043, allocations: 264.8 kB / 0.5668 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007772/0.6051, allocations: 0.5821 MB / 0.5674 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009813/0.6061, allocations: 0.7687 MB / 0.5682 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.6062, allocations: 67.06 kB / 0.5682 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.6067, allocations: 193 kB / 0.5684 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.6071, allocations: 262 kB / 0.5687 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.6074, allocations: 238.7 kB / 0.5689 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.6087, allocations: 1.279 MB / 0.5701 GB, free: 35.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.6087, allocations: 0 / 0.5701 GB, free: 35.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6087, allocations: 1.094 kB / 0.5701 GB, free: 35.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.6087, allocations: 0 / 0.5701 GB, free: 35.57 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.008056/0.6168, allocations: 2.615 MB / 0.5727 GB, free: 34.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.6169, allocations: 8.781 kB / 0.5727 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002353/0.6171, allocations: 124.7 kB / 0.5728 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.6217, allocations: 0.7901 MB / 0.5736 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.6235, allocations: 0.8781 MB / 0.5744 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.6237, allocations: 272.5 kB / 0.5747 GB, free: 33.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.6239, allocations: 89.28 kB / 0.5748 GB, free: 33.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.6262, allocations: 1.167 MB / 0.5759 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6262, allocations: 0 / 0.5759 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.827e-05/0.6264, allocations: 32.48 kB / 0.576 GB, free: 33.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.6264, allocations: 22.33 kB / 0.576 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.6283, allocations: 1.057 MB / 0.577 GB, free: 33.21 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.006337/0.6347, allocations: 3.997 MB / 0.5809 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007442/0.6422, allocations: 2.945 MB / 0.5838 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.6439, allocations: 0.7559 MB / 0.5845 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.644, allocations: 17.7 kB / 0.5845 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.6458, allocations: 0.8949 MB / 0.5854 GB, free: 29.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 6.071e-06/0.6458, allocations: 6.703 kB / 0.5854 GB, free: 29.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03148/0.6773, allocations: 8.609 MB / 0.5938 GB, free: 27.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.6775, allocations: 115.2 kB / 0.5939 GB, free: 27.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003992/0.6815, allocations: 1.128 MB / 0.595 GB, free: 27.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003839/0.6819, allocations: 43.2 kB / 0.5951 GB, free: 27.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007536/0.6827, allocations: 0.5039 MB / 0.5956 GB, free: 26.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008096/0.6835, allocations: 368 kB / 0.5959 GB, free: 26.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.6839, allocations: 31.06 kB / 0.596 GB, free: 26.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6841, allocations: 374.3 kB / 0.5963 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.6867, allocations: 0.8496 MB / 0.5971 GB, free: 25.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.6893, allocations: 1.03 MB / 0.5982 GB, free: 25.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.6921, allocations: 0.9815 MB / 0.5991 GB, free: 24.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/0.6921, allocations: 1.25 kB / 0.5991 GB, free: 24.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01755/0.7097, allocations: 5.309 MB / 0.6043 GB, free: 23.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/0.7098, allocations: 59.98 kB / 0.6044 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.7099, allocations: 3.531 kB / 0.6044 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008223/0.7181, allocations: 2.014 MB / 0.6063 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.7202, allocations: 297.6 kB / 0.6066 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/0.7447, allocations: 10.38 MB / 0.6167 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.7474, allocations: 246.6 kB / 0.617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004828/0.7479, allocations: 63.97 kB / 0.617 GB, free: 14.96 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.001398/0.7494, allocations: 306 kB / 0.6173 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007292/0.7501, allocations: 130.3 kB / 0.6175 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.7627, allocations: 4.76 MB / 0.6221 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.7628, allocations: 13.19 kB / 0.6221 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-05/0.7629, allocations: 4.656 kB / 0.6221 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/0.7629, allocations: 7.969 kB / 0.6221 GB, free: 9.715 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.0153/0.7782, allocations: 6.388 MB / 0.6284 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.7783, allocations: 0 / 0.6284 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.779, allocations: 111.8 kB / 0.6285 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005186/0.7842, allocations: 1.885 MB / 0.6303 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.7844, allocations: 19.98 kB / 0.6303 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/0.8066, allocations: 9.674 MB / 0.6398 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.8067, allocations: 4.125 kB / 0.6398 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.8231, allocations: 5.702 MB / 0.6454 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009259/0.8241, allocations: 235.2 kB / 0.6456 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/0.8248, allocations: 27.95 kB / 0.6456 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.8266, allocations: 143.9 kB / 0.6457 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008326/0.8275, allocations: 196.6 kB / 0.6459 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/0.8276, allocations: 28 kB / 0.646 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001865/0.8295, allocations: 0.7595 MB / 0.6467 GB, free: 108 kB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8295, allocations: 0 / 0.6467 GB, free: 108 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002596/0.8321, allocations: 491.6 kB / 0.6472 GB, free: 15.62 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.01605/0.8482, allocations: 6.294 MB / 0.6533 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008326/0.8566, allocations: 2.993 MB / 0.6562 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.8566, allocations: 0 / 0.6562 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004708/0.8613, allocations: 1.835 MB / 0.658 GB, free: 4.367 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.8633, allocations: 114.8 kB / 0.6581 GB, free: 4.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03239/0.8957, allocations: 12.64 MB / 0.6705 GB, free: 7.324 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.897, allocations: 1.132 MB / 0.6716 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008136/0.8979, allocations: 120.8 kB / 0.6717 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.8989, allocations: 487.3 kB / 0.6722 GB, free: 5.566 MB / 478.1 MB Notification: Performance of SimCode: time 2.063e-06/0.899, allocations: 0 / 0.6722 GB, free: 5.566 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.075/0.974, allocations: 33.21 MB / 0.7046 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.9742, allocations: 219.9 kB / 0.7048 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/4.49, allocations: 0 / 0.7048 GB, free: 4.52 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: