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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.054/4.054, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.283e-05, allocations: 6.094 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 98.74 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8769/1.082, allocations: 179.1 MB / 0.8096 GB, free: 46.28 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/1.083, allocations: 96.72 kB / 0.8097 GB, free: 46.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2391/1.322, allocations: 66.41 MB / 0.8745 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.235e-06/1.322, allocations: 0 / 0.8745 GB, free: 24.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001234/1.322, allocations: 34.75 kB / 0.8746 GB, free: 24.99 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.005674/1.328, allocations: 1.679 MB / 0.8762 GB, free: 23.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.328, allocations: 7.375 kB / 0.8762 GB, free: 23.94 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008845/1.329, allocations: 260.4 kB / 0.8765 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/1.334, allocations: 0.6627 MB / 0.8771 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/1.338, allocations: 1.244 MB / 0.8783 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/1.338, allocations: 122.2 kB / 0.8784 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005869/1.338, allocations: 155 kB / 0.8786 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006993/1.345, allocations: 2.601 MB / 0.8811 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.151e-05/1.346, allocations: 7.875 kB / 0.8811 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/1.346, allocations: 64.97 kB / 0.8812 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/1.346, allocations: 97.62 kB / 0.8813 GB, free: 22.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005803/1.352, allocations: 2.153 MB / 0.8834 GB, free: 22.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/1.37, allocations: 10.89 MB / 0.894 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/1.372, allocations: 0.7358 MB / 0.8948 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.373, allocations: 0.5178 MB / 0.8953 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/1.373, allocations: 91.64 kB / 0.8953 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/1.373, allocations: 42.33 kB / 0.8954 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.096e-06/1.373, allocations: 4 kB / 0.8954 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.0363/1.41, allocations: 7.167 MB / 0.9024 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.41, allocations: 85.89 kB / 0.9025 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/1.411, allocations: 0.8502 MB / 0.9033 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/1.412, allocations: 36.39 kB / 0.9033 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/1.412, allocations: 0.7712 MB / 0.9041 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/1.412, allocations: 256.4 kB / 0.9043 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.413, allocations: 20.5 kB / 0.9044 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.413, allocations: 395.9 kB / 0.9047 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.414, allocations: 0.7613 MB / 0.9055 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/1.416, allocations: 1.125 MB / 0.9066 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/1.418, allocations: 0.9631 MB / 0.9075 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.418, allocations: 4 kB / 0.9075 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01234/1.431, allocations: 3.4 MB / 0.9108 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001674/1.432, allocations: 4.267 MB / 0.915 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/1.432, allocations: 11.98 kB / 0.915 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/1.444, allocations: 1.756 MB / 0.9167 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/1.446, allocations: 227.6 kB / 0.9169 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/1.464, allocations: 7.285 MB / 0.9241 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/1.467, allocations: 183.7 kB / 0.9242 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/1.467, allocations: 47.98 kB / 0.9243 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.467, allocations: 4 kB / 0.9243 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01082/1.478, allocations: 2.743 MB / 0.927 GB, free: 160 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/1.478, allocations: 12.38 kB / 0.927 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006617/1.485, allocations: 1.032 MB / 0.928 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/1.487, allocations: 291.5 kB / 0.9283 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/1.503, allocations: 6.073 MB / 0.9342 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/1.505, allocations: 163.7 kB / 0.9344 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/1.506, allocations: 51.94 kB / 0.9344 GB, free: 8.41 MB / 0.6823 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.0004773/1.506, allocations: 162.6 kB / 0.9346 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/1.507, allocations: 86.97 kB / 0.9346 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.52, allocations: 2.995 MB / 0.9376 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/1.52, allocations: 8 kB / 0.9376 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.52, allocations: 11.94 kB / 0.9376 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/1.52, allocations: 3.984 kB / 0.9376 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/1.543, allocations: 5.569 MB / 0.943 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.543, allocations: 8.031 kB / 0.943 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.544, allocations: 107.8 kB / 0.9431 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/1.559, allocations: 1.644 MB / 0.9447 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/1.559, allocations: 19.98 kB / 0.9448 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03239/1.592, allocations: 9.448 MB / 0.954 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.592, allocations: 4 kB / 0.954 GB, free: 3.949 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.608, allocations: 2.957 MB / 0.9569 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.61, allocations: 339.9 kB / 0.9572 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/1.61, allocations: 12 kB / 0.9572 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.612, allocations: 143.8 kB / 0.9574 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/1.613, allocations: 60.44 kB / 0.9574 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.613, allocations: 28 kB / 0.9574 GB, free: 316 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002257/1.615, allocations: 0.662 MB / 0.9581 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.162e-06/1.615, allocations: 4 kB / 0.9581 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004616/1.62, allocations: 0.7031 MB / 0.9588 GB, free: 14.95 MB / 0.7136 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.01358/1.633, allocations: 4.149 MB / 0.9628 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.646, allocations: 3.615 MB / 0.9664 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.646, allocations: 0 / 0.9664 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004782/1.651, allocations: 1.369 MB / 0.9677 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/1.653, allocations: 240.2 kB / 0.9679 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.664, allocations: 3.391 MB / 0.9712 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/1.667, allocations: 1.751 MB / 0.9729 GB, free: 208 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003255/1.67, allocations: 0.6592 MB / 0.9736 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.671, allocations: 0.5031 MB / 0.9741 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of SimCode: time 1.733e-06/1.671, allocations: 0 / 0.9741 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.789, allocations: 41.14 MB / 1.014 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/1.789, allocations: 214.4 kB / 1.014 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.558/5.347, allocations: 4 kB / 1.014 GB, free: 5.973 MB / 0.7605 GB