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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ObjectStab with version 1.1 Dev (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 Dev/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 loadModel(ObjectStab): time 2.01/2.01, allocations: 178.2 MB / 190.8 MB, free: 5.625 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.787e-05, allocations: 0 / 238.6 MB, free: 5.785 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 40.43 MB / 279 MB, free: 224 kB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4639, allocations: 77.25 MB / 356.3 MB, free: 2.852 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4642, allocations: 67.97 kB / 356.3 MB, free: 2.785 MB / 298.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ObjectStab 1.1 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.7054/1.17, allocations: 81.43 MB / 437.8 MB, free: 3.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.17, allocations: 0 / 437.8 MB, free: 3.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004809/1.17, allocations: 91.81 kB / 437.9 MB, free: 3.676 MB / 298.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.02242/1.193, allocations: 4.15 MB / 442 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.193, allocations: 8.031 kB / 442 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001965/1.195, allocations: 366.4 kB / 442.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/1.197, allocations: 430.9 kB / 442.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009927/1.207, allocations: 2.614 MB / 445.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007089/1.208, allocations: 375.8 kB / 445.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/1.21, allocations: 291.8 kB / 446.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.224, allocations: 3.342 MB / 449.4 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/1.224, allocations: 0 / 449.4 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/1.225, allocations: 108 kB / 449.5 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-05/1.225, allocations: 63.95 kB / 449.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/1.24, allocations: 3.554 MB / 453.1 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/1.287, allocations: 11.41 MB / 464.5 MB, free: 8.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02324/1.311, allocations: 5.748 MB / 470.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006519/1.317, allocations: 1.939 MB / 472.2 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/1.318, allocations: 62.55 kB / 472.3 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00714/1.325, allocations: 2.042 MB / 474.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=335): time 7.093e-06/1.325, allocations: 0 / 474.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=536): time 0.8916/2.217, allocations: 97.06 MB / 0.558 GB, free: 32.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1898/2.407, allocations: 35.39 MB / 0.5926 GB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007427/2.414, allocations: 2.29 MB / 0.5948 GB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002285/2.417, allocations: 117.7 kB / 0.5949 GB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001966/2.419, allocations: 1.258 MB / 0.5961 GB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00617/2.425, allocations: 1.854 MB / 0.5979 GB, free: 8.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002348/2.427, allocations: 96 kB / 0.598 GB, free: 8.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004798/2.428, allocations: 0.499 MB / 0.5985 GB, free: 8.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02138/2.449, allocations: 7.069 MB / 0.6054 GB, free: 1.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02218/2.471, allocations: 7.649 MB / 0.6129 GB, free: 9.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0224/2.494, allocations: 7.434 MB / 0.6202 GB, free: 1.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/2.494, allocations: 0 / 0.6202 GB, free: 1.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=652) (initialization): time 0.4606/2.954, allocations: 25.56 MB / 0.6451 GB, free: 84.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/2.954, allocations: 8.938 kB / 0.6451 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/2.955, allocations: 8.969 kB / 0.6451 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1226/3.077, allocations: 11.2 MB / 0.6561 GB, free: 84.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01695/3.094, allocations: 2.054 MB / 0.6581 GB, free: 84.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2017/3.296, allocations: 63.46 MB / 0.7201 GB, free: 34.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1777/3.474, allocations: 3.761 MB / 0.7237 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005009/3.479, allocations: 0.4892 MB / 0.7242 GB, free: 32.42 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 330 * Array equations: 2 * 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.006457/3.485, allocations: 337.4 kB / 0.7245 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003296/3.489, allocations: 382.9 kB / 0.7249 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6452/4.134, allocations: 56.17 MB / 0.7797 GB, free: 72.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4094/4.543, allocations: 42.62 MB / 0.8214 GB, free: 64.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001058/4.544, allocations: 23.5 kB / 0.8214 GB, free: 64.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/4.544, allocations: 23.91 kB / 0.8214 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4844/5.028, allocations: 71.43 MB / 0.8912 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.329e-05/5.028, allocations: 4 kB / 0.8912 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00987/5.038, allocations: 0.7993 MB / 0.892 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.5519/5.59, allocations: 32.02 MB / 0.9232 GB, free: 78.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004142/5.594, allocations: 350.3 kB / 0.9236 GB, free: 78.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3991/5.993, allocations: 93.7 MB / 1.015 GB, free: 35.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5163/6.51, allocations: 31.81 MB / 1.046 GB, free: 76.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3537/6.864, allocations: 54.81 MB / 1.1 GB, free: 74.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01019/6.874, allocations: 2.408 MB / 1.102 GB, free: 73.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003607/6.878, allocations: 126.8 kB / 1.102 GB, free: 73.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06171/6.939, allocations: 1.917 MB / 1.104 GB, free: 73.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006409/6.946, allocations: 0.7294 MB / 1.105 GB, free: 73.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002623/6.948, allocations: 343.2 kB / 1.105 GB, free: 73.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004544/6.953, allocations: 1.75 MB / 1.107 GB, free: 72.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.303e-06/6.953, allocations: 0 / 1.107 GB, free: 72.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.04574/6.999, allocations: 12.07 MB / 1.119 GB, free: 65.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 44 ($STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],G1.Gov.TF.x[1],G1.Exc.AVR.x[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.Gov.TF.x[1],G2.Exc.AVR.x[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.Gov.TF.x[1],G3.Exc.AVR.x[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.Gov.TF.x[1],G4.Exc.AVR.x[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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 284 * 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 {38 108} Notification: Performance of Backend phase and start with SimCode phase: time 0.3597/7.359, allocations: 55.85 MB / 1.173 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.3661/7.725, allocations: 21.52 MB / 1.194 GB, free: 95.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/7.725, allocations: 0 / 1.194 GB, free: 95.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1134/7.838, allocations: 24.05 MB / 1.218 GB, free: 93.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01355/7.852, allocations: 496.9 kB / 1.218 GB, free: 93.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08678/7.939, allocations: 19.09 MB / 1.237 GB, free: 89.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004925/7.944, allocations: 3.246 MB / 1.24 GB, free: 87.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008413/7.952, allocations: 1.006 MB / 1.241 GB, free: 86.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0121/7.964, allocations: 2.9 MB / 1.244 GB, free: 84.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/7.964, allocations: 0 / 1.244 GB, free: 84.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.261/9.226, allocations: 293.7 MB / 1.53 GB, free: 99.31 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/9.226, allocations: 169.8 kB / 1.531 GB, free: 99.08 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/20.97, allocations: 0 / 1.531 GB, free: 99.08 MB / 426.7 MB