Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01035/0.01035, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001172/0.001172, allocations: 174 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.069/2.069, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.345/2.345, allocations: 252.8 MB / 0.511 GB, free: 8.395 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 10.81 kB / 0.6243 GB, free: 28.25 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 106.2 MB / 0.7281 GB, free: 10.22 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01636/0.2425, allocations: 5.791 MB / 0.7337 GB, free: 4.402 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.009012/0.2516, allocations: 2.929 MB / 0.7366 GB, free: 1.461 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008937/0.2526, allocations: 23.81 kB / 0.7366 GB, free: 1.438 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.2532, allocations: 123.2 kB / 0.7367 GB, free: 1.316 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.2554, allocations: 418.7 kB / 0.7371 GB, free: 0.9062 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.2574, allocations: 335.3 kB / 0.7375 GB, free: 0.5781 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.2597, allocations: 0.735 MB / 0.7382 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003257/0.263, allocations: 0.9288 MB / 0.7391 GB, free: 14.89 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02128/0.2843, allocations: 350.8 kB / 0.7394 GB, free: 14.55 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.2856, allocations: 402.4 kB / 0.7398 GB, free: 14.15 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.2858, allocations: 36 kB / 0.7398 GB, free: 14.12 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007469/0.2866, allocations: 147.8 kB / 0.74 GB, free: 13.97 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.2871, allocations: 255.3 kB / 0.7402 GB, free: 13.72 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.2874, allocations: 173.3 kB / 0.7404 GB, free: 13.55 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2893, allocations: 0.8651 MB / 0.7412 GB, free: 12.68 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2893, allocations: 0 / 0.7412 GB, free: 12.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2893, allocations: 3.938 kB / 0.7412 GB, free: 12.68 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.2893, allocations: 0 / 0.7412 GB, free: 12.68 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0196/0.3089, allocations: 1.009 MB / 0.7422 GB, free: 11.61 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.309, allocations: 8.031 kB / 0.7422 GB, free: 11.61 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003677/0.3094, allocations: 118.5 kB / 0.7423 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.3201, allocations: 218.7 kB / 0.7425 GB, free: 11.27 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.3223, allocations: 0.5404 MB / 0.7431 GB, free: 10.68 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.242e-05/0.3225, allocations: 49.3 kB / 0.7431 GB, free: 10.64 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.3228, allocations: 63.98 kB / 0.7432 GB, free: 10.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.3261, allocations: 1.065 MB / 0.7442 GB, free: 9.398 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.862e-05/0.3262, allocations: 7.938 kB / 0.7442 GB, free: 9.391 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.3263, allocations: 31.98 kB / 0.7443 GB, free: 9.359 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003289/0.3267, allocations: 89.2 kB / 0.7443 GB, free: 9.27 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.3293, allocations: 0.7504 MB / 0.7451 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.3405, allocations: 5.909 MB / 0.7508 GB, free: 2.188 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.3428, allocations: 0.5555 MB / 0.7514 GB, free: 1.621 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.3429, allocations: 4.438 kB / 0.7514 GB, free: 1.617 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.3429, allocations: 42.94 kB / 0.7514 GB, free: 1.566 MB / 0.573 GB Notification: Performance of pre-optimization done (n=47): time 4.579e-06/0.3429, allocations: 0 / 0.7514 GB, free: 1.566 MB / 0.573 GB Notification: Performance of matching and sorting (n=48): time 0.006669/0.3496, allocations: 1.984 MB / 0.7534 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3497, allocations: 55.84 kB / 0.7534 GB, free: 15.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3508, allocations: 0.5548 MB / 0.754 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.3509, allocations: 33.7 kB / 0.754 GB, free: 14.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/0.3513, allocations: 418.9 kB / 0.7544 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.3516, allocations: 173.6 kB / 0.7546 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.3516, allocations: 16 kB / 0.7546 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.3519, allocations: 370.8 kB / 0.7549 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/0.3526, allocations: 273.8 kB / 0.7552 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/0.3536, allocations: 488.9 kB / 0.7557 GB, free: 13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.3545, allocations: 354 kB / 0.756 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3545, allocations: 0 / 0.756 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003309/0.3578, allocations: 1.079 MB / 0.757 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.3579, allocations: 8 kB / 0.7571 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.3579, allocations: 7.938 kB / 0.7571 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.3595, allocations: 279.3 kB / 0.7573 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009665/0.3604, allocations: 119.8 kB / 0.7574 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.3705, allocations: 6.705 MB / 0.764 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3716, allocations: 40.34 kB / 0.764 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/0.3717, allocations: 28.47 kB / 0.7641 GB, free: 3.836 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005427/0.3722, allocations: 253.6 kB / 0.7643 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.3724, allocations: 71.2 kB / 0.7644 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.3751, allocations: 0.8847 MB / 0.7652 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.3752, allocations: 8 kB / 0.7652 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3752, allocations: 4 kB / 0.7652 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.3752, allocations: 7.984 kB / 0.7653 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.3799, allocations: 1.728 MB / 0.7669 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.38, allocations: 4 kB / 0.7669 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005302/0.3805, allocations: 59.89 kB / 0.767 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.382, allocations: 271.4 kB / 0.7673 GB, free: 432 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/0.3821, allocations: 12 kB / 0.7673 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.3948, allocations: 6.685 MB / 0.7738 GB, free: 9.191 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.3949, allocations: 4.031 kB / 0.7738 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003798/0.3987, allocations: 1.056 MB / 0.7748 GB, free: 8.051 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006838/0.3994, allocations: 188.2 kB / 0.775 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.3996, allocations: 15.95 kB / 0.775 GB, free: 7.832 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00418/0.4038, allocations: 27.97 kB / 0.7751 GB, free: 7.805 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.4042, allocations: 39.94 kB / 0.7751 GB, free: 7.766 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.4043, allocations: 20 kB / 0.7751 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.001037/0.4053, allocations: 383.1 kB / 0.7755 GB, free: 7.379 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.91e-07/0.4053, allocations: 0 / 0.7755 GB, free: 7.379 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.00184/0.4072, allocations: 220 kB / 0.7757 GB, free: 7.164 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004496/0.4117, allocations: 2.029 MB / 0.7777 GB, free: 5.047 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01662/0.4284, allocations: 1.268 MB / 0.7789 GB, free: 3.734 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/0.4284, allocations: 0 / 0.7789 GB, free: 3.734 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.4313, allocations: 0.8974 MB / 0.7798 GB, free: 2.785 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.4336, allocations: 206.3 kB / 0.78 GB, free: 2.586 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/0.4687, allocations: 8.926 MB / 0.7887 GB, free: 9.434 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.47, allocations: 1.028 MB / 0.7897 GB, free: 8.379 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.001098/0.4712, allocations: 118 kB / 0.7898 GB, free: 8.262 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007327/0.4719, allocations: 251.3 kB / 0.7901 GB, free: 8.016 MB / 0.6199 GB Notification: Performance of SimCode: time 1.162e-06/0.472, allocations: 4 kB / 0.7901 GB, free: 8.012 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06793/0.5399, allocations: 16.33 MB / 0.806 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/0.5403, allocations: 224.7 kB / 0.8062 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/3.596, allocations: 0 / 0.8062 GB, free: 7.633 MB / 0.6355 GB