Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.System.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.System,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.System") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00273/0.002735, allocations: 349.2 kB / 15.94 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.407/3.407, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003531/0.00353, allocations: 210.1 kB / 397.9 MB, free: 4.984 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.0906/0.0906, allocations: 13.86 MB / 451.2 MB, free: 174.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004604, allocations: 8 kB / 0.4903 GB, free: 124.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07483/0.07531, allocations: 40.42 MB / 0.5298 GB, free: 83.58 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.1826, allocations: 76.2 MB / 0.6042 GB, free: 7.266 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.1829, allocations: 75.97 kB / 0.6043 GB, free: 7.191 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.6665/0.8494, allocations: 77.95 MB / 0.6804 GB, free: 74.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.4e-06/0.8495, allocations: 0 / 0.6804 GB, free: 74.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000511/0.85, allocations: 87.81 kB / 0.6805 GB, free: 74.52 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.03094/0.881, allocations: 5.104 MB / 0.6855 GB, free: 69.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.881, allocations: 12.03 kB / 0.6855 GB, free: 69.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/0.8841, allocations: 407.2 kB / 0.6859 GB, free: 68.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.8978, allocations: 2.968 MB / 0.6887 GB, free: 65.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/0.8984, allocations: 300 kB / 0.689 GB, free: 65.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.9, allocations: 263.8 kB / 0.6893 GB, free: 65.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.912, allocations: 3.342 MB / 0.6925 GB, free: 61.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-05/0.9121, allocations: 0 / 0.6925 GB, free: 61.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006171/0.9128, allocations: 96 kB / 0.6926 GB, free: 61.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/0.9128, allocations: 67.94 kB / 0.6927 GB, free: 61.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.9267, allocations: 3.786 MB / 0.6964 GB, free: 57.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03813/0.9649, allocations: 10.62 MB / 0.7068 GB, free: 47.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0216/0.9865, allocations: 6.024 MB / 0.7127 GB, free: 41.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00664/0.9932, allocations: 2.039 MB / 0.7146 GB, free: 38.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005653/0.9939, allocations: 46.48 kB / 0.7147 GB, free: 38.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007099/1.001, allocations: 2.173 MB / 0.7168 GB, free: 36.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=323): time 7.865e-06/1.001, allocations: 0 / 0.7168 GB, free: 36.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=466): time 0.8279/1.829, allocations: 51.39 MB / 0.767 GB, free: 82.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/1.829, allocations: 410.4 kB / 0.7674 GB, free: 82.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.841, allocations: 2.988 MB / 0.7703 GB, free: 81.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00188/1.843, allocations: 109.3 kB / 0.7704 GB, free: 81.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/1.844, allocations: 1.173 MB / 0.7716 GB, free: 81.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003284/1.848, allocations: 1.604 MB / 0.7731 GB, free: 80.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008484/1.849, allocations: 85 kB / 0.7732 GB, free: 80.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003273/1.849, allocations: 473.4 kB / 0.7737 GB, free: 80.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01088/1.86, allocations: 2.924 MB / 0.7765 GB, free: 80.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01233/1.872, allocations: 3.46 MB / 0.7799 GB, free: 78.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.884, allocations: 3.192 MB / 0.783 GB, free: 77.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/1.885, allocations: 2 kB / 0.783 GB, free: 77.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.1722/2.057, allocations: 16.79 MB / 0.7994 GB, free: 72.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/2.057, allocations: 6.875 kB / 0.7994 GB, free: 72.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/2.057, allocations: 7.531 kB / 0.7994 GB, free: 72.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1059/2.163, allocations: 11.22 MB / 0.8104 GB, free: 70.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/2.176, allocations: 1.758 MB / 0.8121 GB, free: 70.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1987/2.375, allocations: 62.71 MB / 0.8733 GB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/2.388, allocations: 463.6 kB / 0.8738 GB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/2.39, allocations: 151.9 kB / 0.8739 GB, free: 7.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 300 * 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,(12,61.1%) 92} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,19 65} Notification: Performance of prepare postOptimizeDAE: time 0.004256/2.395, allocations: 0.7498 MB / 0.8746 GB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/2.397, allocations: 355.6 kB / 0.875 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1466/2.543, allocations: 15.74 MB / 0.8904 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-05/2.543, allocations: 44 kB / 0.8904 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-05/2.543, allocations: 22.58 kB / 0.8904 GB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001625/2.544, allocations: 23.91 kB / 0.8904 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.452/2.996, allocations: 22.51 MB / 0.9124 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-05/2.996, allocations: 0.9062 kB / 0.9124 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00619/3.002, allocations: 0.4957 MB / 0.9129 GB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08666/3.089, allocations: 8.998 MB / 0.9217 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00196/3.091, allocations: 160.8 kB / 0.9219 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1379/3.229, allocations: 31.11 MB / 0.9522 GB, free: 71.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/3.229, allocations: 6.531 kB / 0.9522 GB, free: 71.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1536/3.382, allocations: 19.61 MB / 0.9714 GB, free: 63.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004901/3.387, allocations: 1.199 MB / 0.9726 GB, free: 62.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002526/3.39, allocations: 119.2 kB / 0.9727 GB, free: 62.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01332/3.403, allocations: 447.8 kB / 0.9731 GB, free: 62.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00333/3.407, allocations: 395.3 kB / 0.9735 GB, free: 61.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001441/3.408, allocations: 146.8 kB / 0.9736 GB, free: 61.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009565/3.418, allocations: 2.186 MB / 0.9758 GB, free: 60.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.51e-07/3.418, allocations: 0 / 0.9758 GB, free: 60.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01053/3.428, allocations: 1.775 MB / 0.9775 GB, free: 58.25 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: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (268): * Single equations (assignments): 266 * 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 {(12,61.1%) 92} * Non-linear torn systems: 1 {12 92} Notification: Performance of Backend phase and start with SimCode phase: time 0.002282/3.431, allocations: 241.1 kB / 0.9777 GB, free: 58.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05106/3.482, allocations: 11.54 MB / 0.989 GB, free: 47.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/3.482, allocations: 0 / 0.989 GB, free: 47.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0222/3.504, allocations: 5.348 MB / 0.9942 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008167/3.512, allocations: 0.496 MB / 0.9947 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04774/3.56, allocations: 12.45 MB / 1.007 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/3.563, allocations: 2.335 MB / 1.009 GB, free: 29.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003822/3.567, allocations: 449.8 kB / 1.01 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/3.569, allocations: 183.4 kB / 1.01 GB, free: 28.69 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/3.569, allocations: 0 / 1.01 GB, free: 28.69 MB / 378.7 MB Notification: Performance of Templates: time 0.5506/4.12, allocations: 133.2 MB / 1.14 GB, free: 20.81 MB / 378.7 MB