Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_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.0009963/0.0009963, 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.197/1.197, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.00077/0.00077, allocations: 97.64 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4141/0.4141, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.177e-05, allocations: 11.98 kB / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3146, allocations: 69.35 MB / 0.5481 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4427, allocations: 98.11 MB / 0.6439 GB, free: 2.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.443, allocations: 79.95 kB / 0.6439 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08123/0.5243, allocations: 29.95 MB / 0.6732 GB, free: 4.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.5243, allocations: 0 / 0.6732 GB, free: 4.066 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.505e-05/0.5244, allocations: 23.94 kB / 0.6732 GB, free: 4.043 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.003995/0.5284, allocations: 1.691 MB / 0.6749 GB, free: 2.289 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5284, allocations: 11.97 kB / 0.6749 GB, free: 2.277 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.5286, allocations: 130.5 kB / 0.675 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.5318, allocations: 0.5564 MB / 0.6755 GB, free: 1.582 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.5331, allocations: 0.7761 MB / 0.6763 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.5334, allocations: 234.5 kB / 0.6765 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5335, allocations: 72 kB / 0.6766 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3081/0.8416, allocations: 0.9232 MB / 0.6775 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.8417, allocations: 1.062 kB / 0.6775 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.8418, allocations: 31.72 kB / 0.6775 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.8418, allocations: 16.84 kB / 0.6775 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.8436, allocations: 0.8371 MB / 0.6784 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.007814/0.8514, allocations: 3.842 MB / 0.6821 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/0.8591, allocations: 2.596 MB / 0.6846 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.8605, allocations: 0.5397 MB / 0.6852 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.8607, allocations: 17.22 kB / 0.6852 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.8607, allocations: 45.2 kB / 0.6852 GB, free: 102.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.046e-06/0.8608, allocations: 3.812 kB / 0.6852 GB, free: 102.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01153/0.8723, allocations: 3.894 MB / 0.689 GB, free: 102.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.8724, allocations: 137.1 kB / 0.6892 GB, free: 102.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.8737, allocations: 0.8819 MB / 0.69 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000241/0.8739, allocations: 42.45 kB / 0.6901 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.8742, allocations: 0.509 MB / 0.6906 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.8746, allocations: 331.2 kB / 0.6909 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.8746, allocations: 18.41 kB / 0.6909 GB, free: 101.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.8747, allocations: 337.6 kB / 0.6912 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.8754, allocations: 434.8 kB / 0.6916 GB, free: 101.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007376/0.8762, allocations: 0.5671 MB / 0.6922 GB, free: 101.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.8769, allocations: 0.5291 MB / 0.6927 GB, free: 100.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8769, allocations: 2.938 kB / 0.6927 GB, free: 100.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01108/0.888, allocations: 4.068 MB / 0.6967 GB, free: 99.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002901/0.8883, allocations: 1.203 MB / 0.6979 GB, free: 98.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8884, allocations: 5.781 kB / 0.6979 GB, free: 98.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004701/0.8931, allocations: 1.469 MB / 0.6993 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.894, allocations: 160.4 kB / 0.6995 GB, free: 98.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.9061, allocations: 6.576 MB / 0.7059 GB, free: 94.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.9077, allocations: 192.8 kB / 0.7061 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/0.9079, allocations: 34.81 kB / 0.7061 GB, free: 94.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.9079, allocations: 6.125 kB / 0.7061 GB, free: 94.79 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/0.9186, allocations: 3.938 MB / 0.7099 GB, free: 92.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.9186, allocations: 11.38 kB / 0.71 GB, free: 92.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004466/0.9231, allocations: 1.463 MB / 0.7114 GB, free: 91.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.924, allocations: 157.9 kB / 0.7115 GB, free: 91.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.9354, allocations: 6.571 MB / 0.7179 GB, free: 85.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.937, allocations: 172.5 kB / 0.7181 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.9371, allocations: 35.47 kB / 0.7181 GB, free: 85.28 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.0003161/0.9374, allocations: 197.4 kB / 0.7183 GB, free: 85.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.9376, allocations: 126 kB / 0.7185 GB, free: 84.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.9482, allocations: 3.996 MB / 0.7224 GB, free: 81.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.9483, allocations: 12 kB / 0.7224 GB, free: 81.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.9484, allocations: 7.953 kB / 0.7224 GB, free: 81.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.124e-05/0.9484, allocations: 11.45 kB / 0.7224 GB, free: 81.8 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.01295/0.9614, allocations: 5.618 MB / 0.7279 GB, free: 77.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.9614, allocations: 0 / 0.7279 GB, free: 77.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.9622, allocations: 115.8 kB / 0.728 GB, free: 77.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/0.9664, allocations: 1.414 MB / 0.7294 GB, free: 75.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/0.9667, allocations: 27.98 kB / 0.7294 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.9772, allocations: 5.742 MB / 0.735 GB, free: 69.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.9772, allocations: 0 / 0.735 GB, free: 69.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.9892, allocations: 4.717 MB / 0.7396 GB, free: 65.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.9898, allocations: 219.3 kB / 0.7398 GB, free: 64.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.9902, allocations: 20 kB / 0.7398 GB, free: 64.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.9915, allocations: 139.9 kB / 0.74 GB, free: 64.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005748/0.9921, allocations: 180.4 kB / 0.7401 GB, free: 64.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/0.9922, allocations: 27.62 kB / 0.7402 GB, free: 64.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009865/0.9932, allocations: 0.6817 MB / 0.7408 GB, free: 63.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.9933, allocations: 0 / 0.7408 GB, free: 63.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002233/0.9955, allocations: 0.6683 MB / 0.7415 GB, free: 63.22 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.01229/1.008, allocations: 5.382 MB / 0.7467 GB, free: 57.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00879/1.017, allocations: 3.567 MB / 0.7502 GB, free: 54.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.017, allocations: 3.938 kB / 0.7502 GB, free: 54.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003593/1.02, allocations: 1.439 MB / 0.7516 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/1.021, allocations: 112.9 kB / 0.7517 GB, free: 52.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/1.025, allocations: 1.916 MB / 0.7536 GB, free: 50.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/1.026, allocations: 1.158 MB / 0.7547 GB, free: 49.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000879/1.027, allocations: 196.7 kB / 0.7549 GB, free: 49.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/1.027, allocations: 463.7 kB / 0.7554 GB, free: 48.84 MB / 490.7 MB Notification: Performance of SimCode: time 1.744e-06/1.027, allocations: 0 / 0.7554 GB, free: 48.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05729/1.085, allocations: 37.86 MB / 0.7923 GB, free: 11.52 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/1.085, allocations: 193.7 kB / 0.7925 GB, free: 11.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.04, allocations: 4 kB / 0.7925 GB, free: 11.28 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)