Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.conf.json Using package ObjectStab with version 1.1 Dev (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ObjectStab.Examples.KundurHJW.Linefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Linefault") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002653/0.002653, allocations: 348.1 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.184/3.184, allocations: 341.5 MB / 358.2 MB, free: 28.73 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003603/0.003603, allocations: 228 kB / 397.9 MB, free: 6.145 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo): time 0.08984/0.08984, allocations: 13.86 MB / 451.2 MB, free: 30.89 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007791/0.0007794, allocations: 20 kB / 0.4903 GB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.122, allocations: 40.41 MB / 0.5298 GB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4688, allocations: 77.63 MB / 0.6056 GB, free: 8.566 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.4691, allocations: 76.47 kB / 0.6057 GB, free: 8.492 MB / 298.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/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.6746/1.144, allocations: 85.19 MB / 0.6888 GB, free: 74.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.457e-06/1.144, allocations: 0 / 0.6888 GB, free: 74.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006122/1.144, allocations: 91.16 kB / 0.6889 GB, free: 74.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 708 * Number of variables: 708 Notification: Performance of Generate backend data structure: time 0.04132/1.186, allocations: 5.563 MB / 0.6944 GB, free: 72.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.186, allocations: 7.625 kB / 0.6944 GB, free: 72.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/1.189, allocations: 454.6 kB / 0.6948 GB, free: 71.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/1.207, allocations: 3.199 MB / 0.6979 GB, free: 71.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006967/1.208, allocations: 423.7 kB / 0.6983 GB, free: 71.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/1.21, allocations: 313.3 kB / 0.6986 GB, free: 71.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1.224, allocations: 3.821 MB / 0.7024 GB, free: 70.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.413e-05/1.224, allocations: 0 / 0.7024 GB, free: 70.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007386/1.225, allocations: 118.6 kB / 0.7025 GB, free: 70.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/1.225, allocations: 64.66 kB / 0.7025 GB, free: 70.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/1.24, allocations: 4.114 MB / 0.7066 GB, free: 69.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04346/1.283, allocations: 12.34 MB / 0.7186 GB, free: 62.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/1.307, allocations: 6.393 MB / 0.7248 GB, free: 58.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00721/1.314, allocations: 2.245 MB / 0.727 GB, free: 55.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/1.315, allocations: 62.39 kB / 0.7271 GB, free: 55.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008146/1.323, allocations: 2.329 MB / 0.7294 GB, free: 53.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=352): time 7.925e-06/1.323, allocations: 0 / 0.7294 GB, free: 53.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=521): time 0.603/1.926, allocations: 54.65 MB / 0.7827 GB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002839/1.926, allocations: 419.9 kB / 0.7831 GB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.939, allocations: 3.143 MB / 0.7862 GB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001831/1.941, allocations: 117.7 kB / 0.7863 GB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/1.943, allocations: 1.354 MB / 0.7877 GB, free: 9.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003841/1.947, allocations: 1.775 MB / 0.7894 GB, free: 7.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009092/1.948, allocations: 92 kB / 0.7895 GB, free: 7.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000425/1.948, allocations: 496.5 kB / 0.7899 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.012/1.96, allocations: 3.176 MB / 0.793 GB, free: 3.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2671/2.227, allocations: 3.801 MB / 0.7968 GB, free: 78.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/2.241, allocations: 3.474 MB / 0.8002 GB, free: 78.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/2.241, allocations: 3.766 kB / 0.8002 GB, free: 78.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=619) (initialization): time 0.1808/2.422, allocations: 17.83 MB / 0.8176 GB, free: 77.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/2.422, allocations: 11.03 kB / 0.8176 GB, free: 77.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/2.422, allocations: 7.969 kB / 0.8176 GB, free: 77.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1063/2.528, allocations: 11.87 MB / 0.8292 GB, free: 76.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0136/2.542, allocations: 1.773 MB / 0.8309 GB, free: 76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2225/2.765, allocations: 68.39 MB / 0.8977 GB, free: 24.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.014/2.779, allocations: 485.6 kB / 0.8982 GB, free: 24.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001768/2.78, allocations: 169.6 kB / 0.8983 GB, free: 23.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 313 * Array equations: 0 * 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,(16,60.2%) 114} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,23 87} Notification: Performance of prepare postOptimizeDAE: time 0.00443/2.785, allocations: 0.8431 MB / 0.8991 GB, free: 23.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001887/2.787, allocations: 387.2 kB / 0.8995 GB, free: 22.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1463/2.933, allocations: 16.76 MB / 0.9159 GB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-05/2.933, allocations: 48 kB / 0.9159 GB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/2.933, allocations: 24 kB / 0.9159 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001508/2.933, allocations: 31.89 kB / 0.916 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4294/3.363, allocations: 24.5 MB / 0.9399 GB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.741e-05/3.363, allocations: 0.9375 kB / 0.9399 GB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006281/3.369, allocations: 0.5073 MB / 0.9404 GB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08671/3.456, allocations: 9.563 MB / 0.9497 GB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002316/3.458, allocations: 168.1 kB / 0.9499 GB, free: 73.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.166/3.624, allocations: 36.28 MB / 0.9853 GB, free: 63.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/3.625, allocations: 3.688 kB / 0.9853 GB, free: 63.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1593/3.784, allocations: 21.01 MB / 1.006 GB, free: 56.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004945/3.789, allocations: 1.295 MB / 1.007 GB, free: 55.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002637/3.792, allocations: 132.3 kB / 1.007 GB, free: 55.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01343/3.805, allocations: 460 kB / 1.008 GB, free: 55.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003529/3.809, allocations: 457.5 kB / 1.008 GB, free: 55.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001472/3.81, allocations: 159.6 kB / 1.008 GB, free: 55.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00956/3.82, allocations: 2.281 MB / 1.01 GB, free: 54.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.42e-07/3.82, allocations: 3.969 kB / 1.01 GB, free: 54.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01259/3.832, allocations: 1.968 MB / 1.012 GB, free: 54.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 44 (G1.w,G1.delta,G1.lamfd,G1.lam1d,G1.lam1q,G1.lam2q,G1.Gov.TF.x_scaled[1],G1.Exc.AVR.x_scaled[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.w,G2.delta,G2.lamfd,G2.lam1d,G2.lam1q,G2.lam2q,G2.Gov.TF.x_scaled[1],G2.Exc.AVR.x_scaled[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.w,G3.delta,G3.lamfd,G3.lam1d,G3.lam1q,G3.lam2q,G3.Gov.TF.x_scaled[1],G3.Exc.AVR.x_scaled[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.w,G4.delta,G4.lamfd,G4.lam1d,G4.lam1q,G4.lam2q,G4.Gov.TF.x_scaled[1],G4.Exc.AVR.x_scaled[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: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 269 * 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 {(16,60.2%) 114} * Non-linear torn systems: 1 {16 114} Notification: Performance of Backend phase and start with SimCode phase: time 0.002366/3.835, allocations: 249.8 kB / 1.013 GB, free: 54.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05449/3.889, allocations: 12.51 MB / 1.025 GB, free: 47.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/3.889, allocations: 8 kB / 1.025 GB, free: 47.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0248/3.914, allocations: 6.061 MB / 1.031 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008576/3.923, allocations: 0.5319 MB / 1.031 GB, free: 41.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/3.973, allocations: 13.48 MB / 1.044 GB, free: 31.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003816/3.976, allocations: 2.525 MB / 1.047 GB, free: 29.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004182/3.981, allocations: 478 kB / 1.047 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/3.983, allocations: 191.1 kB / 1.048 GB, free: 28.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/3.983, allocations: 0 / 1.048 GB, free: 28.62 MB / 378.7 MB Notification: Performance of Templates: time 0.573/4.556, allocations: 144.1 MB / 1.188 GB, free: 12.7 MB / 378.7 MB