Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 174 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.306/1.306, 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.0009915/0.0009915, allocations: 85.05 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4559/0.4559, allocations: 78.09 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.174e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 69.34 MB / 0.5481 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4711, allocations: 98.78 MB / 0.6446 GB, free: 1.762 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.4714, allocations: 79.95 kB / 0.6446 GB, free: 1.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08534/0.5568, allocations: 30.85 MB / 0.6748 GB, free: 2.629 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5568, allocations: 0 / 0.6748 GB, free: 2.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.995e-05/0.5569, allocations: 27.94 kB / 0.6748 GB, free: 2.602 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004613/0.5615, allocations: 1.723 MB / 0.6765 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5616, allocations: 11.97 kB / 0.6765 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/0.5619, allocations: 130.6 kB / 0.6766 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/0.5655, allocations: 0.5602 MB / 0.6771 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3111/0.8766, allocations: 0.7863 MB / 0.6779 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.8769, allocations: 235.3 kB / 0.6781 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.8771, allocations: 80.41 kB / 0.6782 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.8792, allocations: 0.9486 MB / 0.6791 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.8792, allocations: 1.656 kB / 0.6791 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-05/0.8793, allocations: 31.88 kB / 0.6792 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.8793, allocations: 18.72 kB / 0.6792 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.8811, allocations: 0.8453 MB / 0.68 GB, free: 103.1 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.008929/0.89, allocations: 3.923 MB / 0.6838 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008265/0.8983, allocations: 2.622 MB / 0.6864 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.8996, allocations: 0.5509 MB / 0.6869 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.8997, allocations: 18.7 kB / 0.687 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.8997, allocations: 48.33 kB / 0.687 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.096e-06/0.8997, allocations: 0 / 0.687 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01139/0.9111, allocations: 3.91 MB / 0.6908 GB, free: 101.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.9112, allocations: 144.1 kB / 0.691 GB, free: 101 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.9125, allocations: 0.9133 MB / 0.6919 GB, free: 100.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.9128, allocations: 45.64 kB / 0.6919 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.913, allocations: 0.5117 MB / 0.6924 GB, free: 100.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.9133, allocations: 339 kB / 0.6927 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.9134, allocations: 15.94 kB / 0.6927 GB, free: 100.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.9135, allocations: 343 kB / 0.6931 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.9142, allocations: 447.6 kB / 0.6935 GB, free: 99.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.9149, allocations: 0.5786 MB / 0.6941 GB, free: 99.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.9156, allocations: 0.5451 MB / 0.6946 GB, free: 99.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9157, allocations: 0 / 0.6946 GB, free: 99.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01114/0.9268, allocations: 4.03 MB / 0.6985 GB, free: 98.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.9271, allocations: 1.203 MB / 0.6997 GB, free: 97.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9271, allocations: 0 / 0.6997 GB, free: 97.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004768/0.9319, allocations: 1.446 MB / 0.7011 GB, free: 96.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.933, allocations: 190.9 kB / 0.7013 GB, free: 96.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.9455, allocations: 6.432 MB / 0.7076 GB, free: 93.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.9474, allocations: 194.4 kB / 0.7078 GB, free: 93.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9476, allocations: 34.66 kB / 0.7078 GB, free: 93.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.9476, allocations: 3.812 kB / 0.7078 GB, free: 93.26 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01079/0.9584, allocations: 3.889 MB / 0.7116 GB, free: 90.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.9585, allocations: 4 kB / 0.7116 GB, free: 90.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004581/0.963, allocations: 1.455 MB / 0.713 GB, free: 89.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.9641, allocations: 183.5 kB / 0.7132 GB, free: 89.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.976, allocations: 6.427 MB / 0.7195 GB, free: 83.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.9777, allocations: 184.7 kB / 0.7197 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.9778, allocations: 35.52 kB / 0.7197 GB, free: 83.62 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.0002965/0.9781, allocations: 183.6 kB / 0.7199 GB, free: 83.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.9784, allocations: 133.7 kB / 0.72 GB, free: 83.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.9893, allocations: 4.031 MB / 0.7239 GB, free: 80.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.9894, allocations: 12 kB / 0.7239 GB, free: 80.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.9894, allocations: 8 kB / 0.7239 GB, free: 80.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.196e-05/0.9895, allocations: 13.8 kB / 0.724 GB, free: 80.11 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.01387/1.003, allocations: 5.667 MB / 0.7295 GB, free: 75.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.003, allocations: 4.031 kB / 0.7295 GB, free: 75.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/1.004, allocations: 114.3 kB / 0.7296 GB, free: 75.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/1.008, allocations: 1.415 MB / 0.731 GB, free: 74.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.009, allocations: 20 kB / 0.731 GB, free: 74.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/1.019, allocations: 5.73 MB / 0.7366 GB, free: 68.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.019, allocations: 4 kB / 0.7366 GB, free: 68.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.031, allocations: 4.761 MB / 0.7413 GB, free: 63.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/1.031, allocations: 235.2 kB / 0.7415 GB, free: 63.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.032, allocations: 16 kB / 0.7415 GB, free: 63.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/1.033, allocations: 135.9 kB / 0.7416 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004874/1.033, allocations: 188.4 kB / 0.7418 GB, free: 62.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/1.033, allocations: 28 kB / 0.7418 GB, free: 62.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008155/1.034, allocations: 0.7057 MB / 0.7425 GB, free: 62.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.034, allocations: 3.938 kB / 0.7425 GB, free: 62.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001576/1.036, allocations: 0.6767 MB / 0.7432 GB, free: 61.45 MB / 490.7 MB 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.01218/1.048, allocations: 5.438 MB / 0.7485 GB, free: 55.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00799/1.056, allocations: 3.59 MB / 0.752 GB, free: 52.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.056, allocations: 0 / 0.752 GB, free: 52.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003449/1.059, allocations: 1.461 MB / 0.7534 GB, free: 50.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/1.06, allocations: 110.4 kB / 0.7535 GB, free: 50.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/1.064, allocations: 2.086 MB / 0.7556 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/1.065, allocations: 1.162 MB / 0.7567 GB, free: 47.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007978/1.065, allocations: 205.4 kB / 0.7569 GB, free: 47.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/1.066, allocations: 463.3 kB / 0.7573 GB, free: 46.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/1.066, allocations: 4 kB / 0.7573 GB, free: 46.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/1.118, allocations: 38.39 MB / 0.7948 GB, free: 8.91 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/1.118, allocations: 195.2 kB / 0.795 GB, free: 8.684 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/4.455, allocations: 0 / 0.795 GB, free: 8.684 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)