Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",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.001732/0.001732, allocations: 174.2 kB / 12.73 MB, free: 2.586 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.269/1.269, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 85.22 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.459/0.459, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.416e-05, allocations: 11.98 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3573, allocations: 69.34 MB / 0.5481 GB, free: 20.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4728, allocations: 97.64 MB / 0.6434 GB, free: 2.887 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4731, allocations: 87.47 kB / 0.6435 GB, free: 2.805 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08797/0.5611, allocations: 32.76 MB / 0.6755 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5611, allocations: 0 / 0.6755 GB, free: 1.793 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.363e-05/0.5612, allocations: 20 kB / 0.6755 GB, free: 1.773 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004584/0.5658, allocations: 1.574 MB / 0.6771 GB, free: 156 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5659, allocations: 15.95 kB / 0.6771 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/0.5662, allocations: 126.4 kB / 0.6772 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.284/0.8502, allocations: 0.54 MB / 0.6777 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.8524, allocations: 0.7066 MB / 0.6784 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.8528, allocations: 266.6 kB / 0.6787 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/0.8531, allocations: 68.8 kB / 0.6787 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.8558, allocations: 0.998 MB / 0.6797 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.8558, allocations: 0 / 0.6797 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.8559, allocations: 28.03 kB / 0.6797 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.856, allocations: 19.59 kB / 0.6798 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.8579, allocations: 0.7869 MB / 0.6805 GB, free: 105.7 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.007467/0.8653, allocations: 3.523 MB / 0.684 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008112/0.8735, allocations: 2.561 MB / 0.6865 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.8743, allocations: 0.529 MB / 0.687 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.8745, allocations: 11.8 kB / 0.687 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.8745, allocations: 45.12 kB / 0.687 GB, free: 104.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.467e-06/0.8745, allocations: 0 / 0.687 GB, free: 104.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01159/0.8861, allocations: 3.919 MB / 0.6909 GB, free: 103.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/0.8862, allocations: 104.1 kB / 0.691 GB, free: 103.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.8876, allocations: 0.7895 MB / 0.6917 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.8878, allocations: 44.14 kB / 0.6918 GB, free: 103.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.8881, allocations: 480.7 kB / 0.6922 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/0.8885, allocations: 297 kB / 0.6925 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.8886, allocations: 15.72 kB / 0.6925 GB, free: 103.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.8887, allocations: 340.2 kB / 0.6929 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/0.8893, allocations: 396.8 kB / 0.6932 GB, free: 102.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.8901, allocations: 0.5635 MB / 0.6938 GB, free: 102.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.8908, allocations: 448.8 kB / 0.6942 GB, free: 102.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.8908, allocations: 0 / 0.6942 GB, free: 102.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01127/0.9021, allocations: 3.925 MB / 0.6981 GB, free: 101.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.9022, allocations: 6.969 kB / 0.6981 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.9022, allocations: 7.188 kB / 0.6981 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/0.9071, allocations: 1.461 MB / 0.6995 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.9079, allocations: 143.9 kB / 0.6996 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.9206, allocations: 6.565 MB / 0.706 GB, free: 97.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.922, allocations: 167 kB / 0.7062 GB, free: 96.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.9222, allocations: 39.89 kB / 0.7062 GB, free: 96.95 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.9224, allocations: 159.8 kB / 0.7064 GB, free: 96.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/0.9235, allocations: 320.1 kB / 0.7067 GB, free: 96.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.934, allocations: 3.85 MB / 0.7105 GB, free: 93.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.934, allocations: 15.94 kB / 0.7105 GB, free: 93.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.9341, allocations: 8 kB / 0.7105 GB, free: 93.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.9341, allocations: 3.188 kB / 0.7105 GB, free: 93.5 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 postOpt removeSimpleEquations (simulation): time 0.01264/0.9467, allocations: 5.227 MB / 0.7156 GB, free: 89.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9468, allocations: 0 / 0.7156 GB, free: 89.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005999/0.9474, allocations: 107.3 kB / 0.7157 GB, free: 89.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004406/0.9518, allocations: 1.465 MB / 0.7171 GB, free: 88.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.952, allocations: 19.52 kB / 0.7171 GB, free: 88.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.9639, allocations: 8.845 MB / 0.7258 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.964, allocations: 4.703 kB / 0.7258 GB, free: 79.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.9763, allocations: 4.716 MB / 0.7304 GB, free: 75.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.9767, allocations: 211.4 kB / 0.7306 GB, free: 75.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/0.977, allocations: 16 kB / 0.7306 GB, free: 75.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9782, allocations: 119.9 kB / 0.7307 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005148/0.9787, allocations: 172.5 kB / 0.7309 GB, free: 74.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-05/0.9788, allocations: 23.98 kB / 0.7309 GB, free: 74.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008086/0.9796, allocations: 0.6247 MB / 0.7315 GB, free: 74.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9796, allocations: 0 / 0.7315 GB, free: 74.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001278/0.9809, allocations: 399.4 kB / 0.7319 GB, free: 73.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01233/0.9933, allocations: 5.388 MB / 0.7372 GB, free: 68.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00439/0.9977, allocations: 1.826 MB / 0.7389 GB, free: 66.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9977, allocations: 0 / 0.7389 GB, free: 66.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003219/1.001, allocations: 1.305 MB / 0.7402 GB, free: 65.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/1.002, allocations: 353.2 kB / 0.7406 GB, free: 64.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/1.006, allocations: 1.763 MB / 0.7423 GB, free: 63.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/1.006, allocations: 1.096 MB / 0.7433 GB, free: 61.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003781/1.007, allocations: 81.03 kB / 0.7434 GB, free: 61.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/1.007, allocations: 419.5 kB / 0.7438 GB, free: 61.43 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/1.007, allocations: 0 / 0.7438 GB, free: 61.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04433/1.052, allocations: 27.98 MB / 0.7712 GB, free: 33.95 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/1.052, allocations: 211.2 kB / 0.7714 GB, free: 33.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/3.856, allocations: 0 / 0.7714 GB, free: 33.73 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=0.001 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)