Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01882/0.01882, allocations: 222.5 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001816/0.001816, allocations: 184.2 kB / 16.07 MB, free: 5.859 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.419/4.419, allocations: 389.1 MB / 405.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.236/4.236, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006077/0.000608, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1812, allocations: 98.72 MB / 1.104 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006501/0.1878, allocations: 4.482 MB / 1.109 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005714/0.1935, allocations: 3.088 MB / 1.112 GB, free: 34.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.194, allocations: 11.88 kB / 1.112 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.1947, allocations: 155.1 kB / 1.112 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.196, allocations: 301.4 kB / 1.112 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.1968, allocations: 187 kB / 1.112 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.198, allocations: 0.7047 MB / 1.113 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1996, allocations: 0.7417 MB / 1.114 GB, free: 32.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.2, allocations: 195.2 kB / 1.114 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004908/0.2005, allocations: 260.1 kB / 1.114 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.2006, allocations: 20 kB / 1.114 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008831/0.2015, allocations: 232.3 kB / 1.114 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.2017, allocations: 139.6 kB / 1.114 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2018, allocations: 107.5 kB / 1.114 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009441/0.2028, allocations: 0.7133 MB / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2028, allocations: 0 / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2028, allocations: 0 / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.2028, allocations: 0 / 1.115 GB, free: 30.68 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001716/0.2046, allocations: 0.7393 MB / 1.116 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2046, allocations: 15.45 kB / 1.116 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.2047, allocations: 78.52 kB / 1.116 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/0.2096, allocations: 0.7039 MB / 1.117 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.2108, allocations: 486.6 kB / 1.117 GB, free: 28.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.2109, allocations: 20.66 kB / 1.117 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.211, allocations: 35.27 kB / 1.117 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.2136, allocations: 0.8387 MB / 1.118 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.2137, allocations: 1.734 kB / 1.118 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.2138, allocations: 15.98 kB / 1.118 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/0.2141, allocations: 68.56 kB / 1.118 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.2177, allocations: 0.9395 MB / 1.119 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/0.2239, allocations: 2.919 MB / 1.122 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.2267, allocations: 0.5603 MB / 1.122 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.228, allocations: 315.4 kB / 1.123 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.2282, allocations: 96.7 kB / 1.123 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2282, allocations: 38.75 kB / 1.123 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.075e-06/0.2282, allocations: 0 / 1.123 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.02233/0.2506, allocations: 3.647 MB / 1.126 GB, free: 18.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2506, allocations: 86.69 kB / 1.126 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.2513, allocations: 416.4 kB / 1.127 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.655e-05/0.2514, allocations: 29.7 kB / 1.127 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.2516, allocations: 235 kB / 1.127 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2517, allocations: 114.4 kB / 1.127 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.2518, allocations: 7.938 kB / 1.127 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.2519, allocations: 350.8 kB / 1.128 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.2535, allocations: 402.5 kB / 1.128 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.2552, allocations: 489.7 kB / 1.128 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.2569, allocations: 429.2 kB / 1.129 GB, free: 16.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2569, allocations: 9.359 kB / 1.129 GB, free: 16.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.01444/0.2714, allocations: 1.723 MB / 1.131 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.2716, allocations: 153.3 kB / 1.131 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2716, allocations: 4 kB / 1.131 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008071/0.2797, allocations: 0.9802 MB / 1.132 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.2809, allocations: 131.1 kB / 1.132 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.293, allocations: 6.386 MB / 1.138 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.2945, allocations: 122.1 kB / 1.138 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.2946, allocations: 15.98 kB / 1.138 GB, free: 6.383 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2946, allocations: 4 kB / 1.138 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008577/0.3032, allocations: 1.663 MB / 1.14 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3033, allocations: 0 / 1.14 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005556/0.3088, allocations: 0.7248 MB / 1.14 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.31, allocations: 139.8 kB / 1.141 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00882/0.3189, allocations: 5.438 MB / 1.146 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.3203, allocations: 107.9 kB / 1.146 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.3204, allocations: 15.98 kB / 1.146 GB, free: 13.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.3211, allocations: 326.8 kB / 1.146 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.3212, allocations: 38.33 kB / 1.146 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009552/0.3308, allocations: 1.629 MB / 1.148 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.3309, allocations: 4 kB / 1.148 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.3309, allocations: 3.953 kB / 1.148 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.3309, allocations: 0 / 1.148 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.3425, allocations: 2.327 MB / 1.15 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.3425, allocations: 0 / 1.15 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/0.3433, allocations: 94.98 kB / 1.15 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0074/0.3508, allocations: 0.9195 MB / 1.151 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.3509, allocations: 8 kB / 1.151 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.3699, allocations: 6.24 MB / 1.157 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.3699, allocations: 3.984 kB / 1.157 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.3839, allocations: 1.638 MB / 1.159 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/0.3847, allocations: 180.6 kB / 1.159 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.385, allocations: 7.984 kB / 1.159 GB, free: 12 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.5586/0.9436, allocations: 88.86 kB / 1.159 GB, free: 79.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.9439, allocations: 36.8 kB / 1.159 GB, free: 79.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.9439, allocations: 10.12 kB / 1.159 GB, free: 79.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005878/0.9445, allocations: 308 kB / 1.16 GB, free: 79.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9445, allocations: 0 / 1.16 GB, free: 79.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001451/0.946, allocations: 243.3 kB / 1.16 GB, free: 79.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01002/0.9561, allocations: 2.198 MB / 1.162 GB, free: 79.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007881/0.964, allocations: 2.259 MB / 1.164 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.964, allocations: 1.25 kB / 1.164 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.9668, allocations: 0.8234 MB / 1.165 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.968, allocations: 119 kB / 1.165 GB, free: 78.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/0.9876, allocations: 4.587 MB / 1.17 GB, free: 77.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.9883, allocations: 0.9344 MB / 1.17 GB, free: 76.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001105/0.9894, allocations: 162.9 kB / 1.171 GB, free: 76.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.9898, allocations: 139.7 kB / 1.171 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.252e-06/0.9898, allocations: 2.031 kB / 1.171 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0582/1.048, allocations: 18.05 MB / 1.188 GB, free: 76.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.048, allocations: 249.4 kB / 1.189 GB, free: 75.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/4.257, allocations: 0 / 1.189 GB, free: 75.82 MB / 0.6198 GB