Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.3/1.3, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008012/0.0008012, allocations: 93.88 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4422/0.4422, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.051e-05, allocations: 4 kB / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3472, allocations: 69.5 MB / 0.5491 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4884, allocations: 102.5 MB / 0.6492 GB, free: 13.11 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.4887, allocations: 79.94 kB / 0.6493 GB, free: 13.03 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.589/1.078, allocations: 101 MB / 0.7479 GB, free: 59.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.078, allocations: 4 kB / 0.7479 GB, free: 59.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002398/1.078, allocations: 87.94 kB / 0.748 GB, free: 59.48 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01754/1.096, allocations: 5.727 MB / 0.7536 GB, free: 53.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.096, allocations: 15.97 kB / 0.7536 GB, free: 53.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/1.113, allocations: 2.779 MB / 0.7563 GB, free: 50.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00648/1.12, allocations: 2.267 MB / 0.7585 GB, free: 48.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008142/1.121, allocations: 0.9634 MB / 0.7595 GB, free: 47.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/1.122, allocations: 340 kB / 0.7598 GB, free: 47.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008399/1.131, allocations: 4.077 MB / 0.7638 GB, free: 42.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.73e-05/1.131, allocations: 0 / 0.7638 GB, free: 42.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/1.131, allocations: 144 kB / 0.7639 GB, free: 42.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/1.131, allocations: 87.98 kB / 0.764 GB, free: 42.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006781/1.138, allocations: 3.613 MB / 0.7675 GB, free: 39.15 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.03506/1.173, allocations: 18.66 MB / 0.7857 GB, free: 19.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009749/1.183, allocations: 4.755 MB / 0.7904 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004279/1.187, allocations: 2.219 MB / 0.7925 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/1.188, allocations: 70.91 kB / 0.7926 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.188, allocations: 73.55 kB / 0.7927 GB, free: 12.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 6.192e-06/1.188, allocations: 4 kB / 0.7927 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.05366/1.241, allocations: 17.44 MB / 0.8097 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.242, allocations: 167.5 kB / 0.8099 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/1.246, allocations: 2.641 MB / 0.8125 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009234/1.247, allocations: 85.7 kB / 0.8125 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/1.249, allocations: 1.983 MB / 0.8145 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002027/1.251, allocations: 1.297 MB / 0.8157 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/1.251, allocations: 72 kB / 0.8158 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002805/1.251, allocations: 437.6 kB / 0.8162 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/1.255, allocations: 1.823 MB / 0.818 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/1.259, allocations: 2.395 MB / 0.8203 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/1.262, allocations: 2.082 MB / 0.8224 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.262, allocations: 4 kB / 0.8224 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05634/1.319, allocations: 17.65 MB / 0.8396 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002973/1.322, allocations: 6.668 MB / 0.8461 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/1.322, allocations: 19.98 kB / 0.8462 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02417/1.346, allocations: 6.915 MB / 0.8529 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/1.349, allocations: 0.5344 MB / 0.8534 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06046/1.409, allocations: 25.55 MB / 0.8784 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/1.416, allocations: 0.7152 MB / 0.8791 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008523/1.416, allocations: 128 kB / 0.8792 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.416, allocations: 6.031 kB / 0.8792 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05119/1.468, allocations: 17.24 MB / 0.896 GB, free: 1.031 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/1.468, allocations: 16 kB / 0.896 GB, free: 1.016 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3912/1.859, allocations: 6.912 MB / 0.9028 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003052/1.862, allocations: 0.531 MB / 0.9033 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05908/1.921, allocations: 25.54 MB / 0.9283 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006285/1.927, allocations: 0.6739 MB / 0.9289 GB, free: 124.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006986/1.928, allocations: 130.4 kB / 0.929 GB, free: 124.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009745/1.929, allocations: 330.9 kB / 0.9294 GB, free: 124.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.93, allocations: 460.4 kB / 0.9298 GB, free: 124.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05191/1.982, allocations: 17.98 MB / 0.9473 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.341e-05/1.982, allocations: 38.52 kB / 0.9474 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.374e-05/1.983, allocations: 29.28 kB / 0.9474 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/1.983, allocations: 19.03 kB / 0.9474 GB, free: 120.9 MB / 0.573 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.06055/2.043, allocations: 23.23 MB / 0.9701 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/2.043, allocations: 1.781 kB / 0.9701 GB, free: 114.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/2.046, allocations: 408.8 kB / 0.9705 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02229/2.068, allocations: 6.969 MB / 0.9773 GB, free: 108.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001083/2.069, allocations: 69.91 kB / 0.9774 GB, free: 108.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04885/2.118, allocations: 22.54 MB / 0.9994 GB, free: 88.95 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.118, allocations: 0 / 0.9994 GB, free: 88.95 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05389/2.172, allocations: 20.8 MB / 1.02 GB, free: 71.94 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/2.174, allocations: 0.5568 MB / 1.02 GB, free: 71.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/2.175, allocations: 64 kB / 1.02 GB, free: 71.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005172/2.18, allocations: 0.503 MB / 1.021 GB, free: 70.99 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003076/2.183, allocations: 0.764 MB / 1.022 GB, free: 70.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005374/2.184, allocations: 95.75 kB / 1.022 GB, free: 70.49 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002911/2.187, allocations: 1.996 MB / 1.024 GB, free: 68.64 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/2.187, allocations: 0 / 1.024 GB, free: 68.64 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009511/2.196, allocations: 2.863 MB / 1.026 GB, free: 65.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000832/2.197, allocations: 221.8 kB / 1.027 GB, free: 65.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0385/2.236, allocations: 14.43 MB / 1.041 GB, free: 52.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/2.236, allocations: 0 / 1.041 GB, free: 52.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01767/2.253, allocations: 5.999 MB / 1.047 GB, free: 47.34 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/2.256, allocations: 306.7 kB / 1.047 GB, free: 47.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/2.268, allocations: 6.01 MB / 1.053 GB, free: 41.55 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/2.27, allocations: 2.598 MB / 1.055 GB, free: 39.62 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003061/2.273, allocations: 0.6025 MB / 1.056 GB, free: 39.21 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006761/2.274, allocations: 182.7 kB / 1.056 GB, free: 39.05 MB / 0.573 GB Notification: Performance of SimCode: time 8.31e-07/2.274, allocations: 0 / 1.056 GB, free: 39.05 MB / 0.573 GB Notification: Performance of Templates: time 0.5756/2.85, allocations: 112.6 MB / 1.166 GB, free: 166.9 MB / 0.6042 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)