Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.001092/0.001092, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.000821/0.0008209, allocations: 94.53 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08938/0.08938, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.321/0.321, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.052e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5328/0.6953, allocations: 99.65 MB / 0.6792 GB, free: 8.906 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.6955, allocations: 79.98 kB / 0.6793 GB, free: 8.863 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07593/0.7715, allocations: 29.68 MB / 0.7082 GB, free: 436 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7715, allocations: 0 / 0.7082 GB, free: 436 kB / 442.7 MB Notification: Performance of Transformations before backend: time 6.929e-05/0.7716, allocations: 27.94 kB / 0.7083 GB, free: 408 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004295/0.7759, allocations: 1.727 MB / 0.71 GB, free: 14.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.776, allocations: 8.031 kB / 0.71 GB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/0.7793, allocations: 0.5639 MB / 0.7105 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.7808, allocations: 0.7981 MB / 0.7113 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002602/0.7811, allocations: 202.5 kB / 0.7115 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.7812, allocations: 59.64 kB / 0.7115 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001358/0.7826, allocations: 0.8041 MB / 0.7123 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.784, allocations: 0.8441 MB / 0.7131 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.7841, allocations: 0 / 0.7131 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.107e-05/0.7842, allocations: 3.938 kB / 0.7132 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.7842, allocations: 20 kB / 0.7132 GB, free: 12.14 MB / 458.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.006405/0.7906, allocations: 3.784 MB / 0.7169 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/0.7978, allocations: 2.582 MB / 0.7194 GB, free: 6.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.7985, allocations: 0.519 MB / 0.7199 GB, free: 6.465 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.7987, allocations: 16.77 kB / 0.7199 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.7987, allocations: 47.84 kB / 0.72 GB, free: 6.402 MB / 458.7 MB Notification: Performance of pre-optimization done (n=94): time 3.016e-06/0.7987, allocations: 4.938 kB / 0.72 GB, free: 6.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=94): time 0.01181/0.8105, allocations: 3.831 MB / 0.7237 GB, free: 3.074 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.083e-05/0.8107, allocations: 137.3 kB / 0.7238 GB, free: 2.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.8121, allocations: 0.8488 MB / 0.7247 GB, free: 2.289 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002279/0.8123, allocations: 25.7 kB / 0.7247 GB, free: 2.258 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.8127, allocations: 0.5081 MB / 0.7252 GB, free: 1.977 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.813, allocations: 325.2 kB / 0.7255 GB, free: 1.695 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.8131, allocations: 0 / 0.7255 GB, free: 1.695 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8132, allocations: 340.1 kB / 0.7258 GB, free: 1.371 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.8139, allocations: 437.4 kB / 0.7262 GB, free: 1.145 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/0.8146, allocations: 0.5602 MB / 0.7268 GB, free: 0.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/0.8154, allocations: 487.8 kB / 0.7272 GB, free: 492 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.8154, allocations: 3.953 kB / 0.7273 GB, free: 488 kB / 458.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01185/0.8272, allocations: 3.903 MB / 0.7311 GB, free: 13.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004493/0.8277, allocations: 1.197 MB / 0.7322 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8277, allocations: 0 / 0.7322 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/0.8327, allocations: 1.43 MB / 0.7336 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.8339, allocations: 182.2 kB / 0.7338 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.8459, allocations: 6.281 MB / 0.7399 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.8476, allocations: 167.3 kB / 0.7401 GB, free: 5.027 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/0.8477, allocations: 35.98 kB / 0.7401 GB, free: 4.992 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.8477, allocations: 5.719 kB / 0.7401 GB, free: 4.988 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01139/0.8591, allocations: 3.735 MB / 0.7438 GB, free: 1.246 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.8592, allocations: 4 kB / 0.7438 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.8639, allocations: 1.429 MB / 0.7452 GB, free: 15.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.8651, allocations: 183.7 kB / 0.7454 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.877, allocations: 6.259 MB / 0.7515 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.8786, allocations: 159.4 kB / 0.7516 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.8789, allocations: 31.98 kB / 0.7517 GB, free: 9.051 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004106/0.8793, allocations: 159.7 kB / 0.7518 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01205/0.8913, allocations: 3.832 MB / 0.7555 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.8918, allocations: 122.5 kB / 0.7557 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.9041, allocations: 3.921 MB / 0.7595 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.9042, allocations: 12 kB / 0.7595 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.9042, allocations: 4 kB / 0.7595 GB, free: 0.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.9042, allocations: 15.91 kB / 0.7595 GB, free: 0.9414 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.01427/0.9185, allocations: 5.467 MB / 0.7649 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.9185, allocations: 0 / 0.7649 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.9193, allocations: 119.8 kB / 0.765 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004464/0.9238, allocations: 1.398 MB / 0.7663 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.924, allocations: 8 kB / 0.7663 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.9347, allocations: 5.617 MB / 0.7718 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.9347, allocations: 0 / 0.7718 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.9476, allocations: 4.669 MB / 0.7764 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.9482, allocations: 219.2 kB / 0.7766 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.9486, allocations: 7.984 kB / 0.7766 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.9499, allocations: 123.9 kB / 0.7767 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005251/0.9505, allocations: 180.4 kB / 0.7769 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/0.9506, allocations: 31.98 kB / 0.7769 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009767/0.9516, allocations: 0.6454 MB / 0.7776 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9516, allocations: 0 / 0.7776 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002189/0.9538, allocations: 0.6162 MB / 0.7782 GB, free: 13.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,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 (68): * Single equations (assignments): 66 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01316/0.9669, allocations: 5.319 MB / 0.7834 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009015/0.976, allocations: 3.487 MB / 0.7868 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.976, allocations: 0 / 0.7868 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003857/0.9799, allocations: 1.417 MB / 0.7881 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.981, allocations: 95.5 kB / 0.7882 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/0.9857, allocations: 2.004 MB / 0.7902 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/0.9866, allocations: 1.166 MB / 0.7913 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001013/0.9876, allocations: 205.7 kB / 0.7915 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006355/0.9882, allocations: 459.3 kB / 0.792 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/0.9883, allocations: 4 kB / 0.792 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07338/1.062, allocations: 35.73 MB / 0.8269 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.062, allocations: 154.4 kB / 0.827 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.642/4.704, allocations: 3.516 kB / 0.827 GB, free: 11.3 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)