Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.001313/0.001313, 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.586 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.0009423/0.000942, allocations: 93.64 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4503/0.4503, allocations: 78.93 MB / 410.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.716e-05, allocations: 7.984 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.5249, allocations: 98.81 MB / 0.639 GB, free: 15.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.5252, allocations: 79.95 kB / 0.6391 GB, free: 15.06 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.6278, allocations: 36.61 MB / 0.6749 GB, free: 10.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6278, allocations: 0 / 0.6749 GB, free: 10.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000137/0.628, allocations: 27.94 kB / 0.6749 GB, free: 10.41 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005212/0.6332, allocations: 1.699 MB / 0.6765 GB, free: 8.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6333, allocations: 8.031 kB / 0.6765 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.637, allocations: 0.5641 MB / 0.6771 GB, free: 8.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.6392, allocations: 0.78 MB / 0.6779 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.6396, allocations: 240.2 kB / 0.6781 GB, free: 6.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/0.64, allocations: 47.91 kB / 0.6781 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001896/0.6419, allocations: 0.7967 MB / 0.6789 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.6438, allocations: 0.8328 MB / 0.6797 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6439, allocations: 0 / 0.6797 GB, free: 5.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/0.644, allocations: 4.922 kB / 0.6797 GB, free: 5.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.644, allocations: 20 kB / 0.6798 GB, free: 5.27 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.00811/0.6521, allocations: 3.693 MB / 0.6834 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007628/0.6598, allocations: 2.611 MB / 0.6859 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.6609, allocations: 0.5117 MB / 0.6864 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.6611, allocations: 16.77 kB / 0.6864 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.6625, allocations: 0.6488 MB / 0.6871 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 4.559e-06/0.6625, allocations: 0 / 0.6871 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01292/0.6754, allocations: 3.923 MB / 0.6909 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.6755, allocations: 119.5 kB / 0.691 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.6772, allocations: 0.8028 MB / 0.6918 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002617/0.6775, allocations: 29.7 kB / 0.6918 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.678, allocations: 0.5127 MB / 0.6923 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/0.6786, allocations: 335.1 kB / 0.6926 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.6787, allocations: 0 / 0.6926 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6789, allocations: 353.8 kB / 0.693 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.6799, allocations: 438.6 kB / 0.6934 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.6811, allocations: 0.5543 MB / 0.6939 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.6822, allocations: 494.2 kB / 0.6944 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.6822, allocations: 0 / 0.6944 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0136/0.6958, allocations: 3.951 MB / 0.6983 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/0.696, allocations: 63.39 kB / 0.6983 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.696, allocations: 7.938 kB / 0.6983 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005737/0.7017, allocations: 1.502 MB / 0.6998 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.7029, allocations: 188.5 kB / 0.7 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.7177, allocations: 6.546 MB / 0.7064 GB, free: 9.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.7199, allocations: 191 kB / 0.7066 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003403/0.7202, allocations: 35.98 kB / 0.7066 GB, free: 9.234 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006939/0.721, allocations: 164 kB / 0.7067 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01289/0.7339, allocations: 3.934 MB / 0.7106 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/0.7345, allocations: 123.8 kB / 0.7107 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.7474, allocations: 4.035 MB / 0.7146 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.7475, allocations: 8 kB / 0.7147 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/0.7475, allocations: 8 kB / 0.7147 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.311e-05/0.7475, allocations: 3.984 kB / 0.7147 GB, free: 0.9141 MB / 0.5105 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.0154/0.763, allocations: 5.505 MB / 0.72 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.763, allocations: 4 kB / 0.72 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.7637, allocations: 103.9 kB / 0.7201 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004964/0.7687, allocations: 1.481 MB / 0.7216 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/0.7689, allocations: 8 kB / 0.7216 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.783, allocations: 7.529 MB / 0.7289 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.7831, allocations: 0 / 0.7289 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.7968, allocations: 4.77 MB / 0.7336 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000654/0.7975, allocations: 235.1 kB / 0.7338 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005606/0.798, allocations: 4 kB / 0.7338 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.7997, allocations: 123.9 kB / 0.734 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006885/0.8004, allocations: 208.9 kB / 0.7342 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.8006, allocations: 24 kB / 0.7342 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001219/0.8018, allocations: 0.6136 MB / 0.7348 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8018, allocations: 0 / 0.7348 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001867/0.8037, allocations: 391.5 kB / 0.7351 GB, free: 11.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01386/0.8176, allocations: 5.428 MB / 0.7404 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005324/0.8229, allocations: 2.002 MB / 0.7424 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.823, allocations: 0.8438 kB / 0.7424 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004227/0.8272, allocations: 1.528 MB / 0.7439 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.8284, allocations: 88.42 kB / 0.744 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.8333, allocations: 1.865 MB / 0.7458 GB, free: 492 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/0.8342, allocations: 1.151 MB / 0.7469 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005327/0.8347, allocations: 94.67 kB / 0.747 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006881/0.8354, allocations: 463.3 kB / 0.7475 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/0.8354, allocations: 0.75 kB / 0.7475 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.345/1.18, allocations: 28.67 MB / 0.7755 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/1.181, allocations: 153.2 kB / 0.7756 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.836/4.017, allocations: 0 / 0.7756 GB, free: 144.1 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)