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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, 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.371/1.371, allocations: 221.5 MB / 229.6 MB, free: 7.508 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.00094/0.00094, allocations: 105.6 kB / 280.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5128/0.5128, allocations: 78.08 MB / 409.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.022e-05, allocations: 4 kB / 485 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1529, allocations: 69.36 MB / 0.5414 GB, free: 6.691 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.6427, allocations: 98.52 MB / 0.6376 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.6431, allocations: 75.95 kB / 0.6377 GB, free: 0.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08631/0.7294, allocations: 31.79 MB / 0.6687 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.7295, allocations: 4 kB / 0.6687 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.195e-05/0.7295, allocations: 20.66 kB / 0.6687 GB, free: 0.9727 MB / 474.7 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.004275/0.7338, allocations: 1.745 MB / 0.6704 GB, free: 15.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.7339, allocations: 8.031 kB / 0.6704 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/0.7372, allocations: 0.5641 MB / 0.671 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.7386, allocations: 0.7862 MB / 0.6718 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.7389, allocations: 232.2 kB / 0.672 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.739, allocations: 47.95 kB / 0.672 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/0.7405, allocations: 0.8092 MB / 0.6728 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.742, allocations: 0.8446 MB / 0.6736 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.742, allocations: 3.984 kB / 0.6736 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.7421, allocations: 0 / 0.6736 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.7421, allocations: 16 kB / 0.6737 GB, free: 11.76 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.006663/0.7488, allocations: 3.724 MB / 0.6773 GB, free: 7.871 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/0.7561, allocations: 2.634 MB / 0.6799 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.7572, allocations: 0.5205 MB / 0.6804 GB, free: 4.617 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.7574, allocations: 16.75 kB / 0.6804 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.7584, allocations: 0.6582 MB / 0.681 GB, free: 3.926 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.805e-06/0.7584, allocations: 0 / 0.681 GB, free: 3.926 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01204/0.7705, allocations: 3.946 MB / 0.6849 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.7706, allocations: 119.6 kB / 0.685 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.772, allocations: 0.839 MB / 0.6858 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.7723, allocations: 29.7 kB / 0.6859 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.7727, allocations: 0.5245 MB / 0.6864 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.7731, allocations: 336.5 kB / 0.6867 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.7732, allocations: 0 / 0.6867 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7734, allocations: 353.9 kB / 0.687 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.7741, allocations: 442.6 kB / 0.6874 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008005/0.7749, allocations: 0.5732 MB / 0.688 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.7757, allocations: 0.4943 MB / 0.6885 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.7757, allocations: 0 / 0.6885 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01202/0.7877, allocations: 3.986 MB / 0.6924 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.7879, allocations: 55.41 kB / 0.6924 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.7879, allocations: 6.375 kB / 0.6924 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.7932, allocations: 1.514 MB / 0.6939 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.7945, allocations: 203.7 kB / 0.6941 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.8078, allocations: 6.532 MB / 0.7005 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.8097, allocations: 187 kB / 0.7007 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.8098, allocations: 39.98 kB / 0.7007 GB, free: 15.52 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * 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: 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.0003573/0.8102, allocations: 162.4 kB / 0.7009 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01189/0.8221, allocations: 3.95 MB / 0.7047 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006816/0.8228, allocations: 126.4 kB / 0.7048 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/0.8347, allocations: 4.066 MB / 0.7088 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.8347, allocations: 8 kB / 0.7088 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.8348, allocations: 11.95 kB / 0.7088 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/0.8348, allocations: 7.969 kB / 0.7088 GB, free: 7.145 MB / 0.5105 GB 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.01377/0.8486, allocations: 5.553 MB / 0.7143 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.8486, allocations: 0 / 0.7143 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/0.8493, allocations: 105.1 kB / 0.7144 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004676/0.854, allocations: 1.477 MB / 0.7158 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.8542, allocations: 8 kB / 0.7158 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.8677, allocations: 7.538 MB / 0.7232 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.8678, allocations: 0 / 0.7232 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/0.8814, allocations: 4.821 MB / 0.7279 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000701/0.8821, allocations: 223.2 kB / 0.7281 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.8824, allocations: 7.984 kB / 0.7281 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.8837, allocations: 130.4 kB / 0.7282 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006304/0.8843, allocations: 197 kB / 0.7284 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.8844, allocations: 27.98 kB / 0.7284 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008962/0.8853, allocations: 0.6493 MB / 0.7291 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8853, allocations: 0 / 0.7291 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001394/0.8867, allocations: 395.5 kB / 0.7295 GB, free: 1.637 MB / 0.5261 GB 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 () * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01326/0.9, allocations: 5.477 MB / 0.7348 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005051/0.9051, allocations: 2.032 MB / 0.7368 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9051, allocations: 0 / 0.7368 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003847/0.9089, allocations: 1.549 MB / 0.7383 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009103/0.9099, allocations: 95.88 kB / 0.7384 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.9138, allocations: 1.967 MB / 0.7403 GB, free: 6.379 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.9145, allocations: 1.161 MB / 0.7414 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004284/0.9149, allocations: 102 kB / 0.7415 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.9155, allocations: 471.3 kB / 0.742 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.9155, allocations: 0 / 0.742 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3574/1.273, allocations: 29.21 MB / 0.7705 GB, free: 146.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.273, allocations: 140.9 kB / 0.7707 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.026/4.299, allocations: 3.312 kB / 0.7707 GB, free: 146.4 MB / 0.5573 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)