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.ACSimpleGrid_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.067/4.067, allocations: 433.2 MB / 440.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.201e-05, allocations: 4.891 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2191, allocations: 98.72 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.913/1.132, allocations: 178.4 MB / 0.8031 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/1.133, allocations: 102.2 kB / 0.8032 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3018/1.434, allocations: 66.06 MB / 0.8677 GB, free: 39.65 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.815e-06/1.434, allocations: 0 / 0.8677 GB, free: 39.65 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002269/1.435, allocations: 39.22 kB / 0.8678 GB, free: 39.64 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.008161/1.443, allocations: 1.682 MB / 0.8694 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/1.443, allocations: 11.81 kB / 0.8694 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009334/1.452, allocations: 0.6586 MB / 0.8701 GB, free: 38.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/1.458, allocations: 1.242 MB / 0.8713 GB, free: 37.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.458, allocations: 58.84 kB / 0.8713 GB, free: 37.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007271/1.459, allocations: 89.88 kB / 0.8714 GB, free: 37.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005348/1.464, allocations: 1.937 MB / 0.8733 GB, free: 37.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007263/1.471, allocations: 2.375 MB / 0.8756 GB, free: 36.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-05/1.472, allocations: 7.891 kB / 0.8756 GB, free: 36.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/1.472, allocations: 0 / 0.8756 GB, free: 36.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/1.472, allocations: 96.92 kB / 0.8757 GB, free: 36.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/1.491, allocations: 10.51 MB / 0.886 GB, free: 29.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/1.492, allocations: 0.7246 MB / 0.8867 GB, free: 29.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/1.493, allocations: 0.5038 MB / 0.8872 GB, free: 29.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.493, allocations: 95.12 kB / 0.8873 GB, free: 29.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/1.494, allocations: 37.5 kB / 0.8873 GB, free: 29.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 5.019e-06/1.494, allocations: 0 / 0.8873 GB, free: 29.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.01731/1.511, allocations: 4.356 MB / 0.8916 GB, free: 27.97 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.511, allocations: 88.23 kB / 0.8917 GB, free: 27.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.513, allocations: 0.7565 MB / 0.8924 GB, free: 27.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/1.513, allocations: 25.7 kB / 0.8924 GB, free: 27.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/1.513, allocations: 0.7799 MB / 0.8932 GB, free: 27.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/1.514, allocations: 244.1 kB / 0.8934 GB, free: 26.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.514, allocations: 0 / 0.8934 GB, free: 26.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.514, allocations: 397.4 kB / 0.8938 GB, free: 26.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/1.516, allocations: 0.7428 MB / 0.8945 GB, free: 26.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/1.517, allocations: 1.098 MB / 0.8956 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/1.52, allocations: 1.072 MB / 0.8966 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/1.52, allocations: 4 kB / 0.8966 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01184/1.532, allocations: 3.248 MB / 0.8998 GB, free: 21.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008832/1.533, allocations: 4.262 MB / 0.904 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/1.533, allocations: 15.95 kB / 0.904 GB, free: 16.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00876/1.542, allocations: 1.404 MB / 0.9054 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.543, allocations: 227.6 kB / 0.9056 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.559, allocations: 7.011 MB / 0.9124 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.561, allocations: 163.5 kB / 0.9126 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/1.561, allocations: 59.94 kB / 0.9126 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.561, allocations: 4 kB / 0.9126 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003991/1.565, allocations: 1.666 MB / 0.9143 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.565, allocations: 12 kB / 0.9143 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/1.565, allocations: 20 kB / 0.9143 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/1.568, allocations: 348 kB / 0.9146 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/1.568, allocations: 23.92 kB / 0.9147 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.569, allocations: 119.7 kB / 0.9148 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.569, allocations: 48 kB / 0.9148 GB, free: 5.191 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004515/1.57, allocations: 144.4 kB / 0.915 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01097/1.581, allocations: 2.857 MB / 0.9177 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/1.581, allocations: 82.97 kB / 0.9178 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.594, allocations: 2.999 MB / 0.9207 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/1.594, allocations: 8 kB / 0.9208 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.594, allocations: 7.938 kB / 0.9208 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/1.594, allocations: 3.984 kB / 0.9208 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02158/1.616, allocations: 5.285 MB / 0.9259 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.616, allocations: 0 / 0.9259 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.617, allocations: 103.8 kB / 0.926 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01528/1.632, allocations: 1.617 MB / 0.9276 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.633, allocations: 8 kB / 0.9276 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03386/1.667, allocations: 9.14 MB / 0.9365 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/1.667, allocations: 7.938 kB / 0.9365 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.678, allocations: 2.98 MB / 0.9395 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.679, allocations: 336 kB / 0.9398 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.68, allocations: 3.984 kB / 0.9398 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.682, allocations: 171.7 kB / 0.9399 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/1.682, allocations: 60.42 kB / 0.94 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/1.682, allocations: 20 kB / 0.94 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001244/1.684, allocations: 0.5889 MB / 0.9406 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.62e-07/1.684, allocations: 3.938 kB / 0.9406 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003345/1.687, allocations: 0.6094 MB / 0.9412 GB, free: 9.699 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0131/1.7, allocations: 4.184 MB / 0.9453 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008477/1.709, allocations: 2.901 MB / 0.9481 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.709, allocations: 0 / 0.9481 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004393/1.713, allocations: 1.341 MB / 0.9494 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.715, allocations: 197.6 kB / 0.9496 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009651/1.725, allocations: 3.311 MB / 0.9528 GB, free: 13.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/1.727, allocations: 1.751 MB / 0.9546 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003045/1.73, allocations: 0.6392 MB / 0.9552 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.731, allocations: 0.4954 MB / 0.9557 GB, free: 10.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.731, allocations: 0 / 0.9557 GB, free: 10.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/1.85, allocations: 36 MB / 0.9908 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/1.851, allocations: 170 kB / 0.991 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/5.58, allocations: 0 / 0.991 GB, free: 6.637 MB / 0.7292 GB