Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 238.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 187.6 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4999/0.4999, allocations: 79.45 MB / 420.7 MB, free: 3.93 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12 kB / 0.489 GB, free: 5.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.165, allocations: 69.51 MB / 0.5569 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI): time 0.3133/0.4784, allocations: 19.45 MB / 0.5759 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.4937, allocations: 5.239 MB / 0.581 GB, free: 25.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006364/0.5001, allocations: 53.41 kB / 0.581 GB, free: 25.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00353/0.5037, allocations: 0.6083 MB / 0.5816 GB, free: 25.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009086/0.5128, allocations: 2.012 MB / 0.5836 GB, free: 23.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005314/0.5181, allocations: 1.775 MB / 0.5853 GB, free: 23.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009116/0.5272, allocations: 3.755 MB / 0.589 GB, free: 21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.5293, allocations: 1.051 MB / 0.59 GB, free: 20.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.5331, allocations: 2.011 MB / 0.592 GB, free: 19.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004546/0.5377, allocations: 2.547 MB / 0.5945 GB, free: 18.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.5394, allocations: 236.9 kB / 0.5947 GB, free: 18.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.5419, allocations: 355.3 kB / 0.595 GB, free: 18.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008351/0.5428, allocations: 0.9045 MB / 0.5959 GB, free: 17.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.5446, allocations: 0.8345 MB / 0.5967 GB, free: 17.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005669/0.5503, allocations: 4.44 MB / 0.6011 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5503, allocations: 0 / 0.6011 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.5503, allocations: 1.781 kB / 0.6011 GB, free: 15.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002857/0.5506, allocations: 5.062 kB / 0.6011 GB, free: 15.9 MB / 430.1 MB 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.03203/0.5826, allocations: 8.499 MB / 0.6094 GB, free: 12.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5827, allocations: 9.219 kB / 0.6094 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02799/0.6107, allocations: 4.051 MB / 0.6133 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.6219, allocations: 2.515 MB / 0.6158 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001835/0.6238, allocations: 0.9641 MB / 0.6167 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003118/0.6269, allocations: 346.5 kB / 0.6171 GB, free: 9.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.6458, allocations: 4.952 MB / 0.6219 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.646, allocations: 0 / 0.6219 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/0.6475, allocations: 145.1 kB / 0.6221 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.6476, allocations: 88.78 kB / 0.6221 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.66, allocations: 4.515 MB / 0.6265 GB, free: 5.547 MB / 430.1 MB 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.04028/0.7003, allocations: 19.1 MB / 0.6452 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.7143, allocations: 5.713 MB / 0.6508 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007532/0.7151, allocations: 70.89 kB / 0.6508 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.047e-05/0.7152, allocations: 79.48 kB / 0.6509 GB, free: 11.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=381): time 5.511e-06/0.7152, allocations: 0 / 0.6509 GB, free: 11.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=381): time 0.3118/1.027, allocations: 79.42 MB / 0.7285 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.027, allocations: 169.3 kB / 0.7286 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006287/1.033, allocations: 3.215 MB / 0.7318 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001311/1.035, allocations: 89.7 kB / 0.7319 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.037, allocations: 1.978 MB / 0.7338 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002593/1.039, allocations: 1.313 MB / 0.7351 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/1.04, allocations: 84 kB / 0.7352 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003578/1.041, allocations: 470.9 kB / 0.7356 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007087/1.048, allocations: 2.839 MB / 0.7384 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007967/1.056, allocations: 3.467 MB / 0.7418 GB, free: 13.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007188/1.063, allocations: 3.123 MB / 0.7448 GB, free: 10.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-05/1.063, allocations: 4 kB / 0.7448 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=532) (initialization): time 0.06502/1.128, allocations: 20.69 MB / 0.765 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.3151/1.443, allocations: 6.621 MB / 0.7715 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.278e-05/1.443, allocations: 15.11 kB / 0.7715 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02764/1.471, allocations: 8.526 MB / 0.7798 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.475, allocations: 0.6777 MB / 0.7805 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09182/1.567, allocations: 36.94 MB / 0.8166 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/1.573, allocations: 0.7439 MB / 0.8173 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006838/1.574, allocations: 151.3 kB / 0.8174 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.574, allocations: 3.969 kB / 0.8174 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05366/1.628, allocations: 20.27 MB / 0.8372 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.168e-05/1.628, allocations: 12 kB / 0.8373 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02599/1.654, allocations: 8.522 MB / 0.8456 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/1.658, allocations: 0.672 MB / 0.8462 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08009/1.738, allocations: 36.94 MB / 0.8823 GB, free: 95.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006928/1.745, allocations: 0.6966 MB / 0.883 GB, free: 94.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/1.746, allocations: 160.5 kB / 0.8831 GB, free: 94.43 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.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: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * 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.002134/1.748, allocations: 0.7496 MB / 0.8839 GB, free: 93.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.749, allocations: 458.3 kB / 0.8843 GB, free: 93.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05401/1.803, allocations: 20.52 MB / 0.9043 GB, free: 72.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/1.803, allocations: 38.05 kB / 0.9044 GB, free: 72.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/1.803, allocations: 31.95 kB / 0.9044 GB, free: 72.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001348/1.803, allocations: 19.92 kB / 0.9044 GB, free: 72.55 MB / 0.5606 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.06456/1.868, allocations: 25.87 MB / 0.9297 GB, free: 46.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/1.868, allocations: 2.25 kB / 0.9297 GB, free: 46.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.871, allocations: 411.5 kB / 0.9301 GB, free: 46.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02524/1.896, allocations: 8.564 MB / 0.9385 GB, free: 37.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/1.897, allocations: 73.3 kB / 0.9385 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07317/1.97, allocations: 32.47 MB / 0.9702 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.97, allocations: 0.625 kB / 0.9702 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3825/2.353, allocations: 24.17 MB / 0.9938 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/2.355, allocations: 0.5602 MB / 0.9944 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002427/2.357, allocations: 68.84 kB / 0.9944 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006592/2.364, allocations: 0.4946 MB / 0.9949 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004054/2.368, allocations: 0.7775 MB / 0.9957 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006752/2.369, allocations: 91.19 kB / 0.9958 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003906/2.373, allocations: 2.099 MB / 0.9978 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.767e-06/2.373, allocations: 0 / 0.9978 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01531/2.388, allocations: 2.977 MB / 1.001 GB, free: 163 MB / 0.5762 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 () * Number of clocked 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 {(96,5.5%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/2.389, allocations: 200.3 kB / 1.001 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.05625/2.445, allocations: 17.61 MB / 1.018 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.445, allocations: 0 / 1.018 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.02214/2.468, allocations: 6.88 MB / 1.025 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/2.471, allocations: 325.3 kB / 1.025 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/2.488, allocations: 9.843 MB / 1.035 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/2.49, allocations: 2.587 MB / 1.037 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00238/2.493, allocations: 459.9 kB / 1.038 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007846/2.493, allocations: 245 kB / 1.038 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.273e-06/2.493, allocations: 0 / 1.038 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.1527/2.646, allocations: 109.2 MB / 1.145 GB, free: 57.19 MB / 0.5762 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)