Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.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.Lineopen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002694/0.002694, allocations: 349.3 kB / 15.94 MB, free: 6.215 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.375/3.375, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003571/0.003571, allocations: 222.2 kB / 397.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-Dev/package.mo): time 0.08709/0.08709, allocations: 13.86 MB / 451.2 MB, free: 174.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004685, allocations: 12 kB / 0.4903 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07419/0.07469, allocations: 40.42 MB / 0.5298 GB, free: 83.57 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.1851, allocations: 77.35 MB / 0.6053 GB, free: 6.109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.1854, allocations: 75.97 kB / 0.6054 GB, free: 6.035 MB / 362.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.6173/0.8027, allocations: 81.48 MB / 0.6849 GB, free: 70.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8028, allocations: 0 / 0.6849 GB, free: 70.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005069/0.8033, allocations: 91.81 kB / 0.685 GB, free: 69.94 MB / 362.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.03143/0.8347, allocations: 5.313 MB / 0.6902 GB, free: 64.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.8348, allocations: 8.031 kB / 0.6902 GB, free: 64.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.8379, allocations: 427 kB / 0.6906 GB, free: 64.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.8522, allocations: 3.094 MB / 0.6937 GB, free: 60.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/0.8529, allocations: 371.8 kB / 0.694 GB, free: 60.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001813/0.8547, allocations: 291.8 kB / 0.6943 GB, free: 60.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.8697, allocations: 3.564 MB / 0.6978 GB, free: 56.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.8699, allocations: 0 / 0.6978 GB, free: 56.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/0.8713, allocations: 112 kB / 0.6979 GB, free: 56.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.8714, allocations: 63.95 kB / 0.6979 GB, free: 56.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.8868, allocations: 3.92 MB / 0.7018 GB, free: 52.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/0.9285, allocations: 11.41 MB / 0.7129 GB, free: 41.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02255/0.9511, allocations: 6.173 MB / 0.7189 GB, free: 34.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007164/0.9584, allocations: 2.12 MB / 0.721 GB, free: 32.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.9591, allocations: 58.52 kB / 0.7211 GB, free: 32.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007668/0.9668, allocations: 2.229 MB / 0.7232 GB, free: 30.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=335): time 7.444e-06/0.9668, allocations: 0 / 0.7232 GB, free: 30.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=488): time 0.797/1.764, allocations: 51.95 MB / 0.774 GB, free: 76.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/1.764, allocations: 413.4 kB / 0.7744 GB, free: 76.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/1.776, allocations: 3.056 MB / 0.7774 GB, free: 76.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001862/1.778, allocations: 115.3 kB / 0.7775 GB, free: 76.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/1.779, allocations: 1.258 MB / 0.7787 GB, free: 75.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00315/1.783, allocations: 1.669 MB / 0.7803 GB, free: 75.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/1.784, allocations: 92.62 kB / 0.7804 GB, free: 75.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003302/1.784, allocations: 478.2 kB / 0.7809 GB, free: 74.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01092/1.795, allocations: 3.026 MB / 0.7838 GB, free: 74.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/1.808, allocations: 3.596 MB / 0.7873 GB, free: 72.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.82, allocations: 3.302 MB / 0.7906 GB, free: 70.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-05/1.82, allocations: 6.719 kB / 0.7906 GB, free: 70.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.171/1.991, allocations: 17.04 MB / 0.8072 GB, free: 65.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/1.991, allocations: 8.281 kB / 0.8072 GB, free: 65.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/1.991, allocations: 9.891 kB / 0.8072 GB, free: 65.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1024/2.094, allocations: 11.3 MB / 0.8183 GB, free: 63.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01348/2.107, allocations: 1.763 MB / 0.82 GB, free: 62.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2077/2.315, allocations: 64.78 MB / 0.8832 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/2.328, allocations: 467.6 kB / 0.8837 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001828/2.33, allocations: 165.7 kB / 0.8838 GB, free: 12.88 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 306 * 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,(14,68.4%) 100} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,21 73} Notification: Performance of prepare postOptimizeDAE: time 0.004575/2.335, allocations: 0.7958 MB / 0.8846 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/2.337, allocations: 367.4 kB / 0.885 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4117/2.749, allocations: 15.99 MB / 0.9006 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.032e-05/2.749, allocations: 49.53 kB / 0.9006 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/2.749, allocations: 21.38 kB / 0.9006 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001593/2.749, allocations: 25.97 kB / 0.9007 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1677/2.917, allocations: 23.19 MB / 0.9233 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-05/2.917, allocations: 1.25 kB / 0.9233 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006173/2.923, allocations: 0.5074 MB / 0.9238 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08262/3.006, allocations: 9.017 MB / 0.9326 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002017/3.008, allocations: 164.3 kB / 0.9328 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1423/3.15, allocations: 33.01 MB / 0.965 GB, free: 63.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/3.15, allocations: 2.5 kB / 0.965 GB, free: 63.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1541/3.304, allocations: 19.98 MB / 0.9845 GB, free: 53.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005229/3.309, allocations: 1.235 MB / 0.9857 GB, free: 51.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002946/3.312, allocations: 127.5 kB / 0.9858 GB, free: 51.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0134/3.326, allocations: 456 kB / 0.9863 GB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003537/3.33, allocations: 417.1 kB / 0.9867 GB, free: 50.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001549/3.331, allocations: 155.9 kB / 0.9868 GB, free: 50.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009702/3.341, allocations: 2.231 MB / 0.989 GB, free: 48.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.573e-06/3.341, allocations: 0 / 0.989 GB, free: 48.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01079/3.352, allocations: 1.849 MB / 0.9908 GB, free: 46.66 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: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 268 * 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 {14 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.002018/3.354, allocations: 243.2 kB / 0.991 GB, free: 46.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05191/3.406, allocations: 11.93 MB / 1.003 GB, free: 34.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/3.406, allocations: 4 kB / 1.003 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02279/3.429, allocations: 5.633 MB / 1.008 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006944/3.436, allocations: 0.513 MB / 1.009 GB, free: 28.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04611/3.482, allocations: 12.88 MB / 1.021 GB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/3.484, allocations: 2.422 MB / 1.024 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003522/3.488, allocations: 459.9 kB / 1.024 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/3.489, allocations: 199.4 kB / 1.024 GB, free: 12.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/3.489, allocations: 0 / 1.024 GB, free: 12.41 MB / 378.7 MB Notification: Performance of Templates: time 0.5752/4.065, allocations: 136.5 MB / 1.158 GB, free: 15.26 MB / 394.7 MB