Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.0009263/0.0009264, allocations: 174.5 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.221/1.221, allocations: 221.4 MB / 234.6 MB, free: 14.41 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.0008777/0.0008777, allocations: 99.02 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4438/0.4438, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.764e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 69.51 MB / 0.5492 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4506, allocations: 103.4 MB / 0.6502 GB, free: 12.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4509, allocations: 79.89 kB / 0.6503 GB, free: 12.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5317/0.9825, allocations: 103.3 MB / 0.7512 GB, free: 56.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.9826, allocations: 0 / 0.7512 GB, free: 56.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004284/0.983, allocations: 95.88 kB / 0.7513 GB, free: 56.23 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0189/1.002, allocations: 5.798 MB / 0.757 GB, free: 50.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.002, allocations: 15.91 kB / 0.757 GB, free: 50.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/1.004, allocations: 484.9 kB / 0.7574 GB, free: 49.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/1.02, allocations: 2.791 MB / 0.7602 GB, free: 47.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/1.026, allocations: 2.261 MB / 0.7624 GB, free: 44.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007198/1.027, allocations: 0.9847 MB / 0.7633 GB, free: 43.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007971/1.027, allocations: 343.9 kB / 0.7637 GB, free: 43.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006431/1.034, allocations: 4.116 MB / 0.7677 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.498e-05/1.034, allocations: 3.953 kB / 0.7677 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/1.034, allocations: 136 kB / 0.7678 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/1.034, allocations: 84 kB / 0.7679 GB, free: 38.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005418/1.04, allocations: 3.632 MB / 0.7714 GB, free: 35.27 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.02714/1.067, allocations: 18.7 MB / 0.7897 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009145/1.076, allocations: 4.833 MB / 0.7944 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003472/1.08, allocations: 2.243 MB / 0.7966 GB, free: 8.211 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/1.08, allocations: 70.92 kB / 0.7967 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003927/1.084, allocations: 2.62 MB / 0.7992 GB, free: 5.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=385): time 5.891e-06/1.084, allocations: 0 / 0.7992 GB, free: 5.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=385): time 0.05096/1.135, allocations: 17.62 MB / 0.8164 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/1.135, allocations: 141.8 kB / 0.8166 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004183/1.139, allocations: 2.694 MB / 0.8192 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000927/1.14, allocations: 85.7 kB / 0.8193 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.142, allocations: 2.006 MB / 0.8212 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/1.143, allocations: 1.313 MB / 0.8225 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.144, allocations: 72 kB / 0.8226 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.144, allocations: 453.8 kB / 0.823 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/1.147, allocations: 1.851 MB / 0.8248 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/1.151, allocations: 2.434 MB / 0.8272 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/1.154, allocations: 2.104 MB / 0.8293 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.154, allocations: 8 kB / 0.8293 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05035/1.204, allocations: 17.85 MB / 0.8467 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-05/1.204, allocations: 67.39 kB / 0.8468 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.205, allocations: 16 kB / 0.8468 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02385/1.228, allocations: 7.056 MB / 0.8537 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/1.231, allocations: 0.5539 MB / 0.8542 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05823/1.29, allocations: 27.13 MB / 0.8807 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006379/1.296, allocations: 0.719 MB / 0.8814 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008265/1.297, allocations: 139.9 kB / 0.8815 GB, free: 428 kB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008763/1.298, allocations: 335.1 kB / 0.8819 GB, free: 76 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.299, allocations: 458.3 kB / 0.8823 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3743/1.673, allocations: 18.16 MB / 0.9 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-05/1.674, allocations: 41.77 kB / 0.9001 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.701e-05/1.674, allocations: 30.56 kB / 0.9001 GB, free: 133.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000117/1.674, allocations: 20.11 kB / 0.9001 GB, free: 133.5 MB / 0.573 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.0577/1.731, allocations: 23.17 MB / 0.9227 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/1.732, allocations: 7.25 kB / 0.9228 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002524/1.734, allocations: 391.4 kB / 0.9231 GB, free: 132.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02115/1.755, allocations: 7.027 MB / 0.93 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.756, allocations: 71.59 kB / 0.9301 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04842/1.805, allocations: 24.52 MB / 0.954 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.805, allocations: 3.938 kB / 0.954 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05281/1.858, allocations: 21.03 MB / 0.9745 GB, free: 114.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.86, allocations: 0.565 MB / 0.9751 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/1.861, allocations: 64 kB / 0.9752 GB, free: 114.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/1.866, allocations: 0.5035 MB / 0.9756 GB, free: 113.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003081/1.869, allocations: 0.785 MB / 0.9764 GB, free: 113.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004809/1.869, allocations: 97.42 kB / 0.9765 GB, free: 113.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002965/1.872, allocations: 2.045 MB / 0.9785 GB, free: 111.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.872, allocations: 0 / 0.9785 GB, free: 111.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005954/1.878, allocations: 1.774 MB / 0.9802 GB, free: 109.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05148/1.93, allocations: 21.77 MB / 1.001 GB, free: 91.76 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02161/1.951, allocations: 8.398 MB / 1.01 GB, free: 84.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.951, allocations: 0 / 1.01 GB, free: 84.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01763/1.969, allocations: 6.146 MB / 1.016 GB, free: 78.62 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/1.972, allocations: 312.9 kB / 1.016 GB, free: 78.32 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.988, allocations: 6.76 MB / 1.023 GB, free: 72.29 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.989, allocations: 2.544 MB / 1.025 GB, free: 70.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001515/1.991, allocations: 291.6 kB / 1.025 GB, free: 70.19 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/1.993, allocations: 1.955 MB / 1.027 GB, free: 68.39 MB / 0.573 GB Notification: Performance of SimCode: time 1.733e-06/1.993, allocations: 4 kB / 1.027 GB, free: 68.38 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4754/2.468, allocations: 114.6 MB / 1.139 GB, free: 143.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/2.469, allocations: 193.5 kB / 1.139 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.036/8.505, allocations: 0 / 1.139 GB, free: 143.4 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)