Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",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.001156/0.001156, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 95.61 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5156/0.5156, allocations: 78.95 MB / 410.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.351e-05/1.353e-05, allocations: 0 / 486 MB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 69.52 MB / 0.5425 GB, free: 5.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.546, allocations: 99.1 MB / 0.6393 GB, free: 14.92 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.5462, allocations: 85.45 kB / 0.6394 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08768/0.6339, allocations: 32.01 MB / 0.6706 GB, free: 14.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.634, allocations: 0 / 0.6706 GB, free: 14.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001126/0.6341, allocations: 20 kB / 0.6707 GB, free: 14.85 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005084/0.6392, allocations: 1.742 MB / 0.6724 GB, free: 13.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6392, allocations: 8.781 kB / 0.6724 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/0.643, allocations: 0.5641 MB / 0.6729 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.6448, allocations: 0.7901 MB / 0.6737 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.6451, allocations: 228.2 kB / 0.6739 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.6454, allocations: 55.94 kB / 0.674 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001787/0.6472, allocations: 0.8148 MB / 0.6748 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.649, allocations: 0.8407 MB / 0.6756 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6491, allocations: 3.984 kB / 0.6756 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.6492, allocations: 1.5 kB / 0.6756 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.6492, allocations: 20 kB / 0.6756 GB, free: 9.633 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.00762/0.6568, allocations: 3.72 MB / 0.6792 GB, free: 5.746 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007611/0.6644, allocations: 2.63 MB / 0.6818 GB, free: 3.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.6653, allocations: 0.5196 MB / 0.6823 GB, free: 2.496 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.6655, allocations: 20.75 kB / 0.6823 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.6666, allocations: 0.6609 MB / 0.683 GB, free: 1.797 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.837e-06/0.6666, allocations: 0 / 0.683 GB, free: 1.797 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01264/0.6792, allocations: 3.938 MB / 0.6868 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.6794, allocations: 115.6 kB / 0.6869 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.6811, allocations: 0.8467 MB / 0.6878 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.6813, allocations: 25.7 kB / 0.6878 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005088/0.6818, allocations: 0.5284 MB / 0.6883 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006319/0.6825, allocations: 331 kB / 0.6886 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.6826, allocations: 1.312 kB / 0.6886 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.6829, allocations: 357.8 kB / 0.689 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009606/0.6839, allocations: 446.6 kB / 0.6894 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.6849, allocations: 0.5692 MB / 0.6899 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/0.6859, allocations: 0.4904 MB / 0.6904 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6859, allocations: 0 / 0.6904 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01252/0.6984, allocations: 3.986 MB / 0.6943 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/0.6985, allocations: 63.41 kB / 0.6944 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6985, allocations: 3.938 kB / 0.6944 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005698/0.7042, allocations: 1.518 MB / 0.6959 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.7056, allocations: 191.8 kB / 0.696 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.7197, allocations: 6.532 MB / 0.7024 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.7216, allocations: 186.2 kB / 0.7026 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/0.7219, allocations: 43.97 kB / 0.7026 GB, free: 13.4 MB / 0.5105 GB 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004568/0.7223, allocations: 165 kB / 0.7028 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01242/0.7347, allocations: 3.953 MB / 0.7067 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006389/0.7354, allocations: 126.4 kB / 0.7068 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.7475, allocations: 4.067 MB / 0.7108 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.7476, allocations: 8 kB / 0.7108 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.7476, allocations: 11.95 kB / 0.7108 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/0.7476, allocations: 5.109 kB / 0.7108 GB, free: 5.016 MB / 0.5105 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.01437/0.762, allocations: 5.55 MB / 0.7162 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.7621, allocations: 0 / 0.7162 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.7628, allocations: 103.9 kB / 0.7163 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004823/0.7677, allocations: 1.478 MB / 0.7177 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/0.7679, allocations: 19.98 kB / 0.7178 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.7809, allocations: 7.524 MB / 0.7251 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.781, allocations: 0 / 0.7251 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.7945, allocations: 4.824 MB / 0.7298 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/0.795, allocations: 227.2 kB / 0.73 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.7954, allocations: 12 kB / 0.73 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.7968, allocations: 127.9 kB / 0.7302 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/0.7974, allocations: 197.9 kB / 0.7304 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.7974, allocations: 27.98 kB / 0.7304 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009424/0.7984, allocations: 0.6454 MB / 0.731 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7984, allocations: 0 / 0.731 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001373/0.7998, allocations: 399.5 kB / 0.7314 GB, free: 15.5 MB / 0.5417 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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: 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01351/0.8133, allocations: 5.466 MB / 0.7367 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005139/0.8185, allocations: 2.043 MB / 0.7387 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.8185, allocations: 0 / 0.7387 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00393/0.8224, allocations: 1.549 MB / 0.7402 GB, free: 6.344 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009507/0.8234, allocations: 94.19 kB / 0.7403 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.8281, allocations: 1.975 MB / 0.7423 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.8288, allocations: 1.155 MB / 0.7434 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004599/0.8293, allocations: 89.27 kB / 0.7435 GB, free: 2.973 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006063/0.8299, allocations: 476.2 kB / 0.7439 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of SimCode: time 4.5e-07/0.8299, allocations: 0 / 0.7439 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3284/1.158, allocations: 29.22 MB / 0.7725 GB, free: 146 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.159, allocations: 145.8 kB / 0.7726 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.952, allocations: 5.969 kB / 0.7726 GB, free: 145.8 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)