Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",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.001497/0.001498, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.304/1.304, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008432/0.0008431, allocations: 92.44 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4577/0.4577, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.894e-05, allocations: 4 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3132, allocations: 69.34 MB / 0.548 GB, free: 20.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.4237, allocations: 98.78 MB / 0.6445 GB, free: 1.637 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.424, allocations: 79.95 kB / 0.6446 GB, free: 1.559 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08071/0.5047, allocations: 30.84 MB / 0.6747 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.5047, allocations: 3.938 kB / 0.6747 GB, free: 2.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001058/0.5048, allocations: 27.98 kB / 0.6747 GB, free: 2.473 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005094/0.5099, allocations: 1.726 MB / 0.6764 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.51, allocations: 11.97 kB / 0.6764 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003889/0.5104, allocations: 130.6 kB / 0.6766 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2722/0.7826, allocations: 0.5591 MB / 0.6771 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.7846, allocations: 0.7878 MB / 0.6779 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.7849, allocations: 235.3 kB / 0.6781 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.785, allocations: 78.64 kB / 0.6782 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.7867, allocations: 0.9461 MB / 0.6791 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.7868, allocations: 3.953 kB / 0.6791 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.7869, allocations: 28.44 kB / 0.6791 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.7869, allocations: 17.66 kB / 0.6791 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.7884, allocations: 0.8481 MB / 0.68 GB, free: 103.7 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.006979/0.7954, allocations: 3.925 MB / 0.6838 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/0.8028, allocations: 2.628 MB / 0.6864 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008601/0.8037, allocations: 0.5546 MB / 0.6869 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.8038, allocations: 14.45 kB / 0.6869 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.8038, allocations: 42.06 kB / 0.687 GB, free: 102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.656e-06/0.8038, allocations: 3.094 kB / 0.687 GB, free: 102 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01097/0.8148, allocations: 3.917 MB / 0.6908 GB, free: 101.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.8149, allocations: 138.1 kB / 0.6909 GB, free: 101.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.8161, allocations: 0.9121 MB / 0.6918 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.8163, allocations: 42.77 kB / 0.6919 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.8166, allocations: 0.5117 MB / 0.6924 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.8169, allocations: 344.7 kB / 0.6927 GB, free: 101 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.8169, allocations: 15.12 kB / 0.6927 GB, free: 101 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.817, allocations: 343 kB / 0.693 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/0.8177, allocations: 449.1 kB / 0.6935 GB, free: 100.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.8184, allocations: 0.5773 MB / 0.694 GB, free: 100.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.8191, allocations: 0.5463 MB / 0.6946 GB, free: 99.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8191, allocations: 3.75 kB / 0.6946 GB, free: 99.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01091/0.83, allocations: 4.033 MB / 0.6985 GB, free: 98.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.8303, allocations: 1.197 MB / 0.6997 GB, free: 97.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.8303, allocations: 4 kB / 0.6997 GB, free: 97.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00451/0.8348, allocations: 1.443 MB / 0.7011 GB, free: 97.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.8359, allocations: 190.3 kB / 0.7013 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.8474, allocations: 6.426 MB / 0.7075 GB, free: 93.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.8491, allocations: 196.2 kB / 0.7077 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.8492, allocations: 34.39 kB / 0.7078 GB, free: 93.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.8492, allocations: 3.938 kB / 0.7078 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01043/0.8597, allocations: 3.894 MB / 0.7116 GB, free: 90.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.8597, allocations: 0 / 0.7116 GB, free: 90.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004346/0.8641, allocations: 1.453 MB / 0.713 GB, free: 89.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.8651, allocations: 183.1 kB / 0.7132 GB, free: 89.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.8763, allocations: 6.432 MB / 0.7194 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.8778, allocations: 175.9 kB / 0.7196 GB, free: 83.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.8779, allocations: 32 kB / 0.7196 GB, free: 83.65 MB / 490.7 MB 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 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 order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002753/0.8781, allocations: 201.8 kB / 0.7198 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.8784, allocations: 126.4 kB / 0.72 GB, free: 83.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.8889, allocations: 4.032 MB / 0.7239 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.889, allocations: 12 kB / 0.7239 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.889, allocations: 4 kB / 0.7239 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/0.889, allocations: 11.83 kB / 0.7239 GB, free: 80.12 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.01254/0.9016, allocations: 5.679 MB / 0.7295 GB, free: 75.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.9016, allocations: 0 / 0.7295 GB, free: 75.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.9024, allocations: 117.8 kB / 0.7296 GB, free: 75.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004076/0.9064, allocations: 1.417 MB / 0.731 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.9066, allocations: 19.98 kB / 0.731 GB, free: 74.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009846/0.9165, allocations: 5.72 MB / 0.7366 GB, free: 68.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9165, allocations: 4 kB / 0.7366 GB, free: 68.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.9281, allocations: 4.764 MB / 0.7412 GB, free: 63.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.9286, allocations: 231.2 kB / 0.7414 GB, free: 63.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.9288, allocations: 20 kB / 0.7415 GB, free: 63.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.93, allocations: 143.8 kB / 0.7416 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/0.9304, allocations: 180.5 kB / 0.7418 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/0.9305, allocations: 20 kB / 0.7418 GB, free: 62.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000767/0.9313, allocations: 0.7173 MB / 0.7425 GB, free: 62.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9313, allocations: 0 / 0.7425 GB, free: 62.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001533/0.9328, allocations: 0.6688 MB / 0.7431 GB, free: 61.48 MB / 490.7 MB 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01166/0.9445, allocations: 5.443 MB / 0.7485 GB, free: 56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007655/0.9522, allocations: 3.606 MB / 0.752 GB, free: 52.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9522, allocations: 0 / 0.752 GB, free: 52.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003271/0.9555, allocations: 1.442 MB / 0.7534 GB, free: 50.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.9563, allocations: 115.1 kB / 0.7535 GB, free: 50.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.9596, allocations: 2.091 MB / 0.7555 GB, free: 48.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.96, allocations: 1.162 MB / 0.7567 GB, free: 47.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007419/0.9608, allocations: 204.7 kB / 0.7569 GB, free: 47.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.9612, allocations: 463.2 kB / 0.7573 GB, free: 46.82 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9612, allocations: 0 / 0.7573 GB, free: 46.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05072/1.012, allocations: 38.38 MB / 0.7948 GB, free: 8.969 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001226/1.012, allocations: 182.6 kB / 0.795 GB, free: 8.746 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/3.958, allocations: 5.969 kB / 0.795 GB, free: 8.742 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)