Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo", uses=false) Using package ObjectStab with version 1.1 Dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ObjectStab.Examples.KundurHJW.Lineopen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen") translateModel(ObjectStab.Examples.KundurHJW.Lineopen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009953/0.0009953, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.169/1.169, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001563/0.001563, allocations: 107.5 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.02415/0.02415, allocations: 6.804 MB / 269.2 MB, free: 20.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.4e-05, allocations: 4 kB / 317.5 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1929, allocations: 40.42 MB / 357.9 MB, free: 34.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0828/0.2757, allocations: 77.27 MB / 435.2 MB, free: 5.027 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.276, allocations: 66.97 kB / 435.3 MB, free: 4.965 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/Base/wRefPin.mo:2:1-14:12:writable] Warning: Connector .ObjectStab.Base.wRefPin is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of FrontEnd - DAE generated: time 0.3876/0.6636, allocations: 81.43 MB / 0.5046 GB, free: 35.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6637, allocations: 0 / 0.5046 GB, free: 35.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002505/0.6639, allocations: 87.88 kB / 0.5047 GB, free: 34.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 646 * Number of variables: 646 Notification: Performance of Generate backend data structure: time 0.01161/0.6756, allocations: 4.147 MB / 0.5087 GB, free: 30.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6756, allocations: 8.031 kB / 0.5087 GB, free: 30.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.6772, allocations: 430.9 kB / 0.5092 GB, free: 30.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.6817, allocations: 2.618 MB / 0.5117 GB, free: 27.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.682, allocations: 379.8 kB / 0.5121 GB, free: 27.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.6826, allocations: 291.8 kB / 0.5124 GB, free: 26.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/0.6876, allocations: 3.35 MB / 0.5156 GB, free: 23.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.6877, allocations: 0 / 0.5156 GB, free: 23.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.688, allocations: 104 kB / 0.5157 GB, free: 23.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.6881, allocations: 63.95 kB / 0.5158 GB, free: 23.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005422/0.6935, allocations: 3.554 MB / 0.5193 GB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.7137, allocations: 11.4 MB / 0.5304 GB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.7241, allocations: 5.755 MB / 0.536 GB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/0.7275, allocations: 1.939 MB / 0.5379 GB, free: 408 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.7279, allocations: 58.56 kB / 0.538 GB, free: 348 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004044/0.7319, allocations: 2.038 MB / 0.5399 GB, free: 14.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=335): time 5.831e-06/0.732, allocations: 0 / 0.5399 GB, free: 14.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=536): time 0.4909/1.223, allocations: 97.06 MB / 0.6347 GB, free: 75.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08187/1.305, allocations: 35.4 MB / 0.6693 GB, free: 43.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/1.308, allocations: 2.289 MB / 0.6715 GB, free: 41.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001371/1.31, allocations: 117.7 kB / 0.6717 GB, free: 41.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007952/1.31, allocations: 1.256 MB / 0.6729 GB, free: 40.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003424/1.314, allocations: 1.848 MB / 0.6747 GB, free: 38.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008353/1.315, allocations: 96 kB / 0.6748 GB, free: 38.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/1.315, allocations: 0.4972 MB / 0.6753 GB, free: 38.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0092/1.324, allocations: 7.065 MB / 0.6822 GB, free: 31.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/1.334, allocations: 7.651 MB / 0.6896 GB, free: 23.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.345, allocations: 7.435 MB / 0.6969 GB, free: 15.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/1.345, allocations: 4 kB / 0.6969 GB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=652) (initialization): time 0.09528/1.441, allocations: 25.56 MB / 0.7219 GB, free: 6.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/1.441, allocations: 14.19 kB / 0.7219 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/1.441, allocations: 11.94 kB / 0.7219 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2517/1.693, allocations: 11.2 MB / 0.7328 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008466/1.701, allocations: 2.057 MB / 0.7348 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1025/1.804, allocations: 63.47 MB / 0.7968 GB, free: 51.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0522/1.856, allocations: 3.757 MB / 0.8005 GB, free: 51.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00162/1.857, allocations: 499.6 kB / 0.801 GB, free: 51.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 330 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(14,63.3%) 100} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,21 73} Notification: Performance of prepare postOptimizeDAE: time 0.001639/1.859, allocations: 338.1 kB / 0.8013 GB, free: 50.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/1.86, allocations: 377.5 kB / 0.8016 GB, free: 50.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1703/2.031, allocations: 56.18 MB / 0.8565 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3907/2.421, allocations: 42.6 MB / 0.8981 GB, free: 74.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-05/2.422, allocations: 26.83 kB / 0.8981 GB, free: 74.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001769/2.422, allocations: 27.28 kB / 0.8982 GB, free: 74.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1829/2.605, allocations: 71.43 MB / 0.9679 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.277e-05/2.605, allocations: 4 kB / 0.9679 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004969/2.61, allocations: 0.7993 MB / 0.9687 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.118/2.728, allocations: 32.02 MB / 1 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002461/2.73, allocations: 355.1 kB / 1 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4018/3.132, allocations: 93.69 MB / 1.092 GB, free: 65.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07365/3.206, allocations: 31.82 MB / 1.123 GB, free: 33.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3925/3.598, allocations: 54.8 MB / 1.176 GB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006134/3.604, allocations: 2.408 MB / 1.179 GB, free: 88.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/3.607, allocations: 128.9 kB / 1.179 GB, free: 88.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02994/3.637, allocations: 1.919 MB / 1.181 GB, free: 88.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003472/3.64, allocations: 0.7262 MB / 1.181 GB, free: 88.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001054/3.641, allocations: 343.1 kB / 1.182 GB, free: 88.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002628/3.644, allocations: 1.754 MB / 1.183 GB, free: 88.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.11e-07/3.644, allocations: 0 / 1.183 GB, free: 88.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0254/3.669, allocations: 12.07 MB / 1.195 GB, free: 88.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 44 ($STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],G1.Gov.TF.x[1],G1.Exc.AVR.x[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.Gov.TF.x[1],G2.Exc.AVR.x[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.Gov.TF.x[1],G3.Exc.AVR.x[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.Gov.TF.x[1],G4.Exc.AVR.x[1],G4.Exc.WashOut.x_scaled[1],G4.Exc.Phase_Compensation1.x_scaled[1],G4.Exc.Phase_Compensation2.x_scaled[1]) * Number of discrete variables: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 284 * 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 {(14,63.3%) 100} * Non-linear torn systems: 1 {38 108} Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/3.671, allocations: 256.8 kB / 1.196 GB, free: 87.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03714/3.708, allocations: 21.52 MB / 1.217 GB, free: 74.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/3.708, allocations: 0 / 1.217 GB, free: 74.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04732/3.755, allocations: 24.05 MB / 1.24 GB, free: 52.83 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008027/3.763, allocations: 0.4966 MB / 1.241 GB, free: 52.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/3.797, allocations: 17.82 MB / 1.258 GB, free: 34.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002424/3.8, allocations: 3.25 MB / 1.261 GB, free: 31.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00529/3.805, allocations: 0.9986 MB / 1.262 GB, free: 30.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004854/3.81, allocations: 0.7356 MB / 1.263 GB, free: 29.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/3.81, allocations: 0 / 1.263 GB, free: 29.42 MB / 394.7 MB Notification: Performance of Templates: time 0.731/4.541, allocations: 241.2 MB / 1.498 GB, free: 81 MB / 410.7 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe 2>&1)