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: "" <> buildModelFMU(ObjectStab.Examples.KundurHJW.Linefault,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Linefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01451/0.01451, allocations: 164.8 kB / 15.11 MB, free: 5.93 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 1.804/1.804, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001983/0.001983, allocations: 110.6 kB / 226.2 MB, free: 10.09 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.04433/0.04433, allocations: 6.926 MB / 272.6 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004933, allocations: 12 kB / 323.6 MB, free: 58.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08208, allocations: 40.43 MB / 364 MB, free: 18.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.4798, allocations: 77.63 MB / 441.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4801, allocations: 68.84 kB / 441.7 MB, free: 13.7 MB / 282.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.467/0.9471, allocations: 85.2 MB / 0.5145 GB, free: 8.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.9472, allocations: 0 / 0.5145 GB, free: 8.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005821/0.9478, allocations: 95.81 kB / 0.5146 GB, free: 8.809 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.03494/0.9827, allocations: 5.567 MB / 0.5201 GB, free: 3.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.9828, allocations: 8.031 kB / 0.5201 GB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002901/0.9857, allocations: 409.6 kB / 0.5205 GB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.9883, allocations: 450.8 kB / 0.5209 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/1.005, allocations: 3.204 MB / 0.524 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008553/1.006, allocations: 422 kB / 0.5244 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002215/1.008, allocations: 307.8 kB / 0.5247 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/1.027, allocations: 3.799 MB / 0.5284 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/1.027, allocations: 4.344 kB / 0.5284 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001686/1.029, allocations: 123.9 kB / 0.5286 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/1.029, allocations: 75.94 kB / 0.5286 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/1.048, allocations: 4.106 MB / 0.5326 GB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3181/1.366, allocations: 12.33 MB / 0.5447 GB, free: 70.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02488/1.391, allocations: 6.482 MB / 0.551 GB, free: 69.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009859/1.392, allocations: 60.73 kB / 0.5511 GB, free: 69.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009337/1.402, allocations: 2.31 MB / 0.5533 GB, free: 69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=352): time 8.646e-06/1.402, allocations: 0 / 0.5533 GB, free: 69 MB / 362.7 MB Notification: Performance of matching and sorting (n=521): time 0.5994/2.001, allocations: 54.78 MB / 0.6068 GB, free: 61.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/2.002, allocations: 419.9 kB / 0.6072 GB, free: 60.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/2.013, allocations: 2.843 MB / 0.61 GB, free: 57.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002033/2.015, allocations: 117.7 kB / 0.6101 GB, free: 57.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/2.017, allocations: 1.355 MB / 0.6114 GB, free: 56.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003329/2.02, allocations: 1.779 MB / 0.6132 GB, free: 55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/2.021, allocations: 100 kB / 0.6133 GB, free: 54.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003084/2.022, allocations: 496.1 kB / 0.6137 GB, free: 54.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/2.032, allocations: 3.172 MB / 0.6168 GB, free: 51.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01195/2.044, allocations: 3.788 MB / 0.6205 GB, free: 47.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/2.057, allocations: 3.475 MB / 0.6239 GB, free: 43.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/2.057, allocations: 0 / 0.6239 GB, free: 43.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=619) (initialization): time 0.1738/2.231, allocations: 17.83 MB / 0.6413 GB, free: 26.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/2.231, allocations: 8 kB / 0.6414 GB, free: 26.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/2.231, allocations: 8 kB / 0.6414 GB, free: 26.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1051/2.336, allocations: 11.87 MB / 0.653 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/2.35, allocations: 1.775 MB / 0.6547 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5143/2.864, allocations: 70.42 MB / 0.7235 GB, free: 55.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01408/2.878, allocations: 487.1 kB / 0.7239 GB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002228/2.88, allocations: 168.2 kB / 0.7241 GB, free: 55.57 MB / 378.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.005458/2.886, allocations: 0.8303 MB / 0.7249 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/2.888, allocations: 387.2 kB / 0.7253 GB, free: 55.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.15/3.038, allocations: 16.76 MB / 0.7416 GB, free: 49.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.455e-05/3.038, allocations: 53.11 kB / 0.7417 GB, free: 49.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.763e-05/3.039, allocations: 24.59 kB / 0.7417 GB, free: 49.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001879/3.039, allocations: 30.41 kB / 0.7417 GB, free: 49.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2429/3.282, allocations: 24.51 MB / 0.7657 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-05/3.282, allocations: 1.25 kB / 0.7657 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006108/3.288, allocations: 0.5091 MB / 0.7662 GB, free: 40.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08578/3.374, allocations: 9.557 MB / 0.7755 GB, free: 39.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00209/3.376, allocations: 167.7 kB / 0.7757 GB, free: 39.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2074/3.583, allocations: 37.89 MB / 0.8127 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/3.583, allocations: 0 / 0.8127 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4897/4.073, allocations: 21.35 MB / 0.8335 GB, free: 68.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005521/4.079, allocations: 1.292 MB / 0.8348 GB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002615/4.081, allocations: 131.6 kB / 0.8349 GB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01363/4.095, allocations: 460.6 kB / 0.8353 GB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004232/4.099, allocations: 451.2 kB / 0.8358 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001812/4.101, allocations: 163.6 kB / 0.8359 GB, free: 68.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01071/4.112, allocations: 2.291 MB / 0.8382 GB, free: 68.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/4.112, allocations: 0 / 0.8382 GB, free: 68.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01031/4.122, allocations: 1.967 MB / 0.8401 GB, free: 68.48 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.1946/4.317, allocations: 22.12 MB / 0.8617 GB, free: 66.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.05575/4.373, allocations: 12.37 MB / 0.8738 GB, free: 63.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/4.373, allocations: 3.562 kB / 0.8738 GB, free: 63.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02497/4.398, allocations: 6.049 MB / 0.8797 GB, free: 60.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006252/4.404, allocations: 468 kB / 0.8801 GB, free: 60.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06015/4.464, allocations: 20.75 MB / 0.9004 GB, free: 47.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004202/4.469, allocations: 2.529 MB / 0.9029 GB, free: 46.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003977/4.473, allocations: 476.8 kB / 0.9033 GB, free: 46.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004811/4.478, allocations: 1.62 MB / 0.9049 GB, free: 45.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/4.478, allocations: 0 / 0.9049 GB, free: 45.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6908/5.169, allocations: 175.5 MB / 1.076 GB, free: 17.6 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/5.169, allocations: 194.8 kB / 1.076 GB, free: 17.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.564/14.73, allocations: 0 / 1.076 GB, free: 17.36 MB / 394.7 MB