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: "" <> buildModelFMU(ObjectStab.Examples.KundurHJW.Lineopen,fileNamePrefix="ObjectStab_ObjectStab_Examples_KundurHJW_Lineopen",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.009137/0.009142, allocations: 163.3 kB / 15.12 MB, free: 5.965 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.611/1.611, allocations: 170.8 MB / 186.7 MB, free: 1.105 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.001646/0.001645, allocations: 106.8 kB / 226.2 MB, free: 10.08 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.0451/0.0451, allocations: 6.926 MB / 272.6 MB, free: 11.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005709/0.0005711, allocations: 12 kB / 323.6 MB, free: 58.9 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08064, allocations: 40.43 MB / 364 MB, free: 18.49 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Lineopen): time 0.01461/0.0953, allocations: 11.42 MB / 375.4 MB, free: 7.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1068, allocations: 4.534 MB / 380 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003366/0.1102, allocations: 43.81 kB / 380 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.1127, allocations: 480.8 kB / 380.5 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.1182, allocations: 1.021 MB / 381.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008686/0.1269, allocations: 2.602 MB / 384.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01167/0.1386, allocations: 5.995 MB / 390.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/0.1415, allocations: 1.073 MB / 391.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006321/0.1479, allocations: 2.484 MB / 393.7 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008068/0.1561, allocations: 3.146 MB / 396.8 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002365/0.1585, allocations: 280 kB / 397.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.1609, allocations: 280 kB / 397.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002719/0.1637, allocations: 1.063 MB / 398.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.1658, allocations: 0.6442 MB / 399.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008044/0.1738, allocations: 4.43 MB / 403.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.1739, allocations: 0 / 403.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1739, allocations: 0 / 403.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002296/0.1742, allocations: 0 / 403.5 MB, free: 10.87 MB / 282.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.03805/0.2122, allocations: 5.473 MB / 409 MB, free: 5.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.2123, allocations: 8.031 kB / 409 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001961/0.2143, allocations: 358.5 kB / 409.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.2161, allocations: 415 kB / 409.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.2292, allocations: 2.75 MB / 412.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005357/0.2298, allocations: 383.8 kB / 412.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.2311, allocations: 287.7 kB / 413.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2509/0.482, allocations: 3.543 MB / 416.7 MB, free: 47.83 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.579e-05/0.4821, allocations: 0 / 416.7 MB, free: 47.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006542/0.4828, allocations: 107.3 kB / 416.8 MB, free: 47.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.4829, allocations: 59.78 kB / 416.8 MB, free: 47.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.4983, allocations: 3.949 MB / 420.8 MB, free: 46.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04636/0.5447, allocations: 11.98 MB / 432.8 MB, free: 39.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/0.5641, allocations: 5.574 MB / 438.3 MB, free: 36.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006854/0.571, allocations: 2.135 MB / 440.5 MB, free: 34.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008763/0.5719, allocations: 53.7 kB / 440.5 MB, free: 34.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007968/0.5799, allocations: 2.232 MB / 442.8 MB, free: 31.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=335): time 6.943e-06/0.58, allocations: 0 / 442.8 MB, free: 31.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=477): time 0.5325/1.112, allocations: 50.12 MB / 492.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/1.113, allocations: 411.6 kB / 493.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/1.125, allocations: 3.061 MB / 496.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001526/1.126, allocations: 117.7 kB / 496.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/1.128, allocations: 1.25 MB / 497.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003236/1.131, allocations: 1.634 MB / 499.3 MB, free: 7.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/1.133, allocations: 92 kB / 499.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004565/1.133, allocations: 475.6 kB / 499.9 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01113/1.144, allocations: 2.984 MB / 0.4911 GB, free: 3.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/1.156, allocations: 3.556 MB / 0.4946 GB, free: 15.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.167, allocations: 3.259 MB / 0.4977 GB, free: 12.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/1.167, allocations: 7.953 kB / 0.4978 GB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.167/1.334, allocations: 16.87 MB / 0.5142 GB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/1.335, allocations: 8 kB / 0.5142 GB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/1.335, allocations: 4 kB / 0.5142 GB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1043/1.439, allocations: 11.16 MB / 0.5251 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01406/1.453, allocations: 1.744 MB / 0.5268 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4747/1.928, allocations: 64.8 MB / 0.5901 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/1.941, allocations: 466.3 kB / 0.5906 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001787/1.943, allocations: 164.2 kB / 0.5907 GB, free: 75.7 MB / 362.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 (314): * Single equations (assignments): 295 * 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,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.004297/1.947, allocations: 0.7945 MB / 0.5915 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/1.949, allocations: 366.2 kB / 0.5918 GB, free: 75.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1397/2.089, allocations: 15.88 MB / 0.6074 GB, free: 66.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.869e-05/2.089, allocations: 48 kB / 0.6074 GB, free: 66.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.041e-05/2.089, allocations: 20 kB / 0.6074 GB, free: 66.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001409/2.089, allocations: 23.91 kB / 0.6074 GB, free: 66.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1569/2.246, allocations: 22.7 MB / 0.6296 GB, free: 43.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.045e-05/2.246, allocations: 0 / 0.6296 GB, free: 43.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005959/2.252, allocations: 491.3 kB / 0.6301 GB, free: 43.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08093/2.333, allocations: 8.981 MB / 0.6389 GB, free: 34.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001889/2.335, allocations: 155.9 kB / 0.639 GB, free: 34.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1391/2.474, allocations: 33.15 MB / 0.6714 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/2.474, allocations: 0 / 0.6714 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4045/2.879, allocations: 19.73 MB / 0.6906 GB, free: 112.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004904/2.884, allocations: 1.219 MB / 0.6918 GB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002177/2.886, allocations: 121.2 kB / 0.6919 GB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01258/2.899, allocations: 449.6 kB / 0.6924 GB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003328/2.902, allocations: 404.2 kB / 0.6928 GB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001341/2.904, allocations: 150.7 kB / 0.6929 GB, free: 112.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01021/2.914, allocations: 2.235 MB / 0.6951 GB, free: 112.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.71e-07/2.914, allocations: 0 / 0.6951 GB, free: 112.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01077/2.925, allocations: 1.829 MB / 0.6969 GB, free: 112.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (259): * Single equations (assignments): 257 * 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,68.4%) 100} * Non-linear torn systems: 1 {14 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.1529/3.078, allocations: 20.43 MB / 0.7168 GB, free: 107.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.04979/3.127, allocations: 11.79 MB / 0.7283 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/3.128, allocations: 2.969 kB / 0.7283 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02267/3.15, allocations: 5.57 MB / 0.7338 GB, free: 98.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007745/3.158, allocations: 0.5133 MB / 0.7343 GB, free: 97.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3001/3.458, allocations: 49.9 MB / 0.783 GB, free: 48.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/3.461, allocations: 2.413 MB / 0.7854 GB, free: 45.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003678/3.465, allocations: 461.9 kB / 0.7858 GB, free: 45.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004262/3.469, allocations: 1.503 MB / 0.7873 GB, free: 43.81 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/3.469, allocations: 0 / 0.7873 GB, free: 43.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6206/4.089, allocations: 169.8 MB / 0.9531 GB, free: 3.293 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/4.09, allocations: 201 kB / 0.9533 GB, free: 3.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/13.73, allocations: 0 / 0.9533 GB, free: 3.051 MB / 378.7 MB