Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005374/0.005374, allocations: 172 kB / 15.11 MB, free: 5.969 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.259/1.259, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009527/0.000952, allocations: 99.45 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.4737/0.4737, allocations: 78.58 MB / 419.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 8 kB / 499.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4058, allocations: 69.34 MB / 0.5558 GB, free: 38.65 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.5462, allocations: 102.6 MB / 0.656 GB, free: 3.922 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.5465, allocations: 84.83 kB / 0.6561 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2531/0.7996, allocations: 101.2 MB / 0.7549 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7996, allocations: 0 / 0.7549 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000473/0.8001, allocations: 87.94 kB / 0.755 GB, free: 13.88 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02256/0.8227, allocations: 6.609 MB / 0.7614 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.8227, allocations: 8.031 kB / 0.7615 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/0.8405, allocations: 2.814 MB / 0.7642 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/0.8472, allocations: 2.295 MB / 0.7664 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/0.8484, allocations: 0.9924 MB / 0.7674 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.8499, allocations: 340 kB / 0.7677 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3195/1.169, allocations: 4.942 MB / 0.7726 GB, free: 90.42 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/1.17, allocations: 1.219 kB / 0.7726 GB, free: 90.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000452/1.17, allocations: 139.9 kB / 0.7727 GB, free: 90.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/1.17, allocations: 85.38 kB / 0.7728 GB, free: 90.42 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/1.181, allocations: 4.5 MB / 0.7772 GB, free: 90.39 MB / 0.5573 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.03473/1.216, allocations: 18.64 MB / 0.7954 GB, free: 84.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.228, allocations: 5.681 MB / 0.8009 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.229, allocations: 67.67 kB / 0.801 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006893/1.236, allocations: 3.437 MB / 0.8043 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 5.951e-06/1.236, allocations: 0 / 0.8043 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.2891/1.525, allocations: 77 MB / 0.8795 GB, free: 77.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/1.525, allocations: 141.8 kB / 0.8797 GB, free: 77.63 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/1.53, allocations: 2.742 MB / 0.8824 GB, free: 76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.531, allocations: 88.27 kB / 0.8824 GB, free: 75.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.532, allocations: 2.003 MB / 0.8844 GB, free: 74.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002092/1.534, allocations: 1.307 MB / 0.8857 GB, free: 73.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/1.535, allocations: 76 kB / 0.8857 GB, free: 73.51 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.535, allocations: 449.6 kB / 0.8862 GB, free: 73.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004997/1.54, allocations: 2.67 MB / 0.8888 GB, free: 70.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005217/1.545, allocations: 3.243 MB / 0.8919 GB, free: 67.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005224/1.55, allocations: 2.921 MB / 0.8948 GB, free: 64.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.55, allocations: 4 kB / 0.8948 GB, free: 64.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05364/1.604, allocations: 20.2 MB / 0.9145 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/1.604, allocations: 64.34 kB / 0.9146 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/1.604, allocations: 16 kB / 0.9146 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02528/1.629, allocations: 8.548 MB / 0.9229 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/1.633, allocations: 0.5773 MB / 0.9235 GB, free: 36.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07883/1.712, allocations: 37.06 MB / 0.9597 GB, free: 14.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006219/1.718, allocations: 0.7058 MB / 0.9604 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005316/1.718, allocations: 140 kB / 0.9605 GB, free: 14.04 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002215/1.721, allocations: 0.6521 MB / 0.9612 GB, free: 13.41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.722, allocations: 458.3 kB / 0.9616 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06007/1.782, allocations: 20.57 MB / 0.9817 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.565e-05/1.782, allocations: 36 kB / 0.9817 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.15e-05/1.782, allocations: 28 kB / 0.9818 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001269/1.782, allocations: 23.88 kB / 0.9818 GB, free: 8.242 MB / 0.5886 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.3446/2.127, allocations: 25.53 MB / 1.007 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/2.127, allocations: 0 / 1.007 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002569/2.129, allocations: 390.9 kB / 1.007 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02628/2.156, allocations: 8.6 MB / 1.015 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001039/2.157, allocations: 70.69 kB / 1.016 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08128/2.238, allocations: 34.43 MB / 1.049 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/2.238, allocations: 4 kB / 1.049 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06171/2.3, allocations: 24.25 MB / 1.073 GB, free: 99.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/2.302, allocations: 0.5621 MB / 1.073 GB, free: 99.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001868/2.304, allocations: 64.47 kB / 1.073 GB, free: 99.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005379/2.309, allocations: 497.7 kB / 1.074 GB, free: 99.09 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004444/2.314, allocations: 0.7796 MB / 1.075 GB, free: 98.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007505/2.314, allocations: 92.53 kB / 1.075 GB, free: 98.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003883/2.318, allocations: 2.106 MB / 1.077 GB, free: 98.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.6e-07/2.318, allocations: 0 / 1.077 GB, free: 98.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007198/2.325, allocations: 1.761 MB / 1.079 GB, free: 97.97 MB / 0.5886 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,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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009199/2.326, allocations: 220.4 kB / 1.079 GB, free: 97.83 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02443/2.351, allocations: 9.973 MB / 1.089 GB, free: 94.78 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/2.351, allocations: 0 / 1.089 GB, free: 94.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01921/2.37, allocations: 7.034 MB / 1.095 GB, free: 92.61 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/2.374, allocations: 302.3 kB / 1.096 GB, free: 92.41 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/2.388, allocations: 9.764 MB / 1.105 GB, free: 85.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/2.389, allocations: 2.542 MB / 1.108 GB, free: 83.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00168/2.391, allocations: 298.9 kB / 1.108 GB, free: 83.31 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/2.392, allocations: 198.5 kB / 1.108 GB, free: 83.13 MB / 0.5886 GB Notification: Performance of SimCode: time 1.112e-06/2.392, allocations: 1.969 kB / 1.108 GB, free: 83.13 MB / 0.5886 GB Notification: Performance of Templates: time 0.1056/2.498, allocations: 78.77 MB / 1.185 GB, free: 24.51 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)