Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.01046/0.01046, allocations: 92.88 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.001155/0.001155, allocations: 173.3 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.222/2.222, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.396/2.396, allocations: 252.8 MB / 0.511 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004774, allocations: 12.53 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 106.2 MB / 0.7281 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.035/0.2579, allocations: 20.49 MB / 0.7481 GB, free: 3.535 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.2737, allocations: 6.289 MB / 0.7542 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.2761, allocations: 75.5 kB / 0.7543 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.00201/0.2781, allocations: 457.2 kB / 0.7547 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005418/0.2836, allocations: 1.204 MB / 0.7559 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.288, allocations: 0.9164 MB / 0.7568 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.007198/0.2953, allocations: 3.219 MB / 0.7599 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01744/0.3128, allocations: 7.074 MB / 0.7669 GB, free: 224 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004919/0.3177, allocations: 1.729 MB / 0.7685 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005336/0.3231, allocations: 2.068 MB / 0.7706 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.3246, allocations: 248 kB / 0.7708 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.3274, allocations: 495.4 kB / 0.7713 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.004083/0.3315, allocations: 1.914 MB / 0.7731 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.003616/0.3352, allocations: 0.8433 MB / 0.774 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.3511, allocations: 6.884 MB / 0.7807 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.3512, allocations: 4 kB / 0.7807 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.228e-06/0.3513, allocations: 0 / 0.7807 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002709/0.3515, allocations: 0 / 0.7807 GB, free: 2.008 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01215/0.3637, allocations: 3.574 MB / 0.7842 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.3638, allocations: 16.02 kB / 0.7842 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002162/0.366, allocations: 0.5673 MB / 0.7847 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.3807, allocations: 1.797 MB / 0.7865 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008461/0.3892, allocations: 2.509 MB / 0.789 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.3896, allocations: 275.3 kB / 0.7892 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.3914, allocations: 363.8 kB / 0.7896 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02253/0.4139, allocations: 7.424 MB / 0.7968 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.4142, allocations: 15.88 kB / 0.7968 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001301/0.4155, allocations: 163.9 kB / 0.797 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.4165, allocations: 487.3 kB / 0.7974 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.4342, allocations: 5.678 MB / 0.803 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6465/1.081, allocations: 31.64 MB / 0.8339 GB, free: 80.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/1.086, allocations: 2.082 MB / 0.8359 GB, free: 80.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/1.087, allocations: 18.31 kB / 0.8359 GB, free: 80.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/1.087, allocations: 45.06 kB / 0.836 GB, free: 79.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=146): time 4.529e-06/1.087, allocations: 1.031 kB / 0.836 GB, free: 79.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=251): time 0.5644/1.651, allocations: 75.25 MB / 0.9095 GB, free: 32.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/1.651, allocations: 77.41 kB / 0.9096 GB, free: 32.74 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/1.654, allocations: 1.65 MB / 0.9112 GB, free: 31.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006577/1.655, allocations: 65.7 kB / 0.9112 GB, free: 30.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.656, allocations: 1.754 MB / 0.9129 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.657, allocations: 0.8468 MB / 0.9138 GB, free: 28.37 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/1.658, allocations: 56 kB / 0.9138 GB, free: 28.31 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.658, allocations: 407.2 kB / 0.9142 GB, free: 27.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006148/1.664, allocations: 2.718 MB / 0.9169 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006767/1.671, allocations: 3.315 MB / 0.9201 GB, free: 21.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/1.678, allocations: 3.055 MB / 0.9231 GB, free: 18.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/1.678, allocations: 4 kB / 0.9231 GB, free: 18.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.05748/1.736, allocations: 14.65 MB / 0.9374 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.736, allocations: 13.09 kB / 0.9374 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/1.736, allocations: 16.91 kB / 0.9374 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0569/1.793, allocations: 9.233 MB / 0.9464 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/1.795, allocations: 303.4 kB / 0.9467 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1408/1.936, allocations: 49.57 MB / 0.9951 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/1.941, allocations: 223.7 kB / 0.9954 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006465/1.941, allocations: 99.98 kB / 0.9954 GB, free: 7.609 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00477/1.946, allocations: 1.583 MB / 0.997 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009727/1.947, allocations: 241.1 kB / 0.9972 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06274/2.01, allocations: 14.72 MB / 1.012 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.689e-05/2.01, allocations: 28 kB / 1.012 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001678/2.01, allocations: 44 kB / 1.012 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.936e-05/2.01, allocations: 11.95 kB / 1.012 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07819/2.088, allocations: 20.5 MB / 1.032 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.452e-05/2.088, allocations: 7.562 kB / 1.032 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/2.09, allocations: 159.8 kB / 1.032 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05706/2.147, allocations: 8.997 MB / 1.041 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007684/2.148, allocations: 52 kB / 1.041 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1397/2.287, allocations: 49.22 MB / 1.089 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/2.287, allocations: 8 kB / 1.089 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06354/2.351, allocations: 14.77 MB / 1.103 GB, free: 7.844 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005419/2.356, allocations: 0.853 MB / 1.104 GB, free: 6.973 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/2.358, allocations: 48 kB / 1.104 GB, free: 6.926 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004775/2.363, allocations: 207.7 kB / 1.104 GB, free: 6.723 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002245/2.365, allocations: 245.2 kB / 1.105 GB, free: 6.48 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005019/2.366, allocations: 64 kB / 1.105 GB, free: 6.418 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002699/2.369, allocations: 1.11 MB / 1.106 GB, free: 5.285 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/2.369, allocations: 0 / 1.106 GB, free: 5.285 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007632/2.376, allocations: 1.598 MB / 1.107 GB, free: 3.688 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06285/2.439, allocations: 17.11 MB / 1.124 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.04053/2.48, allocations: 10.34 MB / 1.134 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/2.48, allocations: 0 / 1.134 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.03192/2.512, allocations: 7.147 MB / 1.141 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004214/2.516, allocations: 490 kB / 1.141 GB, free: 236 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8209/3.337, allocations: 47.41 MB / 1.188 GB, free: 279.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006882/3.344, allocations: 3.296 MB / 1.191 GB, free: 278.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002209/3.346, allocations: 392.6 kB / 1.191 GB, free: 278.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002887/3.349, allocations: 1.486 MB / 1.193 GB, free: 277.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/3.349, allocations: 0 / 1.193 GB, free: 277.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.259/3.608, allocations: 112.3 MB / 1.302 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/3.608, allocations: 235.4 kB / 1.303 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.239/8.847, allocations: 4 kB / 1.303 GB, free: 185.8 MB / 0.8698 GB