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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.05/4.05, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/2.994e-05, allocations: 4.703 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 98.72 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9018/1.107, allocations: 178.2 MB / 0.8087 GB, free: 46.24 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/1.107, allocations: 97.44 kB / 0.8088 GB, free: 46.24 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2322/1.339, allocations: 63.75 MB / 0.8711 GB, free: 26.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.244e-06/1.339, allocations: 0 / 0.8711 GB, free: 26.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001284/1.339, allocations: 35.12 kB / 0.8711 GB, free: 26.31 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005595/1.345, allocations: 1.56 MB / 0.8727 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.345, allocations: 9.594 kB / 0.8727 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006832/1.346, allocations: 254.6 kB / 0.8729 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003908/1.35, allocations: 0.4935 MB / 0.8734 GB, free: 25.01 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/1.353, allocations: 1.138 MB / 0.8745 GB, free: 24.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/1.353, allocations: 120.6 kB / 0.8746 GB, free: 24.53 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003878/1.353, allocations: 157.7 kB / 0.8748 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/1.359, allocations: 2.444 MB / 0.8772 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.799e-05/1.359, allocations: 3.938 kB / 0.8772 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/1.36, allocations: 64.78 kB / 0.8772 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/1.36, allocations: 88.19 kB / 0.8773 GB, free: 23.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/1.364, allocations: 1.979 MB / 0.8792 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/1.381, allocations: 10.5 MB / 0.8895 GB, free: 16.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/1.382, allocations: 0.5562 MB / 0.89 GB, free: 16.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008016/1.383, allocations: 379.5 kB / 0.8904 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/1.383, allocations: 92.73 kB / 0.8905 GB, free: 16.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.384, allocations: 41.06 kB / 0.8905 GB, free: 16.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.836e-06/1.384, allocations: 4 kB / 0.8905 GB, free: 16.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0244/1.408, allocations: 4.775 MB / 0.8952 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.408, allocations: 85.06 kB / 0.8953 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.41, allocations: 0.8152 MB / 0.8961 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/1.41, allocations: 36.27 kB / 0.8961 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/1.41, allocations: 0.7532 MB / 0.8968 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/1.411, allocations: 187.5 kB / 0.897 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.411, allocations: 17.38 kB / 0.897 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.411, allocations: 390.3 kB / 0.8974 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.412, allocations: 0.5964 MB / 0.898 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.414, allocations: 0.9519 MB / 0.8989 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.415, allocations: 0.7749 MB / 0.8997 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.415, allocations: 4 kB / 0.8997 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01118/1.427, allocations: 2.766 MB / 0.9024 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009401/1.428, allocations: 4.535 MB / 0.9068 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/1.428, allocations: 8 kB / 0.9068 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009061/1.437, allocations: 1.423 MB / 0.9082 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/1.438, allocations: 227.4 kB / 0.9084 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.452, allocations: 6.821 MB / 0.9151 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/1.454, allocations: 159.6 kB / 0.9152 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/1.454, allocations: 48.05 kB / 0.9153 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.454, allocations: 4 kB / 0.9153 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009268/1.463, allocations: 2.243 MB / 0.9175 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.506e-05/1.463, allocations: 12 kB / 0.9175 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005785/1.469, allocations: 0.8641 MB / 0.9183 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/1.471, allocations: 255.5 kB / 0.9186 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/1.483, allocations: 5.372 MB / 0.9238 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.485, allocations: 147.8 kB / 0.924 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/1.485, allocations: 39.94 kB / 0.924 GB, free: 2.422 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004126/1.486, allocations: 178.7 kB / 0.9242 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/1.486, allocations: 83.06 kB / 0.9243 GB, free: 2.16 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.497, allocations: 2.305 MB / 0.9265 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.497, allocations: 8 kB / 0.9265 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.497, allocations: 4 kB / 0.9265 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/1.497, allocations: 3.984 kB / 0.9265 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.513, allocations: 4.262 MB / 0.9307 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/1.513, allocations: 0 / 0.9307 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/1.514, allocations: 104.1 kB / 0.9308 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009458/1.523, allocations: 1.365 MB / 0.9321 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.524, allocations: 8 kB / 0.9321 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/1.544, allocations: 9.493 MB / 0.9414 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.544, allocations: 4.031 kB / 0.9414 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.554, allocations: 2.365 MB / 0.9437 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009889/1.555, allocations: 284.1 kB / 0.944 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/1.555, allocations: 19.94 kB / 0.944 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.557, allocations: 119.8 kB / 0.9441 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.557, allocations: 43.88 kB / 0.9441 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.174e-05/1.557, allocations: 16 kB / 0.9442 GB, free: 12.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001521/1.559, allocations: 0.6318 MB / 0.9448 GB, free: 12.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/1.559, allocations: 0 / 0.9448 GB, free: 12.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003274/1.562, allocations: 0.6171 MB / 0.9454 GB, free: 11.72 MB / 0.698 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 (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01194/1.574, allocations: 3.577 MB / 0.9489 GB, free: 8.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009061/1.583, allocations: 2.959 MB / 0.9518 GB, free: 5.043 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.583, allocations: 4.062 kB / 0.9518 GB, free: 5.039 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.586, allocations: 1.217 MB / 0.953 GB, free: 3.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.588, allocations: 218.6 kB / 0.9532 GB, free: 3.559 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008655/1.597, allocations: 2.898 MB / 0.956 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/1.599, allocations: 1.65 MB / 0.9576 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00285/1.602, allocations: 0.592 MB / 0.9582 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.603, allocations: 483.3 kB / 0.9586 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.603, allocations: 0 / 0.9586 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/1.705, allocations: 34.21 MB / 0.9921 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003833/1.705, allocations: 205.3 kB / 0.9923 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/5.219, allocations: 4 kB / 0.9923 GB, free: 11.64 MB / 0.7448 GB