Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008041/0.0008042, allocations: 80.88 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06284/0.06284, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2999/0.2999, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.992e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 69.23 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.481, allocations: 102.4 MB / 0.689 GB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4812, allocations: 76.7 kB / 0.689 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1715/0.6528, allocations: 68.68 MB / 0.7561 GB, free: 3.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6528, allocations: 0 / 0.7561 GB, free: 3.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001495/0.653, allocations: 59.88 kB / 0.7562 GB, free: 3.672 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01148/0.6645, allocations: 4.08 MB / 0.7601 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6645, allocations: 15.98 kB / 0.7602 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005823/0.6651, allocations: 299.3 kB / 0.7604 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009433/0.6746, allocations: 1.611 MB / 0.762 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/0.6784, allocations: 1.67 MB / 0.7637 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007584/0.6792, allocations: 0.7486 MB / 0.7644 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006435/0.6799, allocations: 204 kB / 0.7646 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004848/0.6847, allocations: 2.584 MB / 0.7671 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.6848, allocations: 3.938 kB / 0.7671 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.6851, allocations: 91.98 kB / 0.7672 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.6851, allocations: 48 kB / 0.7672 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.6892, allocations: 2.336 MB / 0.7695 GB, free: 5.617 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 preOpt removeSimpleEquations (simulation): time 0.0174/0.7066, allocations: 10.01 MB / 0.7793 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009262/0.7159, allocations: 4.223 MB / 0.7834 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.7181, allocations: 1.543 MB / 0.7849 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.7184, allocations: 45.95 kB / 0.785 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002723/0.7211, allocations: 1.815 MB / 0.7867 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 4.017e-06/0.7212, allocations: 3.938 kB / 0.7867 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.03715/0.7583, allocations: 12.59 MB / 0.799 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.7584, allocations: 180.2 kB / 0.7992 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.7613, allocations: 1.895 MB / 0.8011 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005617/0.7619, allocations: 69.7 kB / 0.8011 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007995/0.7627, allocations: 1.22 MB / 0.8023 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009025/0.7636, allocations: 0.8547 MB / 0.8032 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.7638, allocations: 52 kB / 0.8032 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7639, allocations: 403 kB / 0.8036 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.7661, allocations: 1.274 MB / 0.8048 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.7685, allocations: 1.586 MB / 0.8064 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002287/0.7708, allocations: 1.506 MB / 0.8078 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.7708, allocations: 0 / 0.8078 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03744/0.8082, allocations: 12.72 MB / 0.8203 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.8084, allocations: 118.8 kB / 0.8204 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.8084, allocations: 8 kB / 0.8204 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01716/0.8256, allocations: 5.35 MB / 0.8256 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.8283, allocations: 411.4 kB / 0.826 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04157/0.8699, allocations: 19.25 MB / 0.8448 GB, free: 7.246 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/0.8746, allocations: 0.5484 MB / 0.8453 GB, free: 6.695 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/0.8749, allocations: 91.97 kB / 0.8454 GB, free: 6.605 MB / 0.573 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.0006547/0.8756, allocations: 292.8 kB / 0.8457 GB, free: 6.305 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005615/0.8762, allocations: 304.2 kB / 0.846 GB, free: 6.004 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03708/0.9133, allocations: 12.95 MB / 0.8586 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.9133, allocations: 35.89 kB / 0.8587 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/0.9134, allocations: 20 kB / 0.8587 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.538e-05/0.9134, allocations: 11.95 kB / 0.8587 GB, free: 8.895 MB / 0.5886 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.327/1.24, allocations: 16.51 MB / 0.8748 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.241, allocations: 1.062 kB / 0.8748 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.242, allocations: 250.8 kB / 0.8751 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01628/1.258, allocations: 5 MB / 0.88 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005792/1.259, allocations: 54.33 kB / 0.88 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0362/1.295, allocations: 19.31 MB / 0.8989 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.295, allocations: 2.906 kB / 0.8989 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03765/1.333, allocations: 14.92 MB / 0.9134 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.334, allocations: 425.6 kB / 0.9139 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005411/1.335, allocations: 46.09 kB / 0.9139 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/1.338, allocations: 414 kB / 0.9143 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001931/1.34, allocations: 0.5829 MB / 0.9149 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.34, allocations: 66.17 kB / 0.9149 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0018/1.342, allocations: 1.45 MB / 0.9163 GB, free: 149.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.342, allocations: 0.7656 kB / 0.9163 GB, free: 149.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002969/1.345, allocations: 1.13 MB / 0.9174 GB, free: 149.6 MB / 0.5886 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.03802/1.383, allocations: 15.7 MB / 0.9328 GB, free: 145 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.396, allocations: 5.927 MB / 0.9386 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.396, allocations: 0 / 0.9386 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/1.407, allocations: 4.393 MB / 0.9429 GB, free: 139.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.409, allocations: 229.6 kB / 0.9431 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/1.418, allocations: 4.758 MB / 0.9477 GB, free: 135 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.419, allocations: 1.88 MB / 0.9496 GB, free: 133.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009207/1.42, allocations: 214.6 kB / 0.9498 GB, free: 133.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/1.421, allocations: 1.22 MB / 0.951 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of SimCode: time 3.606e-06/1.421, allocations: 0 / 0.951 GB, free: 132.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09918/1.52, allocations: 79.8 MB / 1.029 GB, free: 65.55 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/1.521, allocations: 188.9 kB / 1.029 GB, free: 65.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.046/6.567, allocations: 0 / 1.029 GB, free: 65.33 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)