Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.00163/0.001629, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.0009448, allocations: 101.1 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4713/0.4713, allocations: 78.13 MB / 409.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.332e-05/2.345e-05, allocations: 3.938 kB / 485.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 69.37 MB / 0.5414 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.5437, allocations: 98.74 MB / 0.6378 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5439, allocations: 80.8 kB / 0.6379 GB, free: 0.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08786/0.6318, allocations: 32.2 MB / 0.6694 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6318, allocations: 3.938 kB / 0.6694 GB, free: 0.543 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.229e-05/0.6319, allocations: 28 kB / 0.6694 GB, free: 0.5156 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00423/0.6361, allocations: 1.76 MB / 0.6711 GB, free: 14.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6362, allocations: 8.031 kB / 0.6711 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.6396, allocations: 0.5666 MB / 0.6717 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.641, allocations: 0.7903 MB / 0.6725 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.6412, allocations: 240.1 kB / 0.6727 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.6414, allocations: 47.91 kB / 0.6727 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00145/0.6429, allocations: 0.824 MB / 0.6735 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.6443, allocations: 0.8446 MB / 0.6744 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6443, allocations: 0 / 0.6744 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.6444, allocations: 0 / 0.6744 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6445, allocations: 16 kB / 0.6744 GB, free: 11.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.006443/0.6509, allocations: 3.771 MB / 0.6781 GB, free: 7.324 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007334/0.6583, allocations: 2.642 MB / 0.6806 GB, free: 4.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008023/0.6591, allocations: 0.5279 MB / 0.6812 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.6592, allocations: 25.41 kB / 0.6812 GB, free: 4.035 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.6603, allocations: 0.657 MB / 0.6818 GB, free: 3.359 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.076e-06/0.6603, allocations: 0 / 0.6818 GB, free: 3.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.01252/0.6728, allocations: 3.961 MB / 0.6857 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.279e-05/0.6729, allocations: 119.5 kB / 0.6858 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.6744, allocations: 0.859 MB / 0.6866 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.6745, allocations: 25.7 kB / 0.6867 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.6749, allocations: 0.5257 MB / 0.6872 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.6753, allocations: 338.9 kB / 0.6875 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.6754, allocations: 3.938 kB / 0.6875 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6755, allocations: 349.9 kB / 0.6878 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007617/0.6763, allocations: 458.6 kB / 0.6883 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008214/0.6771, allocations: 0.581 MB / 0.6888 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.6779, allocations: 0.5008 MB / 0.6893 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6779, allocations: 4 kB / 0.6893 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01238/0.6903, allocations: 4.053 MB / 0.6933 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.6904, allocations: 59.41 kB / 0.6934 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6904, allocations: 4 kB / 0.6934 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005912/0.6963, allocations: 1.594 MB / 0.6949 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6974, allocations: 179.7 kB / 0.6951 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.7124, allocations: 7.887 MB / 0.7028 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.7143, allocations: 187 kB / 0.703 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.7144, allocations: 39.98 kB / 0.703 GB, free: 13.28 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * 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 (99): * Single equations (assignments): 95 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.7148, allocations: 160.5 kB / 0.7032 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0124/0.7272, allocations: 3.962 MB / 0.707 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000702/0.7279, allocations: 130.4 kB / 0.7071 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.7403, allocations: 4.087 MB / 0.7111 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.7404, allocations: 12 kB / 0.7112 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.7404, allocations: 8 kB / 0.7112 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/0.7404, allocations: 3.984 kB / 0.7112 GB, free: 4.875 MB / 0.5105 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.01466/0.7551, allocations: 5.581 MB / 0.7166 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.7552, allocations: 4 kB / 0.7166 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.756, allocations: 107.8 kB / 0.7167 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/0.7609, allocations: 1.49 MB / 0.7182 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002373/0.7612, allocations: 11.98 kB / 0.7182 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.775, allocations: 7.519 MB / 0.7255 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.7751, allocations: 7.953 kB / 0.7255 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.7888, allocations: 4.855 MB / 0.7303 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/0.7894, allocations: 223.3 kB / 0.7305 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.7896, allocations: 4 kB / 0.7305 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.7909, allocations: 130.5 kB / 0.7306 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005877/0.7915, allocations: 205 kB / 0.7308 GB, free: 368 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.7916, allocations: 20.94 kB / 0.7308 GB, free: 348 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009189/0.7925, allocations: 0.6575 MB / 0.7315 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7925, allocations: 0 / 0.7315 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001359/0.7939, allocations: 407.4 kB / 0.7319 GB, free: 15.28 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01373/0.8076, allocations: 5.501 MB / 0.7372 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005495/0.8132, allocations: 2.171 MB / 0.7394 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.8132, allocations: 0 / 0.7394 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.8174, allocations: 1.564 MB / 0.7409 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.8187, allocations: 96 kB / 0.741 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.8235, allocations: 2.052 MB / 0.743 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.8243, allocations: 1.163 MB / 0.7441 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000551/0.8249, allocations: 94.75 kB / 0.7442 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.8257, allocations: 491.3 kB / 0.7447 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of SimCode: time 1.482e-06/0.8257, allocations: 0 / 0.7447 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3351/1.161, allocations: 29.74 MB / 0.7737 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.161, allocations: 157.1 kB / 0.7739 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/4.093, allocations: 0 / 0.7739 GB, free: 146.9 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)