Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.042/4.042, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.189e-05, allocations: 3.812 kB / 0.5325 GB, free: 12.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 98.74 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9317/1.143, allocations: 195.4 MB / 0.8197 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.143, allocations: 95.81 kB / 0.8198 GB, free: 51.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3181/1.462, allocations: 84.89 MB / 0.9027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/1.462, allocations: 0 / 0.9027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001507/1.462, allocations: 43.94 kB / 0.9028 GB, free: 14.87 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004703/1.466, allocations: 1.632 MB / 0.9044 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.467, allocations: 12.03 kB / 0.9044 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/1.487, allocations: 1.957 MB / 0.9063 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007931/1.495, allocations: 2.065 MB / 0.9083 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/1.495, allocations: 36 kB / 0.9083 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/1.495, allocations: 73.33 kB / 0.9084 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004255/1.499, allocations: 1.652 MB / 0.91 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/1.504, allocations: 2.059 MB / 0.912 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/1.504, allocations: 0 / 0.912 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/1.505, allocations: 8 kB / 0.912 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/1.505, allocations: 90.23 kB / 0.9121 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02441/1.529, allocations: 10.44 MB / 0.9223 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/1.533, allocations: 1.482 MB / 0.9238 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/1.535, allocations: 0.8721 MB / 0.9246 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/1.535, allocations: 8.781 kB / 0.9246 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/1.536, allocations: 51.34 kB / 0.9247 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 4.138e-06/1.536, allocations: 4 kB / 0.9247 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.0317/1.567, allocations: 6.901 MB / 0.9314 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/1.568, allocations: 222.9 kB / 0.9316 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/1.57, allocations: 0.8013 MB / 0.9324 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004414/1.57, allocations: 29.7 kB / 0.9324 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008144/1.571, allocations: 0.7464 MB / 0.9332 GB, free: 460 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009014/1.572, allocations: 0.5005 MB / 0.9337 GB, free: 15.94 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/1.572, allocations: 0 / 0.9337 GB, free: 15.94 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001922/1.572, allocations: 365.7 kB / 0.934 GB, free: 15.58 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/1.575, allocations: 1.093 MB / 0.9351 GB, free: 14.48 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/1.578, allocations: 1.364 MB / 0.9364 GB, free: 13.02 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/1.582, allocations: 1.267 MB / 0.9376 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/1.582, allocations: 0 / 0.9376 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01923/1.601, allocations: 4.438 MB / 0.942 GB, free: 7.281 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/1.601, allocations: 11.95 kB / 0.942 GB, free: 7.27 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/1.601, allocations: 8.734 kB / 0.942 GB, free: 7.262 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01576/1.617, allocations: 2.079 MB / 0.944 GB, free: 5.16 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005474/1.623, allocations: 423.3 kB / 0.9444 GB, free: 4.746 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05026/1.673, allocations: 21.74 MB / 0.9657 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005195/1.678, allocations: 291.5 kB / 0.9659 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000596/1.679, allocations: 71.95 kB / 0.966 GB, free: 13.75 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000669/1.679, allocations: 128.8 kB / 0.9661 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01901/1.698, allocations: 4.227 MB / 0.9703 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.7, allocations: 162 kB / 0.9704 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/1.72, allocations: 4.518 MB / 0.9748 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/1.72, allocations: 16 kB / 0.9748 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.268e-05/1.72, allocations: 24.12 kB / 0.9749 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/1.72, allocations: 3.984 kB / 0.9749 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.746, allocations: 6.574 MB / 0.9813 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.746, allocations: 7.938 kB / 0.9813 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003573/1.75, allocations: 363.4 kB / 0.9816 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/1.765, allocations: 1.944 MB / 0.9835 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004312/1.765, allocations: 19.97 kB / 0.9836 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0487/1.814, allocations: 20.91 MB / 1.004 GB, free: 5.793 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-05/1.814, allocations: 7.938 kB / 1.004 GB, free: 5.785 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.832, allocations: 4.302 MB / 1.008 GB, free: 1.359 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/1.834, allocations: 498.9 kB / 1.009 GB, free: 0.8516 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.834, allocations: 7.953 kB / 1.009 GB, free: 0.8438 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004766/1.839, allocations: 307.5 kB / 1.009 GB, free: 0.543 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008767/1.84, allocations: 149 kB / 1.009 GB, free: 404 kB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/1.84, allocations: 55.95 kB / 1.009 GB, free: 348 kB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.001531/1.842, allocations: 0.6102 MB / 1.01 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.31e-07/1.842, allocations: 0 / 1.01 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004114/1.846, allocations: 0.6328 MB / 1.01 GB, free: 15.09 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01956/1.866, allocations: 5.664 MB / 1.016 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.879, allocations: 4.178 MB / 1.02 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.879, allocations: 8.125 kB / 1.02 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00939/1.888, allocations: 2.828 MB / 1.023 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/1.893, allocations: 431.9 kB / 1.023 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.907, allocations: 3.434 MB / 1.027 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002415/1.91, allocations: 1.599 MB / 1.028 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003364/1.913, allocations: 397.3 kB / 1.028 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/1.915, allocations: 0.6554 MB / 1.029 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of SimCode: time 1.373e-06/1.915, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1794/2.094, allocations: 54.35 MB / 1.082 GB, free: 5.488 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/2.095, allocations: 173.2 kB / 1.082 GB, free: 5.289 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.745/6.84, allocations: 0 / 1.082 GB, free: 5.289 MB / 0.823 GB