Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01092/0.01092, allocations: 107.4 kB / 15.06 MB, free: 6.027 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.001181/0.001181, allocations: 182 kB / 15.95 MB, free: 5.953 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 1.986/1.986, allocations: 194.5 MB / 211.2 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.259/2.259, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006464/0.0006464, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6464/0.6471, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03668/0.6838, allocations: 23.25 MB / 0.7062 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.7037, allocations: 7.759 MB / 0.7137 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003463/0.7072, allocations: 99.41 kB / 0.7138 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.7102, allocations: 0.5088 MB / 0.7143 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.7164, allocations: 1.183 MB / 0.7155 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005328/0.7218, allocations: 1.009 MB / 0.7165 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.007991/0.7298, allocations: 3.006 MB / 0.7194 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0203/0.7502, allocations: 8.156 MB / 0.7274 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.7551, allocations: 1.643 MB / 0.729 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004531/0.7596, allocations: 1.674 MB / 0.7306 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.7609, allocations: 212 kB / 0.7308 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.7636, allocations: 0.4956 MB / 0.7313 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.003022/0.7666, allocations: 1.532 MB / 0.7328 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.7687, allocations: 0.8005 MB / 0.7336 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.7798, allocations: 6.512 MB / 0.7399 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7799, allocations: 3.938 kB / 0.7399 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7799, allocations: 0 / 0.7399 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002791/0.7802, allocations: 0 / 0.7399 GB, free: 4.371 MB / 0.5573 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.01221/0.7924, allocations: 3.432 MB / 0.7433 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.7925, allocations: 8.031 kB / 0.7433 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002143/0.7947, allocations: 0.538 MB / 0.7438 GB, free: 328 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00657/0.8013, allocations: 0.7758 MB / 0.7446 GB, free: 15.54 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007919/0.8093, allocations: 2.374 MB / 0.7469 GB, free: 13.11 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004087/0.8097, allocations: 267.3 kB / 0.7471 GB, free: 12.85 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.8115, allocations: 375.9 kB / 0.7475 GB, free: 12.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/0.8298, allocations: 5.93 MB / 0.7533 GB, free: 6.297 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.83, allocations: 19.78 kB / 0.7533 GB, free: 6.277 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007795/0.8308, allocations: 156 kB / 0.7535 GB, free: 6.125 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.8319, allocations: 282.9 kB / 0.7537 GB, free: 5.848 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.8464, allocations: 4.496 MB / 0.7581 GB, free: 1.344 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/0.8937, allocations: 27.69 MB / 0.7852 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.8968, allocations: 1.118 MB / 0.7863 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.897, allocations: 13 kB / 0.7863 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.897, allocations: 55.48 kB / 0.7863 GB, free: 1.945 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=110): time 4.088e-06/0.8971, allocations: 0 / 0.7863 GB, free: 1.945 MB / 0.6042 GB Notification: Performance of matching and sorting (n=131): time 0.04332/0.9404, allocations: 9.649 MB / 0.7957 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.9405, allocations: 76.61 kB / 0.7958 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004327/0.9449, allocations: 1.482 MB / 0.7973 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004138/0.9453, allocations: 53.7 kB / 0.7973 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002393/0.9477, allocations: 1.667 MB / 0.7989 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.9488, allocations: 473.3 kB / 0.7994 GB, free: 4.289 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.9491, allocations: 32 kB / 0.7994 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002989/0.9494, allocations: 373.9 kB / 0.7998 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.9528, allocations: 0.9096 MB / 0.8007 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004123/0.957, allocations: 1.447 MB / 0.8021 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/0.9613, allocations: 1.142 MB / 0.8032 GB, free: 148 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/0.9613, allocations: 8 kB / 0.8032 GB, free: 140 kB / 0.6198 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01415/0.9755, allocations: 3.27 MB / 0.8064 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.9756, allocations: 12 kB / 0.8064 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-05/0.9757, allocations: 20 kB / 0.8064 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005698/0.9814, allocations: 0.7377 MB / 0.8072 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/0.9858, allocations: 395.3 kB / 0.8075 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03082/1.017, allocations: 16.04 MB / 0.8232 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/1.019, allocations: 103.8 kB / 0.8233 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003045/1.02, allocations: 76 kB / 0.8234 GB, free: 10.22 MB / 0.6511 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.003565/1.023, allocations: 1.313 MB / 0.8246 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006608/1.024, allocations: 201.6 kB / 0.8248 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00903/1.033, allocations: 2.78 MB / 0.8276 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/1.033, allocations: 15.95 kB / 0.8276 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/1.033, allocations: 8 kB / 0.8276 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.365e-05/1.033, allocations: 11.97 kB / 0.8276 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/1.052, allocations: 6.197 MB / 0.8336 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/1.052, allocations: 4 kB / 0.8336 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/1.054, allocations: 235.6 kB / 0.8339 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00381/1.058, allocations: 0.6676 MB / 0.8345 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/1.058, allocations: 35.94 kB / 0.8346 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02492/1.083, allocations: 15.78 MB / 0.85 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/1.083, allocations: 7.938 kB / 0.85 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.095, allocations: 4.326 MB / 0.8542 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.097, allocations: 458.6 kB / 0.8546 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004814/1.097, allocations: 35.92 kB / 0.8547 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.099, allocations: 79.89 kB / 0.8547 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005408/1.1, allocations: 116.7 kB / 0.8549 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.1, allocations: 44 kB / 0.8549 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002298/1.102, allocations: 0.9747 MB / 0.8559 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/1.102, allocations: 4 kB / 0.8559 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004579/1.107, allocations: 0.6875 MB / 0.8565 GB, free: 6.582 MB / 0.6823 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.02053/1.128, allocations: 6.286 MB / 0.8627 GB, free: 88 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01354/1.141, allocations: 3.491 MB / 0.8661 GB, free: 12.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.141, allocations: 0 / 0.8661 GB, free: 12.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006853/1.148, allocations: 2.284 MB / 0.8683 GB, free: 10.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.153, allocations: 0.5977 MB / 0.8689 GB, free: 9.492 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05361/1.207, allocations: 29.29 MB / 0.8975 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005102/1.212, allocations: 2.734 MB / 0.9002 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002734/1.215, allocations: 485.4 kB / 0.9006 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002852/1.217, allocations: 1.284 MB / 0.9019 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of SimCode: time 1.834e-06/1.217, allocations: 7.875 kB / 0.9019 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7737/1.991, allocations: 54.64 MB / 0.9552 GB, free: 175.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/1.991, allocations: 241.6 kB / 0.9555 GB, free: 175.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.016/6.008, allocations: 0 / 0.9555 GB, free: 175.1 MB / 0.7292 GB