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.001567/0.001567, allocations: 173.9 kB / 7.648 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.387/1.387, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008673/0.0008673, allocations: 94.19 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4782/0.4782, allocations: 78.08 MB / 409.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.03e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1618, allocations: 69.36 MB / 0.5414 GB, free: 6.777 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4115/0.5733, allocations: 98.84 MB / 0.6379 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5736, allocations: 76.56 kB / 0.638 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1865/0.7601, allocations: 68.34 MB / 0.7047 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7602, allocations: 0 / 0.7047 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002102/0.7604, allocations: 55.94 kB / 0.7048 GB, free: 12.02 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01347/0.7739, allocations: 4.019 MB / 0.7087 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.774, allocations: 8.031 kB / 0.7087 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.7846, allocations: 1.596 MB / 0.7103 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004288/0.7889, allocations: 1.631 MB / 0.7119 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007422/0.7897, allocations: 0.6776 MB / 0.7125 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006744/0.7904, allocations: 119.9 kB / 0.7126 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004422/0.7948, allocations: 2.22 MB / 0.7148 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/0.7999, allocations: 2.274 MB / 0.717 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.8, allocations: 3.984 kB / 0.717 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003076/0.8003, allocations: 0 / 0.717 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.8004, allocations: 52 kB / 0.7171 GB, free: 15.08 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.02118/0.8215, allocations: 9.572 MB / 0.7264 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009976/0.8316, allocations: 4.087 MB / 0.7304 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.8343, allocations: 1.465 MB / 0.7318 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.8347, allocations: 41.88 kB / 0.7319 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003163/0.8378, allocations: 1.714 MB / 0.7336 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 6.092e-06/0.8379, allocations: 0 / 0.7336 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.03936/0.8772, allocations: 12.31 MB / 0.7456 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.8774, allocations: 188.8 kB / 0.7458 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.88, allocations: 1.7 MB / 0.7474 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005745/0.8806, allocations: 25.7 kB / 0.7474 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008298/0.8814, allocations: 1.203 MB / 0.7486 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009157/0.8824, allocations: 0.8197 MB / 0.7494 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.8826, allocations: 4 kB / 0.7494 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8827, allocations: 396 kB / 0.7498 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.8847, allocations: 1.2 MB / 0.751 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.8869, allocations: 1.502 MB / 0.7524 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.889, allocations: 1.326 MB / 0.7537 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.8891, allocations: 4 kB / 0.7537 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.3112/1.2, allocations: 12.27 MB / 0.7657 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/1.2, allocations: 117.9 kB / 0.7658 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.2, allocations: 10.42 kB / 0.7658 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0158/1.216, allocations: 4.959 MB / 0.7707 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/1.219, allocations: 412.9 kB / 0.7711 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04008/1.259, allocations: 17.6 MB / 0.7883 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/1.263, allocations: 499.1 kB / 0.7887 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/1.263, allocations: 87.12 kB / 0.7888 GB, free: 111.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 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.0008046/1.264, allocations: 205.5 kB / 0.789 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03975/1.304, allocations: 12.33 MB / 0.8011 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.305, allocations: 299.4 kB / 0.8013 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03903/1.344, allocations: 12.6 MB / 0.8137 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/1.344, allocations: 26.39 kB / 0.8137 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/1.344, allocations: 21.72 kB / 0.8137 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.41e-05/1.345, allocations: 11.91 kB / 0.8137 GB, free: 110.1 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.03985/1.384, allocations: 15.92 MB / 0.8293 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.384, allocations: 1.125 kB / 0.8293 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.386, allocations: 247.4 kB / 0.8295 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01476/1.401, allocations: 4.97 MB / 0.8344 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006313/1.401, allocations: 14.52 kB / 0.8344 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03692/1.438, allocations: 19.02 MB / 0.8529 GB, free: 96.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.438, allocations: 2.812 kB / 0.8529 GB, free: 96.85 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03891/1.477, allocations: 14.57 MB / 0.8672 GB, free: 88.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.479, allocations: 414.1 kB / 0.8676 GB, free: 88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/1.481, allocations: 4 kB / 0.8676 GB, free: 88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004318/1.485, allocations: 369.4 kB / 0.8679 GB, free: 87.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002567/1.487, allocations: 0.5763 MB / 0.8685 GB, free: 87.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004284/1.488, allocations: 68.62 kB / 0.8685 GB, free: 87.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002168/1.49, allocations: 1.269 MB / 0.8698 GB, free: 86.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.49, allocations: 0 / 0.8698 GB, free: 86.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004679/1.495, allocations: 1.005 MB / 0.8708 GB, free: 85.23 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.03948/1.534, allocations: 15.31 MB / 0.8857 GB, free: 72.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.548, allocations: 5.552 MB / 0.8911 GB, free: 67.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.548, allocations: 192 / 0.8911 GB, free: 67.47 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01149/1.56, allocations: 4.254 MB / 0.8953 GB, free: 63.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.561, allocations: 193.2 kB / 0.8955 GB, free: 63.49 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/1.569, allocations: 4.289 MB / 0.8997 GB, free: 59.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.57, allocations: 1.859 MB / 0.9015 GB, free: 58.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009471/1.571, allocations: 215.2 kB / 0.9017 GB, free: 58.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.572, allocations: 1.2 MB / 0.9029 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of SimCode: time 6.22e-07/1.572, allocations: 0 / 0.9029 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.676, allocations: 73.81 MB / 0.9749 GB, free: 5.188 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.676, allocations: 141.3 kB / 0.9751 GB, free: 4.996 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.647/6.323, allocations: 32 / 0.9751 GB, free: 4.996 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)