Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",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.00107/0.00107, 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.241/1.241, allocations: 221.5 MB / 229.6 MB, free: 3.191 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.0009103/0.0009102, allocations: 96.52 kB / 280.5 MB, free: 1.164 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4876/0.4876, allocations: 78.95 MB / 410.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.994e-05, allocations: 3.984 kB / 486 MB, free: 3.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3227, allocations: 69.5 MB / 0.5425 GB, free: 21.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.441, allocations: 100.4 MB / 0.6406 GB, free: 3.309 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4412, allocations: 83.94 kB / 0.6406 GB, free: 3.227 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4536/0.8948, allocations: 67.85 MB / 0.7069 GB, free: 97.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8949, allocations: 0 / 0.7069 GB, free: 97.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000157/0.895, allocations: 61.22 kB / 0.7069 GB, free: 97.14 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01104/0.9061, allocations: 4.053 MB / 0.7109 GB, free: 94.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9062, allocations: 12.36 kB / 0.7109 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009796/0.916, allocations: 1.595 MB / 0.7125 GB, free: 93.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.9201, allocations: 1.658 MB / 0.7141 GB, free: 92.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005104/0.9206, allocations: 0.6178 MB / 0.7147 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.921, allocations: 128.5 kB / 0.7148 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003729/0.9248, allocations: 2.239 MB / 0.717 GB, free: 91.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.9283, allocations: 2.295 MB / 0.7192 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.644e-05/0.9284, allocations: 4 kB / 0.7193 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.9286, allocations: 0 / 0.7193 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.9286, allocations: 48 kB / 0.7193 GB, free: 88.63 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.01715/0.9458, allocations: 9.785 MB / 0.7289 GB, free: 78.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/0.9536, allocations: 3.974 MB / 0.7327 GB, free: 74.42 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/0.9559, allocations: 1.487 MB / 0.7342 GB, free: 72.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/0.9562, allocations: 45 kB / 0.7342 GB, free: 72.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.9563, allocations: 64.5 kB / 0.7343 GB, free: 72.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.629e-06/0.9563, allocations: 0 / 0.7343 GB, free: 72.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03315/0.9895, allocations: 12.09 MB / 0.7461 GB, free: 60.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.9896, allocations: 235.6 kB / 0.7463 GB, free: 60.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.9921, allocations: 1.733 MB / 0.748 GB, free: 58.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006533/0.9928, allocations: 25.7 kB / 0.748 GB, free: 58.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.9934, allocations: 1.208 MB / 0.7492 GB, free: 57.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.9946, allocations: 0.8158 MB / 0.75 GB, free: 56.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.9948, allocations: 0 / 0.75 GB, free: 56.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.9949, allocations: 394.7 kB / 0.7504 GB, free: 56.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.9967, allocations: 1.192 MB / 0.7516 GB, free: 55.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.9985, allocations: 1.5 MB / 0.753 GB, free: 53.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/1, allocations: 1.324 MB / 0.7543 GB, free: 52.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/1, allocations: 0 / 0.7543 GB, free: 52.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03256/1.033, allocations: 12.22 MB / 0.7662 GB, free: 39.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005047/1.034, allocations: 2.868 MB / 0.769 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/1.034, allocations: 7.984 kB / 0.7691 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01473/1.048, allocations: 4.935 MB / 0.7739 GB, free: 31.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/1.05, allocations: 371.5 kB / 0.7742 GB, free: 31.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03448/1.085, allocations: 18.52 MB / 0.7923 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0041/1.089, allocations: 477.8 kB / 0.7928 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.089, allocations: 83.98 kB / 0.7928 GB, free: 12.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.089, allocations: 5.719 kB / 0.7929 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03202/1.121, allocations: 11.89 MB / 0.8045 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.832e-05/1.121, allocations: 11.98 kB / 0.8045 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01555/1.137, allocations: 4.947 MB / 0.8093 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/1.139, allocations: 359.5 kB / 0.8096 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03889/1.178, allocations: 18.5 MB / 0.8277 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/1.182, allocations: 457.9 kB / 0.8281 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/1.182, allocations: 87.97 kB / 0.8282 GB, free: 7.547 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: 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 Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006998/1.183, allocations: 209 kB / 0.8284 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03621/1.219, allocations: 12.1 MB / 0.8402 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001488/1.22, allocations: 300.3 kB / 0.8405 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03722/1.258, allocations: 12.39 MB / 0.8526 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/1.258, allocations: 24 kB / 0.8527 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/1.258, allocations: 23.95 kB / 0.8527 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.111e-05/1.258, allocations: 11.95 kB / 0.8527 GB, free: 14.43 MB / 0.5417 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.04313/1.301, allocations: 15.94 MB / 0.8683 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/1.301, allocations: 0 / 0.8683 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/1.303, allocations: 279.6 kB / 0.8685 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01442/1.317, allocations: 4.775 MB / 0.8732 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005837/1.318, allocations: 16 kB / 0.8732 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03304/1.351, allocations: 15.19 MB / 0.888 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.351, allocations: 0 / 0.888 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3383/1.689, allocations: 14.34 MB / 0.902 GB, free: 166.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.69, allocations: 412.1 kB / 0.9024 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007391/1.691, allocations: 7.875 kB / 0.9024 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/1.694, allocations: 360.8 kB / 0.9028 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001798/1.696, allocations: 0.5569 MB / 0.9033 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.696, allocations: 62.41 kB / 0.9034 GB, free: 166.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002372/1.699, allocations: 1.299 MB / 0.9047 GB, free: 166.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.6e-07/1.699, allocations: 1.125 kB / 0.9047 GB, free: 166.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005529/1.704, allocations: 1.62 MB / 0.9062 GB, free: 166.3 MB / 0.573 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03743/1.742, allocations: 15.09 MB / 0.921 GB, free: 165.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02363/1.765, allocations: 10.03 MB / 0.9308 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.766, allocations: 0 / 0.9308 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/1.776, allocations: 3.976 MB / 0.9346 GB, free: 162.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/1.778, allocations: 196.1 kB / 0.9348 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/1.786, allocations: 4.643 MB / 0.9394 GB, free: 161 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.787, allocations: 1.91 MB / 0.9412 GB, free: 160.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001691/1.789, allocations: 460.2 kB / 0.9417 GB, free: 160.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.79, allocations: 1.183 MB / 0.9428 GB, free: 159.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/1.79, allocations: 0 / 0.9428 GB, free: 159.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/1.914, allocations: 94.7 MB / 1.035 GB, free: 78.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.914, allocations: 152.1 kB / 1.035 GB, free: 78.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.278/7.193, allocations: 0 / 1.035 GB, free: 78.1 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)