Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.008826/0.008826, 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.452/1.452, allocations: 223.2 MB / 239 MB, free: 76 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.0008623/0.0008623, allocations: 100.3 kB / 290.2 MB, free: 4.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5497/0.5497, allocations: 78.59 MB / 419.9 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.000408, allocations: 15.98 kB / 499.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 69.35 MB / 0.5559 GB, free: 1.746 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5722, allocations: 98.46 MB / 0.652 GB, free: 3.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.5725, allocations: 76.28 kB / 0.6521 GB, free: 3.691 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09843/0.6709, allocations: 35.21 MB / 0.6865 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.671, allocations: 0 / 0.6865 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.6711, allocations: 31.94 kB / 0.6865 GB, free: 0.9531 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006108/0.6773, allocations: 1.981 MB / 0.6884 GB, free: 14.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6773, allocations: 12.03 kB / 0.6885 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003796/0.6777, allocations: 118.6 kB / 0.6886 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.6815, allocations: 0.5681 MB / 0.6891 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.6839, allocations: 0.8227 MB / 0.6899 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.6842, allocations: 230.5 kB / 0.6901 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.6845, allocations: 72 kB / 0.6902 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.6871, allocations: 1.15 MB / 0.6913 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.6871, allocations: 0 / 0.6913 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.6872, allocations: 31.98 kB / 0.6914 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.6872, allocations: 20 kB / 0.6914 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.6896, allocations: 1.07 MB / 0.6924 GB, free: 10.71 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.007462/0.6971, allocations: 3.847 MB / 0.6962 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008047/0.7051, allocations: 2.874 MB / 0.699 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.7053, allocations: 13 kB / 0.699 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.7053, allocations: 43.56 kB / 0.699 GB, free: 3.641 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.555e-06/0.7053, allocations: 0 / 0.699 GB, free: 3.641 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02845/0.7338, allocations: 8.007 MB / 0.7069 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.7339, allocations: 149.4 kB / 0.707 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.7361, allocations: 0.9067 MB / 0.7079 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.7364, allocations: 41.7 kB / 0.7079 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.7369, allocations: 0.5012 MB / 0.7084 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.7374, allocations: 331.1 kB / 0.7087 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.7376, allocations: 20 kB / 0.7088 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7377, allocations: 341.9 kB / 0.7091 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/0.7392, allocations: 0.6383 MB / 0.7097 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.7408, allocations: 0.776 MB / 0.7105 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.7424, allocations: 0.7511 MB / 0.7112 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.7424, allocations: 3.953 kB / 0.7112 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01404/0.7564, allocations: 4.66 MB / 0.7158 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006488/0.7571, allocations: 1.211 MB / 0.7169 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.7572, allocations: 4 kB / 0.7169 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006314/0.7635, allocations: 1.859 MB / 0.7188 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.7646, allocations: 163.8 kB / 0.7189 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/0.7862, allocations: 9.179 MB / 0.7279 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.7881, allocations: 199 kB / 0.7281 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.7884, allocations: 35.98 kB / 0.7281 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.7884, allocations: 4.172 kB / 0.7281 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01349/0.8019, allocations: 4.506 MB / 0.7325 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.802, allocations: 3.938 kB / 0.7325 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006259/0.8082, allocations: 1.868 MB / 0.7343 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009482/0.8092, allocations: 159.8 kB / 0.7345 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.8302, allocations: 9.186 MB / 0.7435 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.8321, allocations: 183.1 kB / 0.7436 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.8323, allocations: 35.98 kB / 0.7437 GB, free: 5.387 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.8334, allocations: 357.7 kB / 0.744 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/0.8339, allocations: 126.6 kB / 0.7441 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.8473, allocations: 4.614 MB / 0.7486 GB, free: 268 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.8473, allocations: 11.94 kB / 0.7486 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.8474, allocations: 8 kB / 0.7486 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/0.8474, allocations: 3.984 kB / 0.7487 GB, free: 244 kB / 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.01646/0.8639, allocations: 6.225 MB / 0.7547 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.8639, allocations: 2.344 kB / 0.7547 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.8646, allocations: 115.8 kB / 0.7548 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005592/0.8703, allocations: 1.794 MB / 0.7566 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.8704, allocations: 16 kB / 0.7566 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/0.8881, allocations: 8.02 MB / 0.7644 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8881, allocations: 0 / 0.7644 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/0.9032, allocations: 5.532 MB / 0.7698 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.9037, allocations: 227.3 kB / 0.7701 GB, free: 10 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.904, allocations: 16 kB / 0.7701 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.9052, allocations: 139.9 kB / 0.7702 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/0.9058, allocations: 184.7 kB / 0.7704 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-05/0.9059, allocations: 24.88 kB / 0.7704 GB, free: 9.645 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001182/0.907, allocations: 0.7194 MB / 0.7711 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/0.9071, allocations: 0 / 0.7711 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002063/0.9091, allocations: 0.6592 MB / 0.7718 GB, free: 8.258 MB / 0.5573 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,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01521/0.9243, allocations: 6.209 MB / 0.7778 GB, free: 2.004 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01114/0.9355, allocations: 4.237 MB / 0.782 GB, free: 13.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9356, allocations: 0 / 0.782 GB, free: 13.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004432/0.94, allocations: 1.662 MB / 0.7836 GB, free: 12.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.9411, allocations: 105.5 kB / 0.7837 GB, free: 11.91 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.9477, allocations: 5.15 MB / 0.7887 GB, free: 6.656 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.9485, allocations: 1.159 MB / 0.7898 GB, free: 5.465 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005767/0.9491, allocations: 114.7 kB / 0.79 GB, free: 5.348 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.9498, allocations: 467.3 kB / 0.7904 GB, free: 4.891 MB / 0.573 GB Notification: Performance of SimCode: time 8.61e-07/0.9498, allocations: 0 / 0.7904 GB, free: 4.891 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2955/1.245, allocations: 35.62 MB / 0.8252 GB, free: 153.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.245, allocations: 229.7 kB / 0.8254 GB, free: 153.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/4.322, allocations: 0 / 0.8254 GB, free: 153.4 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)