Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007559/0.007559, allocations: 169.3 kB / 15.11 MB, free: 5.973 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.187/1.187, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008609/0.0008609, allocations: 89.48 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4175/0.4175, allocations: 79.44 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 12 kB / 0.489 GB, free: 2.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3242, allocations: 69.49 MB / 0.5569 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.438, allocations: 99.57 MB / 0.6541 GB, free: 6.023 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4382, allocations: 83.95 kB / 0.6542 GB, free: 5.941 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09557/0.5338, allocations: 37.13 MB / 0.6905 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5339, allocations: 0 / 0.6905 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.664e-05/0.5339, allocations: 31.88 kB / 0.6905 GB, free: 0.582 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004795/0.5387, allocations: 1.982 MB / 0.6924 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.5388, allocations: 8.031 kB / 0.6924 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.542, allocations: 0.5719 MB / 0.693 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5434, allocations: 0.815 MB / 0.6938 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.5437, allocations: 260.2 kB / 0.694 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.5439, allocations: 79.91 kB / 0.6941 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.5459, allocations: 1.133 MB / 0.6952 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5459, allocations: 0 / 0.6952 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.546, allocations: 32 kB / 0.6953 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.546, allocations: 24 kB / 0.6953 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.548, allocations: 1.042 MB / 0.6963 GB, free: 10.46 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006521/0.5545, allocations: 3.825 MB / 0.7 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007445/0.562, allocations: 2.896 MB / 0.7029 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.206e-05/0.5621, allocations: 20.98 kB / 0.7029 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.5637, allocations: 0.8685 MB / 0.7037 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.005e-06/0.5637, allocations: 3.938 kB / 0.7037 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.0293/0.593, allocations: 8.708 MB / 0.7122 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.5931, allocations: 111.8 kB / 0.7123 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.5947, allocations: 0.9171 MB / 0.7132 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/0.5948, allocations: 45.73 kB / 0.7133 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.5953, allocations: 0.5052 MB / 0.7138 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.5956, allocations: 343 kB / 0.7141 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.5957, allocations: 20 kB / 0.7141 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5959, allocations: 341.9 kB / 0.7145 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.5971, allocations: 0.6465 MB / 0.7151 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.5985, allocations: 0.7692 MB / 0.7158 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.5999, allocations: 0.755 MB / 0.7166 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5999, allocations: 0 / 0.7166 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01276/0.6127, allocations: 4.673 MB / 0.7211 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.6127, allocations: 64.17 kB / 0.7212 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6127, allocations: 4 kB / 0.7212 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006046/0.6188, allocations: 1.897 MB / 0.7231 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008613/0.6197, allocations: 183.8 kB / 0.7232 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/0.64, allocations: 9.444 MB / 0.7325 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.6414, allocations: 203 kB / 0.7326 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.6416, allocations: 39.98 kB / 0.7327 GB, free: 4.555 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005839/0.6422, allocations: 289.8 kB / 0.733 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.6425, allocations: 126.5 kB / 0.7331 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/0.6553, allocations: 4.721 MB / 0.7377 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6554, allocations: 8 kB / 0.7377 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.6554, allocations: 8 kB / 0.7377 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.6554, allocations: 3.984 kB / 0.7377 GB, free: 15.36 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01459/0.67, allocations: 6.289 MB / 0.7439 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.67, allocations: 0 / 0.7439 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.6706, allocations: 107.8 kB / 0.744 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005397/0.676, allocations: 1.868 MB / 0.7458 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.6761, allocations: 19.98 kB / 0.7458 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01991/0.696, allocations: 10.13 MB / 0.7557 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.696, allocations: 3.938 kB / 0.7557 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/0.7103, allocations: 5.65 MB / 0.7612 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.7108, allocations: 235.1 kB / 0.7614 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/0.7111, allocations: 23.95 kB / 0.7615 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.7124, allocations: 143.9 kB / 0.7616 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005252/0.713, allocations: 196.7 kB / 0.7618 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.842e-05/0.713, allocations: 24 kB / 0.7618 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001174/0.7142, allocations: 0.7157 MB / 0.7625 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7142, allocations: 0 / 0.7625 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001447/0.7157, allocations: 439.7 kB / 0.7629 GB, free: 5.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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.0003172/0.716, allocations: 154.4 kB / 0.7631 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005592/0.7216, allocations: 2.472 MB / 0.7655 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7216, allocations: 4.75 kB / 0.7655 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004168/0.7258, allocations: 1.808 MB / 0.7673 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.7267, allocations: 105.3 kB / 0.7674 GB, free: 476 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2188/0.9455, allocations: 2.65 MB / 0.7699 GB, free: 146.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/0.9463, allocations: 1.149 MB / 0.7711 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005615/0.9469, allocations: 96.45 kB / 0.7712 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.9471, allocations: 66.34 kB / 0.7712 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/0.9471, allocations: 0 / 0.7712 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.02916/0.9763, allocations: 20.5 MB / 0.7912 GB, free: 144.9 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)