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.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.009899/0.009905, 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.00119/0.00119, allocations: 170.4 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 1.986/1.986, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.624/2.624, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004748, allocations: 11.22 kB / 0.6243 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04293/0.2676, allocations: 23.26 MB / 0.7508 GB, free: 2.828 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.2872, allocations: 7.783 MB / 0.7584 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002619/0.2899, allocations: 91.44 kB / 0.7585 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.2925, allocations: 0.5163 MB / 0.759 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005627/0.2982, allocations: 1.172 MB / 0.7601 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005012/0.3032, allocations: 1.018 MB / 0.7611 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.007542/0.3108, allocations: 2.999 MB / 0.7641 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02016/0.331, allocations: 8.154 MB / 0.772 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004629/0.3357, allocations: 1.639 MB / 0.7736 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004534/0.3403, allocations: 1.674 MB / 0.7753 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.3418, allocations: 212 kB / 0.7755 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.3449, allocations: 0.4917 MB / 0.7759 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003366/0.3483, allocations: 1.532 MB / 0.7774 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.3506, allocations: 0.8005 MB / 0.7782 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.3621, allocations: 6.514 MB / 0.7846 GB, free: 96 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3622, allocations: 0 / 0.7846 GB, free: 96 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.915e-06/0.3622, allocations: 0 / 0.7846 GB, free: 96 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000265/0.3625, allocations: 0 / 0.7846 GB, free: 96 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01275/0.3752, allocations: 3.44 MB / 0.7879 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3753, allocations: 8.031 kB / 0.7879 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002194/0.3775, allocations: 0.5419 MB / 0.7885 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007948/0.3855, allocations: 0.7719 MB / 0.7892 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.3964, allocations: 2.37 MB / 0.7915 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005582/0.397, allocations: 271.3 kB / 0.7918 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01476/0.4118, allocations: 375.9 kB / 0.7922 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06064/0.4725, allocations: 5.934 MB / 0.7979 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002422/0.4728, allocations: 19.78 kB / 0.798 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/0.4739, allocations: 156 kB / 0.7981 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001359/0.4753, allocations: 282.9 kB / 0.7984 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03495/0.5103, allocations: 4.489 MB / 0.8028 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05041/0.5607, allocations: 27.69 MB / 0.8298 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.5638, allocations: 1.115 MB / 0.8309 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.564, allocations: 13 kB / 0.8309 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.564, allocations: 47.56 kB / 0.831 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=110): time 3.516e-06/0.5641, allocations: 3.938 kB / 0.831 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.03845/0.6025, allocations: 9.657 MB / 0.8404 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.6026, allocations: 68.67 kB / 0.8405 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.6057, allocations: 1.482 MB / 0.8419 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003418/0.606, allocations: 49.64 kB / 0.842 GB, free: 2.172 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.6078, allocations: 1.674 MB / 0.8436 GB, free: 484 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008285/0.6086, allocations: 469.3 kB / 0.844 GB, free: 8 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5743/1.183, allocations: 35.77 kB / 0.8441 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.183, allocations: 372.9 kB / 0.8444 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/1.186, allocations: 0.9097 MB / 0.8453 GB, free: 107.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/1.189, allocations: 1.445 MB / 0.8467 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/1.192, allocations: 1.148 MB / 0.8478 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/1.192, allocations: 4.969 kB / 0.8479 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00961/1.202, allocations: 3.271 MB / 0.851 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/1.202, allocations: 14.44 kB / 0.8511 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/1.202, allocations: 21.03 kB / 0.8511 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003841/1.206, allocations: 0.7328 MB / 0.8518 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/1.209, allocations: 387.4 kB / 0.8522 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/1.23, allocations: 16.03 MB / 0.8678 GB, free: 92.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/1.233, allocations: 103.5 kB / 0.8679 GB, free: 92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/1.233, allocations: 73.44 kB / 0.868 GB, free: 91.99 MB / 0.6667 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003841/1.237, allocations: 1.315 MB / 0.8693 GB, free: 91.39 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006548/1.238, allocations: 198.4 kB / 0.8695 GB, free: 91.39 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009016/1.247, allocations: 2.777 MB / 0.8722 GB, free: 90.21 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/1.247, allocations: 13.03 kB / 0.8722 GB, free: 90.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.766e-05/1.247, allocations: 7.641 kB / 0.8722 GB, free: 90.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-05/1.247, allocations: 10.58 kB / 0.8722 GB, free: 90.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/1.265, allocations: 6.215 MB / 0.8783 GB, free: 87.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.265, allocations: 4.844 kB / 0.8783 GB, free: 87.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.268, allocations: 234.8 kB / 0.8785 GB, free: 87.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003596/1.271, allocations: 0.6702 MB / 0.8792 GB, free: 87.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/1.272, allocations: 32.48 kB / 0.8792 GB, free: 87.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/1.299, allocations: 15.77 MB / 0.8946 GB, free: 73.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.299, allocations: 7.844 kB / 0.8946 GB, free: 73.86 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/1.313, allocations: 4.336 MB / 0.8988 GB, free: 71.06 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/1.315, allocations: 456.4 kB / 0.8993 GB, free: 70.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006023/1.316, allocations: 27.91 kB / 0.8993 GB, free: 70.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.318, allocations: 91 kB / 0.8994 GB, free: 70.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006224/1.319, allocations: 115.9 kB / 0.8995 GB, free: 70.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.319, allocations: 39.41 kB / 0.8995 GB, free: 70.59 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002687/1.322, allocations: 0.9836 MB / 0.9005 GB, free: 70.05 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.61e-07/1.322, allocations: 4 kB / 0.9005 GB, free: 70.05 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004934/1.327, allocations: 0.687 MB / 0.9012 GB, free: 69.99 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01464/1.341, allocations: 6.282 MB / 0.9073 GB, free: 65.26 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.352, allocations: 3.488 MB / 0.9107 GB, free: 62.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.352, allocations: 0 / 0.9107 GB, free: 62.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004908/1.357, allocations: 2.294 MB / 0.9129 GB, free: 61.03 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/1.361, allocations: 0.5957 MB / 0.9135 GB, free: 60.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04537/1.407, allocations: 29.28 MB / 0.9421 GB, free: 30 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004571/1.411, allocations: 2.737 MB / 0.9448 GB, free: 27.23 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002558/1.414, allocations: 489.3 kB / 0.9453 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/1.416, allocations: 1.284 MB / 0.9465 GB, free: 25.47 MB / 0.6667 GB Notification: Performance of SimCode: time 1.453e-06/1.417, allocations: 0 / 0.9465 GB, free: 25.47 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/1.574, allocations: 54.66 MB / 0.9999 GB, free: 3.34 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/1.575, allocations: 224.8 kB / 1 GB, free: 3.102 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.961/5.536, allocations: 0 / 1 GB, free: 3.102 MB / 0.698 GB