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_RLC_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_RLC_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.0106/0.0106, allocations: 88.28 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.001218/0.001218, allocations: 172.8 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.103/2.103, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.435/2.435, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004804, allocations: 10.31 kB / 0.6243 GB, free: 28.25 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01583/0.2345, allocations: 8.775 MB / 0.7366 GB, free: 1.34 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.007673/0.2422, allocations: 3.067 MB / 0.7396 GB, free: 14.26 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009465/0.2432, allocations: 23.88 kB / 0.7397 GB, free: 14.24 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.2439, allocations: 186.8 kB / 0.7398 GB, free: 14.05 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.2459, allocations: 498.5 kB / 0.7403 GB, free: 13.57 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.2479, allocations: 0.5303 MB / 0.7408 GB, free: 13.04 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003041/0.251, allocations: 1.438 MB / 0.7422 GB, free: 11.6 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006194/0.2572, allocations: 2.711 MB / 0.7449 GB, free: 8.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.2592, allocations: 0.7944 MB / 0.7457 GB, free: 8.043 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002275/0.2615, allocations: 1.009 MB / 0.7467 GB, free: 7.031 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004802/0.262, allocations: 116 kB / 0.7468 GB, free: 6.918 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009661/0.263, allocations: 223.8 kB / 0.747 GB, free: 6.699 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.2643, allocations: 0.842 MB / 0.7478 GB, free: 5.855 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.265, allocations: 376.7 kB / 0.7482 GB, free: 5.48 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.2696, allocations: 2.961 MB / 0.751 GB, free: 2.512 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.2697, allocations: 3.938 kB / 0.7511 GB, free: 2.508 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2697, allocations: 0 / 0.7511 GB, free: 2.508 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.982e-05/0.2698, allocations: 0 / 0.7511 GB, free: 2.508 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005943/0.2758, allocations: 1.772 MB / 0.7528 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.2758, allocations: 8.031 kB / 0.7528 GB, free: 0.6719 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000857/0.2767, allocations: 265 kB / 0.753 GB, free: 412 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/0.2931, allocations: 1.433 MB / 0.7544 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.2971, allocations: 1.219 MB / 0.7556 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.2973, allocations: 119 kB / 0.7557 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007098/0.298, allocations: 152 kB / 0.7559 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009977/0.308, allocations: 3.409 MB / 0.7592 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.05e-05/0.3082, allocations: 7.891 kB / 0.7592 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/0.3085, allocations: 71.97 kB / 0.7593 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004568/0.309, allocations: 203.1 kB / 0.7595 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009812/0.3188, allocations: 3.116 MB / 0.7625 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03184/0.3507, allocations: 13.57 MB / 0.7758 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.3556, allocations: 1.719 MB / 0.7775 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.3558, allocations: 17 kB / 0.7775 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3559, allocations: 43.5 kB / 0.7775 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=104): time 4.177e-06/0.3559, allocations: 0 / 0.7775 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of matching and sorting (n=183): time 0.3069/0.6628, allocations: 35.94 MB / 0.8126 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.663, allocations: 69.41 kB / 0.8127 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.6652, allocations: 1.054 MB / 0.8137 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005259/0.6657, allocations: 53.7 kB / 0.8138 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007787/0.6665, allocations: 0.7912 MB / 0.8145 GB, free: 184 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.6676, allocations: 0.62 MB / 0.8151 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.6679, allocations: 36 kB / 0.8152 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.6682, allocations: 385.9 kB / 0.8155 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005144/0.6733, allocations: 1.932 MB / 0.8174 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005589/0.679, allocations: 2.269 MB / 0.8197 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/0.6851, allocations: 2.215 MB / 0.8218 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.6852, allocations: 4 kB / 0.8218 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.03859/0.7238, allocations: 9.005 MB / 0.8306 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.7239, allocations: 11.98 kB / 0.8306 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/0.7239, allocations: 15.98 kB / 0.8306 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03328/0.7572, allocations: 4.968 MB / 0.8355 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.7589, allocations: 191.6 kB / 0.8357 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7008/1.46, allocations: 36.83 MB / 0.8716 GB, free: 97.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.463, allocations: 106.3 kB / 0.8717 GB, free: 97.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005246/1.464, allocations: 68.81 kB / 0.8718 GB, free: 97.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002387/1.466, allocations: 0.7999 MB / 0.8726 GB, free: 97.23 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005834/1.467, allocations: 143.5 kB / 0.8727 GB, free: 97.16 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03616/1.503, allocations: 8.875 MB / 0.8814 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.503, allocations: 23.77 kB / 0.8814 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/1.503, allocations: 27.69 kB / 0.8814 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.031e-05/1.503, allocations: 11.53 kB / 0.8814 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04586/1.549, allocations: 13.14 MB / 0.8943 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/1.549, allocations: 3.812 kB / 0.8943 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009317/1.55, allocations: 121.9 kB / 0.8944 GB, free: 87.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03025/1.58, allocations: 4.747 MB / 0.899 GB, free: 83.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005275/1.581, allocations: 32 kB / 0.8991 GB, free: 83.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0803/1.661, allocations: 33 MB / 0.9313 GB, free: 49.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.661, allocations: 7.938 kB / 0.9313 GB, free: 49.55 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03363/1.695, allocations: 8.558 MB / 0.9397 GB, free: 40.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/1.697, allocations: 0.6191 MB / 0.9403 GB, free: 40.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/1.697, allocations: 32 kB / 0.9403 GB, free: 40.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.7, allocations: 91.84 kB / 0.9404 GB, free: 40.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001245/1.701, allocations: 166.9 kB / 0.9405 GB, free: 39.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.701, allocations: 44 kB / 0.9406 GB, free: 39.86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001432/1.703, allocations: 0.7265 MB / 0.9413 GB, free: 39.12 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.2e-07/1.703, allocations: 0 / 0.9413 GB, free: 39.12 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004552/1.707, allocations: 1 MB / 0.9423 GB, free: 38.12 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03336/1.741, allocations: 10.19 MB / 0.9522 GB, free: 27.78 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01593/1.757, allocations: 5.831 MB / 0.9579 GB, free: 21.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.757, allocations: 0 / 0.9579 GB, free: 21.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01272/1.77, allocations: 3.778 MB / 0.9616 GB, free: 18.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.771, allocations: 192.6 kB / 0.9618 GB, free: 17.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06567/1.837, allocations: 26.66 MB / 0.9878 GB, free: 6.695 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002862/1.84, allocations: 1.891 MB / 0.9897 GB, free: 4.766 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.001593/1.842, allocations: 355.2 kB / 0.99 GB, free: 4.418 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.843, allocations: 0.6086 MB / 0.9906 GB, free: 3.809 MB / 0.6824 GB Notification: Performance of SimCode: time 1.794e-06/1.843, allocations: 0 / 0.9906 GB, free: 3.809 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1702/2.013, allocations: 69.74 MB / 1.059 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/2.014, allocations: 238.5 kB / 1.059 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.095/6.109, allocations: 64 / 1.059 GB, free: 14.11 MB / 0.7605 GB