Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.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.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.00105/0.00105, allocations: 175.1 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.224/1.224, 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.0008449/0.000845, allocations: 84.59 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.44/0.44, allocations: 78.03 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.947e-05, allocations: 7.984 kB / 491.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3257, allocations: 69.34 MB / 0.548 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4429, allocations: 99.51 MB / 0.6452 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.4432, allocations: 79.97 kB / 0.6453 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4749/0.9181, allocations: 69.19 MB / 0.7129 GB, free: 95.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.9181, allocations: 0 / 0.7129 GB, free: 95.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.9183, allocations: 59.88 kB / 0.7129 GB, free: 95.71 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01258/0.9309, allocations: 4.02 MB / 0.7169 GB, free: 91.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.931, allocations: 11.97 kB / 0.7169 GB, free: 91.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009473/0.9319, allocations: 307.2 kB / 0.7172 GB, free: 91.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009748/0.9417, allocations: 1.607 MB / 0.7187 GB, free: 89.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/0.9455, allocations: 1.619 MB / 0.7203 GB, free: 87.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/0.9462, allocations: 0.7486 MB / 0.721 GB, free: 87.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006599/0.9468, allocations: 211.9 kB / 0.7212 GB, free: 86.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/0.9513, allocations: 2.556 MB / 0.7237 GB, free: 84.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.9514, allocations: 0 / 0.7237 GB, free: 84.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/0.9516, allocations: 84 kB / 0.7238 GB, free: 84.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.9517, allocations: 52 kB / 0.7239 GB, free: 84.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.9554, allocations: 2.32 MB / 0.7261 GB, free: 81.82 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.0177/0.9731, allocations: 9.912 MB / 0.7358 GB, free: 71.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009061/0.9822, allocations: 4.187 MB / 0.7399 GB, free: 67.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/0.9847, allocations: 1.533 MB / 0.7414 GB, free: 65.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.985, allocations: 37.97 kB / 0.7414 GB, free: 65.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002544/0.9876, allocations: 1.784 MB / 0.7432 GB, free: 63.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 3.917e-06/0.9876, allocations: 4 kB / 0.7432 GB, free: 63.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.03521/1.023, allocations: 12.55 MB / 0.7554 GB, free: 51.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.023, allocations: 188.1 kB / 0.7556 GB, free: 50.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/1.026, allocations: 1.854 MB / 0.7574 GB, free: 49.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006812/1.026, allocations: 69.7 kB / 0.7575 GB, free: 49.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/1.027, allocations: 1.208 MB / 0.7587 GB, free: 47.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/1.028, allocations: 0.8548 MB / 0.7595 GB, free: 46.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.028, allocations: 48.06 kB / 0.7596 GB, free: 46.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/1.028, allocations: 398.9 kB / 0.7599 GB, free: 46.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.03, allocations: 1.255 MB / 0.7612 GB, free: 45.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/1.032, allocations: 1.559 MB / 0.7627 GB, free: 43.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/1.035, allocations: 1.477 MB / 0.7641 GB, free: 42.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.035, allocations: 0 / 0.7641 GB, free: 42.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03456/1.069, allocations: 12.61 MB / 0.7764 GB, free: 29.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/1.069, allocations: 114.8 kB / 0.7766 GB, free: 29.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.069, allocations: 8 kB / 0.7766 GB, free: 29.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/1.085, allocations: 5.152 MB / 0.7816 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/1.087, allocations: 419.4 kB / 0.782 GB, free: 23.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03615/1.123, allocations: 17.94 MB / 0.7995 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/1.128, allocations: 0.5406 MB / 0.8 GB, free: 4.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004209/1.128, allocations: 87.97 kB / 0.8001 GB, free: 4.906 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0005765/1.129, allocations: 295.3 kB / 0.8004 GB, free: 4.602 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006139/1.129, allocations: 296.3 kB / 0.8007 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03716/1.166, allocations: 12.89 MB / 0.8133 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/1.166, allocations: 31.98 kB / 0.8133 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.71e-05/1.166, allocations: 20 kB / 0.8133 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.821e-05/1.167, allocations: 11.95 kB / 0.8133 GB, free: 7.297 MB / 0.4948 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.04535/1.212, allocations: 16.43 MB / 0.8294 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.212, allocations: 0 / 0.8294 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.214, allocations: 251.6 kB / 0.8296 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01628/1.23, allocations: 5.008 MB / 0.8345 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006914/1.231, allocations: 51.98 kB / 0.8346 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03909/1.27, allocations: 19.32 MB / 0.8534 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.27, allocations: 0 / 0.8534 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.044/1.314, allocations: 14.85 MB / 0.8679 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.315, allocations: 412.9 kB / 0.8683 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007988/1.316, allocations: 48 kB / 0.8684 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/1.32, allocations: 411.6 kB / 0.8688 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002383/1.322, allocations: 0.5797 MB / 0.8693 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002902/1.323, allocations: 63.98 kB / 0.8694 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002213/1.325, allocations: 1.421 MB / 0.8708 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.325, allocations: 4 kB / 0.8708 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00346/1.328, allocations: 1.116 MB / 0.8719 GB, free: 10.58 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04191/1.37, allocations: 15.61 MB / 0.8871 GB, free: 10.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0149/1.385, allocations: 5.733 MB / 0.8927 GB, free: 5.023 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.385, allocations: 4.062 kB / 0.8927 GB, free: 5.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/1.397, allocations: 4.37 MB / 0.897 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.399, allocations: 224.9 kB / 0.8972 GB, free: 368 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2733/1.672, allocations: 4.483 MB / 0.9016 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/1.673, allocations: 1.867 MB / 0.9034 GB, free: 175.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001034/1.675, allocations: 211.2 kB / 0.9036 GB, free: 175.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/1.676, allocations: 1.203 MB / 0.9048 GB, free: 175.9 MB / 0.573 GB Notification: Performance of SimCode: time 7.21e-07/1.676, allocations: 1.812 kB / 0.9048 GB, free: 175.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/1.792, allocations: 78.65 MB / 0.9816 GB, free: 126.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/1.793, allocations: 186.5 kB / 0.9818 GB, free: 126 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.362/6.154, allocations: 0 / 0.9818 GB, free: 126 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)