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/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.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 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.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/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.5 MB / 229.6 MB, free: 3.141 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.0009585/0.0009585, allocations: 95.03 kB / 280.5 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4437/0.4437, allocations: 78.94 MB / 410.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.046e-05, allocations: 0 / 486 MB, free: 3.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3281, allocations: 69.51 MB / 0.5425 GB, free: 21.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.4466, allocations: 99.34 MB / 0.6395 GB, free: 4.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4468, allocations: 75.95 kB / 0.6396 GB, free: 4.359 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08542/0.5322, allocations: 32.44 MB / 0.6713 GB, free: 3.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5323, allocations: 0 / 0.6713 GB, free: 3.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.154e-05/0.5324, allocations: 28 kB / 0.6713 GB, free: 3.691 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004533/0.5369, allocations: 1.75 MB / 0.673 GB, free: 1.879 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.537, allocations: 11.97 kB / 0.673 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.5403, allocations: 0.568 MB / 0.6736 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.5418, allocations: 0.7903 MB / 0.6744 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.542, allocations: 244.1 kB / 0.6746 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.5422, allocations: 51.91 kB / 0.6746 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2859/0.8281, allocations: 0.8079 MB / 0.6754 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.8298, allocations: 0.8494 MB / 0.6763 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.8298, allocations: 0 / 0.6763 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.722e-05/0.8299, allocations: 4.281 kB / 0.6763 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.83, allocations: 18.34 kB / 0.6763 GB, free: 104.1 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.007239/0.8372, allocations: 3.761 MB / 0.6799 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/0.8446, allocations: 2.648 MB / 0.6825 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009793/0.8456, allocations: 0.5265 MB / 0.683 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.8457, allocations: 20.84 kB / 0.6831 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.8467, allocations: 0.6698 MB / 0.6837 GB, free: 102.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.066e-06/0.8468, allocations: 0 / 0.6837 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01186/0.8586, allocations: 3.967 MB / 0.6876 GB, free: 102.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.8587, allocations: 112.7 kB / 0.6877 GB, free: 102.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.8598, allocations: 0.8491 MB / 0.6885 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.86, allocations: 29.73 kB / 0.6886 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.8603, allocations: 0.5319 MB / 0.6891 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.8605, allocations: 337.8 kB / 0.6894 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.8606, allocations: 0 / 0.6894 GB, free: 101.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.8607, allocations: 347.9 kB / 0.6897 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.8613, allocations: 457.7 kB / 0.6902 GB, free: 101.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.862, allocations: 0.5778 MB / 0.6907 GB, free: 101.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.8627, allocations: 0.4958 MB / 0.6912 GB, free: 101.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8627, allocations: 4 kB / 0.6912 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01067/0.8733, allocations: 4.054 MB / 0.6952 GB, free: 100.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.8734, allocations: 63 kB / 0.6952 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.8734, allocations: 3.938 kB / 0.6952 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005211/0.8787, allocations: 1.597 MB / 0.6968 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.8796, allocations: 183.7 kB / 0.697 GB, free: 99.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.8921, allocations: 7.888 MB / 0.7047 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.8938, allocations: 182.5 kB / 0.7049 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.894, allocations: 36.08 kB / 0.7049 GB, free: 95.02 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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.0003099/0.8943, allocations: 163.2 kB / 0.705 GB, free: 94.87 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01069/0.905, allocations: 3.972 MB / 0.7089 GB, free: 94.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/0.9055, allocations: 129.8 kB / 0.7091 GB, free: 93.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.9161, allocations: 4.075 MB / 0.713 GB, free: 91.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.9162, allocations: 8 kB / 0.713 GB, free: 91.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9162, allocations: 8 kB / 0.713 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/0.9162, allocations: 8.203 kB / 0.7131 GB, free: 91.36 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.01246/0.9287, allocations: 5.59 MB / 0.7185 GB, free: 87.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.9288, allocations: 7.891 kB / 0.7185 GB, free: 87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007164/0.9295, allocations: 98.25 kB / 0.7186 GB, free: 86.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00433/0.9338, allocations: 1.491 MB / 0.7201 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.934, allocations: 7.891 kB / 0.7201 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.9457, allocations: 7.531 MB / 0.7274 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.9458, allocations: 176 / 0.7274 GB, free: 78.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/0.9579, allocations: 4.845 MB / 0.7322 GB, free: 73.78 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.9585, allocations: 238.2 kB / 0.7324 GB, free: 73.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.959, allocations: 4 kB / 0.7324 GB, free: 73.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.9604, allocations: 135.7 kB / 0.7325 GB, free: 73.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/0.961, allocations: 193 kB / 0.7327 GB, free: 73.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.9611, allocations: 28 kB / 0.7327 GB, free: 73.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.9621, allocations: 0.6497 MB / 0.7334 GB, free: 72.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9622, allocations: 3.938 kB / 0.7334 GB, free: 72.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001607/0.9638, allocations: 413.5 kB / 0.7338 GB, free: 72.12 MB / 490.7 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 () * 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.01194/0.9757, allocations: 5.506 MB / 0.7391 GB, free: 66.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004964/0.9807, allocations: 2.166 MB / 0.7413 GB, free: 64.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9808, allocations: 0 / 0.7413 GB, free: 64.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00356/0.9843, allocations: 1.565 MB / 0.7428 GB, free: 62.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.9854, allocations: 89.14 kB / 0.7429 GB, free: 62.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.9901, allocations: 2.065 MB / 0.7449 GB, free: 60.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.9906, allocations: 1.155 MB / 0.746 GB, free: 59.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004891/0.9911, allocations: 100.5 kB / 0.7461 GB, free: 59.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.9917, allocations: 483.3 kB / 0.7466 GB, free: 58.88 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9917, allocations: 0 / 0.7466 GB, free: 58.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05208/1.044, allocations: 29.76 MB / 0.7756 GB, free: 29.42 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.044, allocations: 144.5 kB / 0.7758 GB, free: 29.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/3.856, allocations: 0 / 0.7758 GB, free: 29.23 MB / 490.7 MB (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)