Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_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.001651/0.001651, allocations: 180.9 kB / 7.65 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.32/1.32, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.000894/0.000894, allocations: 87.55 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4788/0.4788, allocations: 78.95 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.56e-05, allocations: 0 / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 69.52 MB / 0.5425 GB, free: 5.793 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5384, allocations: 100.8 MB / 0.641 GB, free: 13.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.5387, allocations: 76.8 kB / 0.641 GB, free: 13.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1862/0.7249, allocations: 70.54 MB / 0.7099 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/0.725, allocations: 0 / 0.7099 GB, free: 6.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001812/0.7251, allocations: 57.25 kB / 0.71 GB, free: 6.445 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01263/0.7378, allocations: 4.073 MB / 0.714 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7378, allocations: 12.03 kB / 0.714 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.7479, allocations: 1.604 MB / 0.7155 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.7516, allocations: 1.659 MB / 0.7171 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000674/0.7523, allocations: 0.682 MB / 0.7178 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.7527, allocations: 123.9 kB / 0.7179 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004079/0.7568, allocations: 2.23 MB / 0.7201 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.7609, allocations: 2.302 MB / 0.7224 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.761, allocations: 3.953 kB / 0.7224 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.7612, allocations: 0 / 0.7224 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.7613, allocations: 48 kB / 0.7224 GB, free: 9.371 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01837/0.7796, allocations: 9.664 MB / 0.7318 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009431/0.7891, allocations: 4.138 MB / 0.7359 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.7915, allocations: 1.481 MB / 0.7373 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.7918, allocations: 41.95 kB / 0.7374 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002873/0.7947, allocations: 1.741 MB / 0.7391 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=250): time 3.727e-06/0.7947, allocations: 0 / 0.7391 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=250): time 0.03813/0.8329, allocations: 12.35 MB / 0.7511 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.833, allocations: 184.2 kB / 0.7513 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.8362, allocations: 1.733 MB / 0.753 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006976/0.837, allocations: 29.77 kB / 0.753 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009516/0.8379, allocations: 1.215 MB / 0.7542 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.8392, allocations: 0.8318 MB / 0.755 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.8394, allocations: 0 / 0.755 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.8397, allocations: 395 kB / 0.7554 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.8419, allocations: 1.231 MB / 0.7566 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.8443, allocations: 1.519 MB / 0.7581 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.8466, allocations: 1.346 MB / 0.7594 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.8466, allocations: 4.844 kB / 0.7594 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.3658/1.212, allocations: 12.37 MB / 0.7715 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/1.213, allocations: 121.8 kB / 0.7716 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/1.213, allocations: 12.7 kB / 0.7716 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01686/1.23, allocations: 5.066 MB / 0.7766 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/1.232, allocations: 412.4 kB / 0.777 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04426/1.276, allocations: 18.88 MB / 0.7954 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/1.281, allocations: 498.5 kB / 0.7959 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005009/1.281, allocations: 90.06 kB / 0.796 GB, free: 110.4 MB / 0.5573 GB 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.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 (229): * Single equations (assignments): 223 * 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: 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007014/1.282, allocations: 216.6 kB / 0.7962 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0406/1.323, allocations: 12.37 MB / 0.8082 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001766/1.325, allocations: 299 kB / 0.8085 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0361/1.361, allocations: 12.65 MB / 0.8209 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/1.361, allocations: 22.34 kB / 0.8209 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.161e-05/1.361, allocations: 18.81 kB / 0.8209 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.806e-05/1.361, allocations: 17.11 kB / 0.8209 GB, free: 108.6 MB / 0.5573 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.0427/1.404, allocations: 16.03 MB / 0.8366 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/1.404, allocations: 2.625 kB / 0.8366 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.406, allocations: 254.5 kB / 0.8368 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01489/1.42, allocations: 4.952 MB / 0.8417 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008309/1.421, allocations: 14.84 kB / 0.8417 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03704/1.458, allocations: 19 MB / 0.8602 GB, free: 93.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.458, allocations: 4 kB / 0.8602 GB, free: 93.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03931/1.498, allocations: 14.65 MB / 0.8745 GB, free: 81.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.499, allocations: 423.9 kB / 0.8749 GB, free: 80.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.5, allocations: 4 kB / 0.8749 GB, free: 80.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003617/1.504, allocations: 368.8 kB / 0.8753 GB, free: 80.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002166/1.506, allocations: 0.5814 MB / 0.8759 GB, free: 80.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000314/1.506, allocations: 68.45 kB / 0.8759 GB, free: 80.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00203/1.508, allocations: 1.296 MB / 0.8772 GB, free: 79.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.508, allocations: 0 / 0.8772 GB, free: 79.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004439/1.513, allocations: 1.022 MB / 0.8782 GB, free: 78.11 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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.03839/1.551, allocations: 15.39 MB / 0.8932 GB, free: 65.33 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.565, allocations: 5.749 MB / 0.8988 GB, free: 60.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.565, allocations: 0 / 0.8988 GB, free: 60.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.577, allocations: 4.283 MB / 0.903 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/1.579, allocations: 185.2 kB / 0.9032 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.589, allocations: 4.562 MB / 0.9077 GB, free: 51.97 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.59, allocations: 1.877 MB / 0.9095 GB, free: 50.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001071/1.591, allocations: 211 kB / 0.9097 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.593, allocations: 1.216 MB / 0.9109 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/1.593, allocations: 0 / 0.9109 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3857/1.979, allocations: 74.88 MB / 0.984 GB, free: 122.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/1.979, allocations: 144.6 kB / 0.9841 GB, free: 122.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.636/6.615, allocations: 3.375 kB / 0.9841 GB, free: 122.2 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)