Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 174.3 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.451/1.451, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009868/0.0009869, allocations: 84.11 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4441/0.4441, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.66e-05, allocations: 4 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 69.34 MB / 0.548 GB, free: 20 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.4217, allocations: 99.23 MB / 0.6449 GB, free: 1.305 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.422, allocations: 83.95 kB / 0.645 GB, free: 1.223 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4684/0.8904, allocations: 62.04 MB / 0.7056 GB, free: 99.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.8904, allocations: 4 kB / 0.7056 GB, free: 99.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001956/0.8906, allocations: 49.88 kB / 0.7056 GB, free: 99.9 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01222/0.9028, allocations: 3.788 MB / 0.7093 GB, free: 97.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.9029, allocations: 14.81 kB / 0.7093 GB, free: 97.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.9129, allocations: 1.583 MB / 0.7109 GB, free: 97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.9158, allocations: 1.493 MB / 0.7123 GB, free: 95.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006773/0.9165, allocations: 0.6853 MB / 0.713 GB, free: 95.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006921/0.9172, allocations: 201.3 kB / 0.7132 GB, free: 95.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/0.921, allocations: 2.43 MB / 0.7156 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.9211, allocations: 0 / 0.7156 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.9213, allocations: 80 kB / 0.7157 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.9213, allocations: 44 kB / 0.7157 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/0.9246, allocations: 2.187 MB / 0.7178 GB, free: 90.48 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.01557/0.9402, allocations: 9.71 MB / 0.7273 GB, free: 80.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008794/0.949, allocations: 4.064 MB / 0.7313 GB, free: 76.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002133/0.9512, allocations: 1.454 MB / 0.7327 GB, free: 74.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.9515, allocations: 41.88 kB / 0.7327 GB, free: 74.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.9515, allocations: 60.5 kB / 0.7328 GB, free: 74.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 4.268e-06/0.9515, allocations: 0 / 0.7328 GB, free: 74.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03476/0.9863, allocations: 12.1 MB / 0.7446 GB, free: 62.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.9864, allocations: 136.7 kB / 0.7447 GB, free: 62.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/0.9889, allocations: 1.676 MB / 0.7464 GB, free: 60.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007536/0.9897, allocations: 69.7 kB / 0.7464 GB, free: 60.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000631/0.9903, allocations: 1.119 MB / 0.7475 GB, free: 59.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000992/0.9913, allocations: 0.794 MB / 0.7483 GB, free: 58.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.9915, allocations: 44 kB / 0.7484 GB, free: 58.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9917, allocations: 386.3 kB / 0.7487 GB, free: 58.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.9935, allocations: 1.172 MB / 0.7499 GB, free: 57.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.9954, allocations: 1.471 MB / 0.7513 GB, free: 55.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.9974, allocations: 1.287 MB / 0.7526 GB, free: 54.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.9974, allocations: 0 / 0.7526 GB, free: 54.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03506/1.032, allocations: 12.32 MB / 0.7646 GB, free: 41.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004058/1.033, allocations: 2.745 MB / 0.7673 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.033, allocations: 8 kB / 0.7673 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01632/1.049, allocations: 5.305 MB / 0.7725 GB, free: 33.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/1.051, allocations: 311.6 kB / 0.7728 GB, free: 33.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0408/1.092, allocations: 19.27 MB / 0.7916 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003901/1.096, allocations: 493.7 kB / 0.792 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/1.096, allocations: 79.97 kB / 0.7921 GB, free: 13.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.096, allocations: 4 kB / 0.7921 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03392/1.13, allocations: 12.05 MB / 0.8039 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/1.13, allocations: 4 kB / 0.8039 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/1.148, allocations: 5.308 MB / 0.8091 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.149, allocations: 303.6 kB / 0.8094 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04423/1.194, allocations: 19.25 MB / 0.8282 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.197, allocations: 473.9 kB / 0.8286 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000434/1.198, allocations: 83.92 kB / 0.8287 GB, free: 7.52 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007265/1.199, allocations: 225.7 kB / 0.8289 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/1.199, allocations: 276.6 kB / 0.8292 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03845/1.238, allocations: 12.44 MB / 0.8413 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/1.238, allocations: 24 kB / 0.8414 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-05/1.238, allocations: 20 kB / 0.8414 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-05/1.238, allocations: 11.95 kB / 0.8414 GB, free: 10.5 MB / 0.5261 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.04508/1.283, allocations: 15.96 MB / 0.857 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.283, allocations: 12.06 kB / 0.857 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.285, allocations: 255.6 kB / 0.8572 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01531/1.3, allocations: 4.871 MB / 0.862 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005233/1.301, allocations: 43.98 kB / 0.862 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03639/1.337, allocations: 15.35 MB / 0.877 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.337, allocations: 4 kB / 0.877 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04287/1.38, allocations: 14.34 MB / 0.891 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.381, allocations: 393.2 kB / 0.8914 GB, free: 6.914 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000876/1.382, allocations: 43.92 kB / 0.8914 GB, free: 6.871 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003386/1.385, allocations: 371.7 kB / 0.8918 GB, free: 6.508 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002025/1.387, allocations: 0.5446 MB / 0.8923 GB, free: 5.965 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/1.388, allocations: 59.98 kB / 0.8924 GB, free: 5.906 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002167/1.39, allocations: 1.286 MB / 0.8936 GB, free: 4.605 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.7e-07/1.39, allocations: 0 / 0.8936 GB, free: 4.605 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005403/1.395, allocations: 1.712 MB / 0.8953 GB, free: 2.891 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005898/1.396, allocations: 186.9 kB / 0.8955 GB, free: 2.699 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.284/1.68, allocations: 9.694 MB / 0.905 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.68, allocations: 0 / 0.905 GB, free: 178.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01204/1.692, allocations: 3.937 MB / 0.9088 GB, free: 177.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/1.695, allocations: 192.3 kB / 0.909 GB, free: 177.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009794/1.704, allocations: 4.16 MB / 0.913 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.706, allocations: 1.811 MB / 0.9148 GB, free: 175.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002038/1.708, allocations: 355.2 kB / 0.9152 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/1.708, allocations: 109.6 kB / 0.9153 GB, free: 175.8 MB / 0.573 GB Notification: Performance of SimCode: time 8.31e-07/1.708, allocations: 0 / 0.9153 GB, free: 175.8 MB / 0.573 GB Notification: Performance of Templates: time 0.09538/1.804, allocations: 76.15 MB / 0.9896 GB, free: 120 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)