Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.001145/0.001146, allocations: 174.7 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.416/1.416, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008331/0.000833, allocations: 98.58 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4595/0.4595, allocations: 78.08 MB / 414.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.533e-05, allocations: 0 / 491.9 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3415, allocations: 69.34 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4684, allocations: 98.11 MB / 0.6439 GB, free: 2.445 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4687, allocations: 75.95 kB / 0.644 GB, free: 2.371 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08234/0.5511, allocations: 29.97 MB / 0.6732 GB, free: 4.203 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5511, allocations: 0 / 0.6732 GB, free: 4.203 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.799e-05/0.5512, allocations: 23.94 kB / 0.6733 GB, free: 4.18 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004588/0.5558, allocations: 1.68 MB / 0.6749 GB, free: 2.438 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5559, allocations: 19.95 kB / 0.6749 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003182/0.5562, allocations: 118.5 kB / 0.675 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.5597, allocations: 0.5564 MB / 0.6756 GB, free: 1.734 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.5613, allocations: 0.7761 MB / 0.6763 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.5615, allocations: 234.5 kB / 0.6766 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.5617, allocations: 75.98 kB / 0.6766 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3162/0.878, allocations: 0.9221 MB / 0.6775 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.8781, allocations: 3.797 kB / 0.6775 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.8782, allocations: 29.03 kB / 0.6776 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.8782, allocations: 17.72 kB / 0.6776 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.8803, allocations: 0.8369 MB / 0.6784 GB, free: 103.9 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.008132/0.8884, allocations: 3.844 MB / 0.6821 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00786/0.8963, allocations: 2.599 MB / 0.6847 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.8976, allocations: 0.537 MB / 0.6852 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.8977, allocations: 21.23 kB / 0.6852 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.8978, allocations: 42.19 kB / 0.6853 GB, free: 102.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.437e-06/0.8978, allocations: 0 / 0.6853 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01187/0.9097, allocations: 3.892 MB / 0.6891 GB, free: 102.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.9098, allocations: 145 kB / 0.6892 GB, free: 101.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.9112, allocations: 0.877 MB / 0.6901 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.9114, allocations: 40.55 kB / 0.6901 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.9117, allocations: 0.5106 MB / 0.6906 GB, free: 101.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/0.912, allocations: 329.3 kB / 0.6909 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.9121, allocations: 21.19 kB / 0.6909 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.9122, allocations: 340 kB / 0.6913 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006719/0.9129, allocations: 433.6 kB / 0.6917 GB, free: 101.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.9136, allocations: 0.5644 MB / 0.6922 GB, free: 101 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.9143, allocations: 0.5343 MB / 0.6927 GB, free: 100.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.9144, allocations: 0 / 0.6927 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01145/0.9258, allocations: 4.07 MB / 0.6967 GB, free: 99.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.9262, allocations: 1.201 MB / 0.6979 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.9262, allocations: 7.5 kB / 0.6979 GB, free: 98.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005108/0.9314, allocations: 1.467 MB / 0.6993 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009475/0.9323, allocations: 163.5 kB / 0.6995 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.9459, allocations: 6.577 MB / 0.7059 GB, free: 94.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.9477, allocations: 187.4 kB / 0.7061 GB, free: 94.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.9479, allocations: 36.83 kB / 0.7061 GB, free: 94.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9479, allocations: 9.906 kB / 0.7061 GB, free: 94.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01144/0.9594, allocations: 3.936 MB / 0.71 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.9594, allocations: 5.625 kB / 0.71 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.9645, allocations: 1.461 MB / 0.7114 GB, free: 91.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009422/0.9655, allocations: 157.7 kB / 0.7116 GB, free: 91.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.9784, allocations: 6.571 MB / 0.718 GB, free: 85.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.9801, allocations: 182.6 kB / 0.7182 GB, free: 85.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.9803, allocations: 35.47 kB / 0.7182 GB, free: 85.53 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" 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 (85): * Single equations (assignments): 82 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004256/0.9808, allocations: 189.8 kB / 0.7184 GB, free: 85.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.9812, allocations: 122.5 kB / 0.7185 GB, free: 85.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.9928, allocations: 4.009 MB / 0.7224 GB, free: 82.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.9929, allocations: 8 kB / 0.7224 GB, free: 82.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.9929, allocations: 11.95 kB / 0.7224 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-05/0.993, allocations: 3.75 kB / 0.7224 GB, free: 82.06 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.01486/1.008, allocations: 5.611 MB / 0.7279 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.008, allocations: 0 / 0.7279 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/1.009, allocations: 114.6 kB / 0.728 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004306/1.013, allocations: 1.429 MB / 0.7294 GB, free: 76.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/1.013, allocations: 16 kB / 0.7294 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.024, allocations: 5.743 MB / 0.735 GB, free: 70.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.024, allocations: 7.984 kB / 0.735 GB, free: 70.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/1.036, allocations: 4.71 MB / 0.7396 GB, free: 65.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/1.036, allocations: 227.3 kB / 0.7399 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/1.037, allocations: 16 kB / 0.7399 GB, free: 65.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/1.038, allocations: 139.9 kB / 0.74 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005602/1.039, allocations: 180.4 kB / 0.7402 GB, free: 64.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/1.039, allocations: 23.98 kB / 0.7402 GB, free: 64.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001109/1.04, allocations: 0.6935 MB / 0.7409 GB, free: 64.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.04, allocations: 0 / 0.7409 GB, free: 64.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002496/1.042, allocations: 0.6653 MB / 0.7415 GB, free: 63.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * 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.01296/1.055, allocations: 5.374 MB / 0.7468 GB, free: 58.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009415/1.065, allocations: 3.574 MB / 0.7503 GB, free: 54.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.065, allocations: 3.828 kB / 0.7503 GB, free: 54.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003908/1.069, allocations: 1.44 MB / 0.7517 GB, free: 53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.07, allocations: 104.5 kB / 0.7518 GB, free: 52.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/1.075, allocations: 1.918 MB / 0.7536 GB, free: 50.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/1.075, allocations: 1.15 MB / 0.7548 GB, free: 49.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008732/1.076, allocations: 197.3 kB / 0.755 GB, free: 49.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/1.077, allocations: 467.3 kB / 0.7554 GB, free: 49.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/1.077, allocations: 384 / 0.7554 GB, free: 49.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05771/1.134, allocations: 37.88 MB / 0.7924 GB, free: 11.77 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/1.135, allocations: 199.3 kB / 0.7926 GB, free: 11.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.363/4.498, allocations: 3.75 kB / 0.7926 GB, free: 11.54 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)