Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.006831/0.006831, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 239 MB, free: 88 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 98.44 kB / 290.2 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4965/0.4965, allocations: 78.51 MB / 419.8 MB, free: 36.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 12 kB / 499.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 69.36 MB / 0.5558 GB, free: 1.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.6004, allocations: 99.49 MB / 0.653 GB, free: 2.668 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.6007, allocations: 80.19 kB / 0.653 GB, free: 2.625 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08581/0.6865, allocations: 32.65 MB / 0.6849 GB, free: 2.453 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6865, allocations: 0 / 0.6849 GB, free: 2.453 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.165e-05/0.6866, allocations: 27.94 kB / 0.685 GB, free: 2.426 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005383/0.692, allocations: 2.095 MB / 0.687 GB, free: 276 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.6921, allocations: 12.03 kB / 0.687 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/0.6923, allocations: 126.7 kB / 0.6871 GB, free: 128 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/0.6956, allocations: 0.5696 MB / 0.6877 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.6972, allocations: 0.8369 MB / 0.6885 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.6975, allocations: 264.1 kB / 0.6888 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.6977, allocations: 80 kB / 0.6888 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.6999, allocations: 1.161 MB / 0.69 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.6999, allocations: 0 / 0.69 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.7, allocations: 32 kB / 0.69 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.7001, allocations: 16 kB / 0.69 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.7021, allocations: 1.066 MB / 0.691 GB, free: 12 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006952/0.7091, allocations: 3.901 MB / 0.6949 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007766/0.7169, allocations: 2.927 MB / 0.6977 GB, free: 4.906 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.717, allocations: 9 kB / 0.6977 GB, free: 4.898 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/0.7188, allocations: 0.8958 MB / 0.6986 GB, free: 3.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.076e-06/0.7188, allocations: 0 / 0.6986 GB, free: 3.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.02831/0.7471, allocations: 8.15 MB / 0.7066 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.7473, allocations: 119.8 kB / 0.7067 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.7491, allocations: 0.9694 MB / 0.7076 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.7494, allocations: 43.77 kB / 0.7077 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/0.7499, allocations: 0.5132 MB / 0.7082 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.7503, allocations: 350.9 kB / 0.7085 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.7504, allocations: 23.94 kB / 0.7085 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7505, allocations: 345.9 kB / 0.7089 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.7519, allocations: 0.6624 MB / 0.7095 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.7534, allocations: 0.8017 MB / 0.7103 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.7549, allocations: 0.7619 MB / 0.711 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7549, allocations: 4 kB / 0.711 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01408/0.769, allocations: 4.776 MB / 0.7157 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/0.7691, allocations: 59.41 kB / 0.7157 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.7691, allocations: 4 kB / 0.7158 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/0.7763, allocations: 1.999 MB / 0.7177 GB, free: 200 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.7774, allocations: 183.7 kB / 0.7179 GB, free: 16 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/0.7997, allocations: 10.82 MB / 0.7285 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.8016, allocations: 207 kB / 0.7286 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.68e-05/0.8018, allocations: 35.98 kB / 0.7287 GB, free: 4.691 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006827/0.8024, allocations: 290 kB / 0.729 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.8027, allocations: 134.4 kB / 0.7291 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.8161, allocations: 4.764 MB / 0.7337 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.8162, allocations: 8 kB / 0.7337 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.8162, allocations: 11.94 kB / 0.7338 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.8162, allocations: 11.97 kB / 0.7338 GB, free: 15.45 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01563/0.8319, allocations: 6.367 MB / 0.74 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.8319, allocations: 4 kB / 0.74 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.8327, allocations: 103.8 kB / 0.7401 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005662/0.8384, allocations: 1.891 MB / 0.7419 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.8387, allocations: 20 kB / 0.742 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/0.8593, allocations: 10.12 MB / 0.7518 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8593, allocations: 3.938 kB / 0.7518 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.8748, allocations: 5.732 MB / 0.7574 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.8754, allocations: 235.1 kB / 0.7577 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.8756, allocations: 20 kB / 0.7577 GB, free: 6.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.8769, allocations: 147.9 kB / 0.7578 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006129/0.8776, allocations: 192.7 kB / 0.758 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/0.8777, allocations: 27.98 kB / 0.758 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001221/0.8789, allocations: 0.7634 MB / 0.7588 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8789, allocations: 1.406 kB / 0.7588 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001417/0.8803, allocations: 451.5 kB / 0.7592 GB, free: 4.922 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01545/0.8958, allocations: 6.39 MB / 0.7655 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006458/0.9023, allocations: 2.653 MB / 0.768 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9023, allocations: 8.188 kB / 0.7681 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004504/0.9068, allocations: 1.83 MB / 0.7698 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.9079, allocations: 109.1 kB / 0.7699 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/0.9138, allocations: 5.324 MB / 0.7751 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.9146, allocations: 1.165 MB / 0.7763 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004575/0.915, allocations: 98.89 kB / 0.7764 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000619/0.9157, allocations: 491.3 kB / 0.7768 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/0.9157, allocations: 0 / 0.7768 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3285/1.244, allocations: 31.63 MB / 0.8077 GB, free: 151.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.244, allocations: 208.1 kB / 0.8079 GB, free: 151.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.266/4.511, allocations: 4 kB / 0.8079 GB, free: 151.2 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)