Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.009309/0.009308, allocations: 171.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 99.66 kB / 290.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5132/0.5132, allocations: 79.45 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003886, allocations: 12 kB / 0.4891 GB, free: 6.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 69.52 MB / 0.557 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.6383, allocations: 103.3 MB / 0.6579 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.6387, allocations: 85.38 kB / 0.658 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2726/0.9113, allocations: 103.1 MB / 0.7587 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.276e-06/0.9114, allocations: 0 / 0.7587 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005858/0.912, allocations: 95.88 kB / 0.7588 GB, free: 6.145 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02394/0.9359, allocations: 6.656 MB / 0.7653 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.936, allocations: 12.03 kB / 0.7653 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002334/0.9383, allocations: 484.9 kB / 0.7657 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01824/0.9566, allocations: 2.811 MB / 0.7685 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007915/0.9646, allocations: 2.296 MB / 0.7707 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/0.9659, allocations: 0.9963 MB / 0.7717 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/0.9678, allocations: 336 kB / 0.772 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.9829, allocations: 4.946 MB / 0.7769 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001907/0.9832, allocations: 0 / 0.7769 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/0.9849, allocations: 144 kB / 0.777 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.504e-05/0.985, allocations: 84 kB / 0.7771 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.9986, allocations: 4.502 MB / 0.7815 GB, free: 14.54 MB / 0.573 GB 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.417/1.416, allocations: 18.64 MB / 0.7997 GB, free: 90.61 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.43, allocations: 5.684 MB / 0.8052 GB, free: 90.17 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009686/1.431, allocations: 67.05 kB / 0.8053 GB, free: 90.16 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009628/1.441, allocations: 3.436 MB / 0.8086 GB, free: 90.02 MB / 0.573 GB Notification: Performance of pre-optimization done (n=384): time 1.046e-05/1.441, allocations: 0 / 0.8086 GB, free: 90.02 MB / 0.573 GB Notification: Performance of matching and sorting (n=384): time 0.2931/1.734, allocations: 76.99 MB / 0.8838 GB, free: 86.36 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/1.734, allocations: 143.5 kB / 0.884 GB, free: 86.23 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005033/1.739, allocations: 2.748 MB / 0.8867 GB, free: 85.97 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/1.74, allocations: 93.25 kB / 0.8867 GB, free: 85.94 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/1.742, allocations: 1.997 MB / 0.8887 GB, free: 85.53 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002182/1.744, allocations: 1.31 MB / 0.89 GB, free: 84.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/1.744, allocations: 77.22 kB / 0.89 GB, free: 84.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.744, allocations: 442 kB / 0.8905 GB, free: 84.55 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005205/1.749, allocations: 2.669 MB / 0.8931 GB, free: 84.49 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005902/1.755, allocations: 3.245 MB / 0.8962 GB, free: 83.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005981/1.761, allocations: 2.921 MB / 0.8991 GB, free: 83.71 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.593e-05/1.761, allocations: 3.781 kB / 0.8991 GB, free: 83.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05772/1.819, allocations: 20.2 MB / 0.9188 GB, free: 77.26 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/1.819, allocations: 67.36 kB / 0.9189 GB, free: 77.18 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.04e-05/1.819, allocations: 12 kB / 0.9189 GB, free: 77.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02697/1.846, allocations: 8.553 MB / 0.9272 GB, free: 71.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/1.85, allocations: 0.5795 MB / 0.9278 GB, free: 70.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08381/1.934, allocations: 37.04 MB / 0.964 GB, free: 34.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006731/1.941, allocations: 0.7262 MB / 0.9647 GB, free: 34.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009574/1.941, allocations: 136 kB / 0.9648 GB, free: 33.89 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(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: 65 * 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 (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002468/1.944, allocations: 0.6552 MB / 0.9655 GB, free: 33.27 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/1.945, allocations: 463.5 kB / 0.9659 GB, free: 32.82 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0571/2.002, allocations: 20.57 MB / 0.986 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/2.003, allocations: 36 kB / 0.986 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001162/2.003, allocations: 28 kB / 0.9861 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001687/2.003, allocations: 23.92 kB / 0.9861 GB, free: 12.21 MB / 0.573 GB 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.07421/2.077, allocations: 25.54 MB / 1.011 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/2.077, allocations: 0 / 1.011 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/2.08, allocations: 395.5 kB / 1.011 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3611/2.441, allocations: 8.596 MB / 1.02 GB, free: 96.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00156/2.443, allocations: 72.77 kB / 1.02 GB, free: 96.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08591/2.529, allocations: 34.43 MB / 1.053 GB, free: 93.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/2.529, allocations: 3.953 kB / 1.053 GB, free: 93.17 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06937/2.598, allocations: 24.24 MB / 1.077 GB, free: 92.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002266/2.6, allocations: 0.5679 MB / 1.078 GB, free: 91.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00205/2.602, allocations: 61.62 kB / 1.078 GB, free: 91.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005896/2.608, allocations: 0.5035 MB / 1.078 GB, free: 91.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004221/2.613, allocations: 0.7862 MB / 1.079 GB, free: 91.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008097/2.613, allocations: 96.09 kB / 1.079 GB, free: 91.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004093/2.618, allocations: 2.103 MB / 1.081 GB, free: 91.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.31e-07/2.618, allocations: 0 / 1.081 GB, free: 91.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007707/2.625, allocations: 1.77 MB / 1.083 GB, free: 91.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.069/2.694, allocations: 24.98 MB / 1.107 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02778/2.722, allocations: 9.968 MB / 1.117 GB, free: 83.86 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/2.722, allocations: 1.938 kB / 1.117 GB, free: 83.86 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02142/2.744, allocations: 7.032 MB / 1.124 GB, free: 81.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/2.748, allocations: 309.2 kB / 1.124 GB, free: 81.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/2.774, allocations: 21.15 MB / 1.145 GB, free: 64.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/2.776, allocations: 2.545 MB / 1.147 GB, free: 62.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001898/2.778, allocations: 296.3 kB / 1.148 GB, free: 62.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/2.78, allocations: 1.978 MB / 1.15 GB, free: 60.43 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/2.78, allocations: 0 / 1.15 GB, free: 60.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4855/3.266, allocations: 112.9 MB / 1.26 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/3.266, allocations: 210.1 kB / 1.26 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/10.55, allocations: 0 / 1.26 GB, free: 109.9 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)