Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.conf.json Using package ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01566/0.01567, allocations: 104.4 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001611/0.00161, allocations: 170.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.863/1.863, allocations: 170.9 MB / 187.6 MB, free: 0.9609 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/package.mo): time 0.04675/0.04675, allocations: 7.014 MB / 234 MB, free: 3.098 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004713, allocations: 15.98 kB / 284.2 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2708, allocations: 40.42 MB / 324.6 MB, free: 33.12 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Lineopen): time 0.01295/0.2838, allocations: 10.76 MB / 335.4 MB, free: 22.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.2946, allocations: 4.519 MB / 339.9 MB, free: 17.79 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.2976, allocations: 39.81 kB / 339.9 MB, free: 17.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.3002, allocations: 468.9 kB / 340.4 MB, free: 17.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005551/0.3058, allocations: 1.157 MB / 341.6 MB, free: 16.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007571/0.3135, allocations: 2.542 MB / 344.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.008035/0.3215, allocations: 3.914 MB / 348 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.3235, allocations: 1.076 MB / 349.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.3287, allocations: 2.551 MB / 351.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006063/0.3348, allocations: 3.072 MB / 354.7 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001615/0.3365, allocations: 280 kB / 355 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.3378, allocations: 280 kB / 355.3 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.3393, allocations: 1.051 MB / 356.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.3405, allocations: 0.6481 MB / 357 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007287/0.3478, allocations: 4.422 MB / 361.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3479, allocations: 3.938 kB / 361.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3479, allocations: 0 / 361.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.348, allocations: 0 / 361.4 MB, free: 12.21 MB / 266.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.03657/0.3846, allocations: 5.474 MB / 366.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.3847, allocations: 12.03 kB / 366.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001785/0.3865, allocations: 350.5 kB / 367.2 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.3882, allocations: 414.9 kB / 367.6 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.4004, allocations: 2.761 MB / 370.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005337/0.401, allocations: 379.8 kB / 370.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.4024, allocations: 291.8 kB / 371 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.4151, allocations: 3.517 MB / 374.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-05/0.4152, allocations: 4 kB / 374.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005787/0.4158, allocations: 100 kB / 374.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.478e-05/0.4159, allocations: 60 kB / 374.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.4312, allocations: 3.959 MB / 378.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04395/0.4752, allocations: 11.98 MB / 390.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02081/0.4961, allocations: 5.558 MB / 396.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/0.497, allocations: 54.5 kB / 396.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008925/0.506, allocations: 2.225 MB / 398.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=335): time 8.997e-06/0.506, allocations: 4 kB / 398.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=477): time 0.7679/1.274, allocations: 50.19 MB / 448.7 MB, free: 63.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.274, allocations: 423.5 kB / 449.1 MB, free: 63.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/1.285, allocations: 3.057 MB / 452.2 MB, free: 60.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00144/1.286, allocations: 109.7 kB / 452.3 MB, free: 59.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/1.287, allocations: 1.259 MB / 453.5 MB, free: 58.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002465/1.29, allocations: 1.637 MB / 455.2 MB, free: 57.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009096/1.291, allocations: 88.88 kB / 455.3 MB, free: 56.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002651/1.291, allocations: 479.6 kB / 455.7 MB, free: 56.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009553/1.301, allocations: 2.988 MB / 458.7 MB, free: 53.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/1.311, allocations: 3.533 MB / 462.2 MB, free: 49.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.322, allocations: 3.259 MB / 465.5 MB, free: 46.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/1.322, allocations: 0 / 465.5 MB, free: 46.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.1623/1.484, allocations: 16.88 MB / 482.4 MB, free: 29.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.485, allocations: 8 kB / 482.4 MB, free: 29.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/1.485, allocations: 4 kB / 482.4 MB, free: 29.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09819/1.583, allocations: 11.16 MB / 493.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01279/1.596, allocations: 1.748 MB / 495.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4995/2.095, allocations: 66.67 MB / 0.5488 GB, free: 99.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.108, allocations: 471 kB / 0.5492 GB, free: 99.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/2.109, allocations: 152.7 kB / 0.5494 GB, free: 99.96 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.003734/2.113, allocations: 0.7814 MB / 0.5502 GB, free: 99.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/2.114, allocations: 369.8 kB / 0.5505 GB, free: 99.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1379/2.252, allocations: 15.88 MB / 0.566 GB, free: 97.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.953e-05/2.252, allocations: 46.41 kB / 0.5661 GB, free: 97.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/2.253, allocations: 19.25 kB / 0.5661 GB, free: 97.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001189/2.253, allocations: 31.64 kB / 0.5661 GB, free: 97.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1508/2.404, allocations: 22.69 MB / 0.5883 GB, free: 87.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-05/2.404, allocations: 0 / 0.5883 GB, free: 87.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00574/2.409, allocations: 495.2 kB / 0.5887 GB, free: 86.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0802/2.49, allocations: 8.976 MB / 0.5975 GB, free: 78.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001741/2.491, allocations: 163.5 kB / 0.5977 GB, free: 77.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1385/2.63, allocations: 34.59 MB / 0.6314 GB, free: 43.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.63, allocations: 4 kB / 0.6314 GB, free: 43.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1468/2.777, allocations: 19.74 MB / 0.6507 GB, free: 23.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004326/2.781, allocations: 1.218 MB / 0.6519 GB, free: 22.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/2.783, allocations: 120 kB / 0.652 GB, free: 22.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01198/2.795, allocations: 447.5 kB / 0.6525 GB, free: 21.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003451/2.799, allocations: 405.1 kB / 0.6528 GB, free: 21.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001245/2.8, allocations: 147.9 kB / 0.653 GB, free: 21.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.009145/2.809, allocations: 2.233 MB / 0.6552 GB, free: 19.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.809, allocations: 3.938 kB / 0.6552 GB, free: 19.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008964/2.818, allocations: 1.828 MB / 0.6569 GB, free: 17.32 MB / 362.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.1517/2.97, allocations: 20.43 MB / 0.6769 GB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2898/3.26, allocations: 11.78 MB / 0.6884 GB, free: 121.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/3.26, allocations: 0 / 0.6884 GB, free: 121.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02186/3.282, allocations: 5.582 MB / 0.6939 GB, free: 121.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004798/3.287, allocations: 440.3 kB / 0.6943 GB, free: 121.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04936/3.336, allocations: 18.71 MB / 0.7125 GB, free: 110.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/3.339, allocations: 2.402 MB / 0.7149 GB, free: 109.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003453/3.342, allocations: 456.1 kB / 0.7153 GB, free: 109.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003989/3.346, allocations: 1.507 MB / 0.7168 GB, free: 108.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.774e-06/3.346, allocations: 0 / 0.7168 GB, free: 108.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6089/3.955, allocations: 165.6 MB / 0.8785 GB, free: 70.11 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/3.956, allocations: 209.3 kB / 0.8787 GB, free: 69.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.231/13.19, allocations: 0 / 0.8787 GB, free: 69.86 MB / 378.7 MB