Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008269/0.000827, allocations: 88.53 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07061/0.07061, allocations: 12.21 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.282/0.282, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.839e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 69.24 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.5022, allocations: 103.7 MB / 0.6902 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.5024, allocations: 80.25 kB / 0.6902 GB, free: 12.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2508/0.7532, allocations: 96.52 MB / 0.7845 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7533, allocations: 0 / 0.7845 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004102/0.7537, allocations: 87.94 kB / 0.7846 GB, free: 6.344 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.02136/0.7751, allocations: 5.77 MB / 0.7902 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.7751, allocations: 15.98 kB / 0.7902 GB, free: 492 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00157/0.7767, allocations: 492.8 kB / 0.7907 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.7941, allocations: 2.787 MB / 0.7934 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006987/0.8011, allocations: 2.275 MB / 0.7956 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/0.8024, allocations: 0.9557 MB / 0.7966 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001628/0.8041, allocations: 344 kB / 0.7969 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009296/0.8134, allocations: 4.089 MB / 0.8009 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/0.8135, allocations: 3.938 kB / 0.8009 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004095/0.8139, allocations: 144 kB / 0.801 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.811e-05/0.814, allocations: 91.89 kB / 0.8011 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007524/0.8215, allocations: 3.624 MB / 0.8047 GB, free: 1.434 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.03904/0.8606, allocations: 18.7 MB / 0.8229 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.8724, allocations: 4.772 MB / 0.8276 GB, free: 8.672 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004581/0.8771, allocations: 2.233 MB / 0.8298 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005848/0.8777, allocations: 66.91 kB / 0.8298 GB, free: 6.363 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.13e-05/0.8778, allocations: 77.48 kB / 0.8299 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=381): time 7.273e-06/0.8778, allocations: 4 kB / 0.8299 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=381): time 0.05316/0.931, allocations: 17.46 MB / 0.847 GB, free: 4.754 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.9311, allocations: 175.4 kB / 0.8471 GB, free: 4.551 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.9361, allocations: 2.674 MB / 0.8497 GB, free: 1.859 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001237/0.9374, allocations: 85.7 kB / 0.8498 GB, free: 1.77 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001775/0.9392, allocations: 2.01 MB / 0.8518 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002084/0.9413, allocations: 1.305 MB / 0.8531 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.9416, allocations: 75.94 kB / 0.8531 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.9418, allocations: 441.6 kB / 0.8536 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/0.9451, allocations: 1.82 MB / 0.8553 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/0.9489, allocations: 2.41 MB / 0.8577 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/0.9526, allocations: 2.094 MB / 0.8597 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.9526, allocations: 4 kB / 0.8597 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.3693/1.322, allocations: 17.66 MB / 0.877 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.00143/1.323, allocations: 6.682 MB / 0.8835 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/1.323, allocations: 17.33 kB / 0.8835 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02403/1.348, allocations: 6.889 MB / 0.8903 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/1.351, allocations: 0.5628 MB / 0.8908 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05368/1.405, allocations: 25.42 MB / 0.9156 GB, free: 120 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006356/1.411, allocations: 0.6953 MB / 0.9163 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008217/1.412, allocations: 132 kB / 0.9164 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.412, allocations: 7.188 kB / 0.9164 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04557/1.458, allocations: 17.26 MB / 0.9333 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.113e-05/1.458, allocations: 11.59 kB / 0.9333 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02058/1.478, allocations: 6.886 MB / 0.94 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/1.481, allocations: 0.5608 MB / 0.9406 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05231/1.534, allocations: 25.4 MB / 0.9654 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005978/1.54, allocations: 0.6659 MB / 0.966 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008867/1.541, allocations: 127.9 kB / 0.9662 GB, free: 105.6 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 323 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.001062/1.542, allocations: 328.2 kB / 0.9665 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.543, allocations: 458.3 kB / 0.9669 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04831/1.592, allocations: 18.01 MB / 0.9845 GB, free: 91.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/1.592, allocations: 36 kB / 0.9845 GB, free: 90.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/1.592, allocations: 31.89 kB / 0.9846 GB, free: 90.96 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.772e-05/1.592, allocations: 14.53 kB / 0.9846 GB, free: 90.96 MB / 0.5886 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.0562/1.648, allocations: 23.28 MB / 1.007 GB, free: 73.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/1.648, allocations: 0 / 1.007 GB, free: 73.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.651, allocations: 405.3 kB / 1.008 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02092/1.672, allocations: 6.967 MB / 1.015 GB, free: 67.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001106/1.673, allocations: 79.34 kB / 1.015 GB, free: 67.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05039/1.723, allocations: 22.54 MB / 1.037 GB, free: 47.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.723, allocations: 0 / 1.037 GB, free: 47.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05603/1.779, allocations: 20.84 MB / 1.057 GB, free: 28.69 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.781, allocations: 0.5532 MB / 1.057 GB, free: 28.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00182/1.783, allocations: 71.98 kB / 1.058 GB, free: 28.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005432/1.788, allocations: 487.6 kB / 1.058 GB, free: 27.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003278/1.792, allocations: 0.7645 MB / 1.059 GB, free: 26.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000799/1.792, allocations: 91.98 kB / 1.059 GB, free: 26.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003879/1.796, allocations: 2.03 MB / 1.061 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/1.796, allocations: 4 kB / 1.061 GB, free: 24.72 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01183/1.808, allocations: 2.884 MB / 1.064 GB, free: 21.96 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 249 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05557/1.864, allocations: 21.58 MB / 1.085 GB, free: 336 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04459/1.908, allocations: 14.44 MB / 1.099 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/1.908, allocations: 4.5 kB / 1.099 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.2993/2.208, allocations: 5.993 MB / 1.105 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/2.211, allocations: 309.1 kB / 1.105 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/2.225, allocations: 6.793 MB / 1.112 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/2.227, allocations: 2.6 MB / 1.114 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003152/2.231, allocations: 0.612 MB / 1.115 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/2.233, allocations: 1.946 MB / 1.117 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/2.233, allocations: 3.375 kB / 1.117 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/2.429, allocations: 148.1 MB / 1.261 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/2.429, allocations: 199.6 kB / 1.262 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/10.11, allocations: 0 / 1.262 GB, free: 60.29 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)