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.Loads.Examples.Loads.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.Loads.Examples.Loads,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.855/3.855, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.228e-05/5.236e-05, allocations: 3.531 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 98.74 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9267/1.168, allocations: 167.5 MB / 0.7983 GB, free: 46.44 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004594/1.169, allocations: 99.09 kB / 0.7984 GB, free: 46.44 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7009/1.87, allocations: 159.6 MB / 0.9543 GB, free: 5.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/1.87, allocations: 0 / 0.9543 GB, free: 5.148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002806/1.87, allocations: 95.69 kB / 0.9543 GB, free: 5.059 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01479/1.885, allocations: 3.356 MB / 0.9576 GB, free: 1.656 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/1.885, allocations: 8.031 kB / 0.9576 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003124/1.888, allocations: 0.6317 MB / 0.9582 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009063/1.897, allocations: 0.9621 MB / 0.9592 GB, free: 48 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008717/1.906, allocations: 2.293 MB / 0.9614 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/1.906, allocations: 323.8 kB / 0.9617 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/1.909, allocations: 427.6 kB / 0.9621 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/1.933, allocations: 6.608 MB / 0.9686 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/1.933, allocations: 15.83 kB / 0.9686 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001391/1.935, allocations: 183.7 kB / 0.9688 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005199/1.935, allocations: 254.9 kB / 0.969 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/1.954, allocations: 5.228 MB / 0.9741 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08198/2.036, allocations: 32.48 MB / 1.006 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005344/2.042, allocations: 1.849 MB / 1.008 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/2.044, allocations: 1.075 MB / 1.009 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/2.045, allocations: 105.5 kB / 1.009 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/2.045, allocations: 43.34 kB / 1.009 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=86): time 3.838e-06/2.045, allocations: 3.938 kB / 1.009 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=89): time 0.01069/2.056, allocations: 4.039 MB / 1.013 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/2.056, allocations: 141.3 kB / 1.013 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/2.059, allocations: 1.446 MB / 1.014 GB, free: 4.469 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/2.059, allocations: 45.97 kB / 1.014 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001893/2.061, allocations: 1.904 MB / 1.016 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/2.062, allocations: 330.5 kB / 1.017 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/2.062, allocations: 44 kB / 1.017 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002764/2.063, allocations: 394 kB / 1.017 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/2.065, allocations: 1.086 MB / 1.018 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/2.069, allocations: 2.149 MB / 1.02 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/2.073, allocations: 1.517 MB / 1.022 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/2.074, allocations: 15.94 kB / 1.022 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009478/2.083, allocations: 3.265 MB / 1.025 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00634/2.089, allocations: 13.42 MB / 1.038 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/2.09, allocations: 36 kB / 1.038 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/2.09, allocations: 55.98 kB / 1.038 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/2.094, allocations: 0.6278 MB / 1.039 GB, free: 9.992 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001035/2.095, allocations: 71.72 kB / 1.039 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/2.099, allocations: 370.6 kB / 1.039 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005859/2.1, allocations: 112 kB / 1.039 GB, free: 9.449 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/2.1, allocations: 6.812 kB / 1.039 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007565/2.107, allocations: 2.714 MB / 1.042 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.502e-05/2.107, allocations: 32 kB / 1.042 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-05/2.107, allocations: 52 kB / 1.042 GB, free: 6.648 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/2.111, allocations: 0.5621 MB / 1.042 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-05/2.112, allocations: 75.72 kB / 1.043 GB, free: 6.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/2.115, allocations: 247.1 kB / 1.043 GB, free: 5.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/2.115, allocations: 112 kB / 1.043 GB, free: 5.66 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000733/2.116, allocations: 244 kB / 1.043 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/2.116, allocations: 158.1 kB / 1.043 GB, free: 5.258 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/2.121, allocations: 1.893 MB / 1.045 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/2.121, allocations: 12 kB / 1.045 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/2.121, allocations: 3.953 kB / 1.045 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/2.121, allocations: 7.922 kB / 1.045 GB, free: 3.332 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/2.141, allocations: 7.725 MB / 1.053 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/2.142, allocations: 8 kB / 1.053 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/2.144, allocations: 339.4 kB / 1.053 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.069e-05/2.144, allocations: 15.95 kB / 1.053 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/2.145, allocations: 27.94 kB / 1.053 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/2.145, allocations: 8.406 kB / 1.053 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/2.145, allocations: 15.94 kB / 1.053 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/2.15, allocations: 2.706 MB / 1.056 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/2.152, allocations: 458.8 kB / 1.056 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/2.152, allocations: 27.95 kB / 1.056 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/2.154, allocations: 163.7 kB / 1.056 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/2.155, allocations: 80.31 kB / 1.056 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/2.155, allocations: 28 kB / 1.056 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002801/2.158, allocations: 1.072 MB / 1.057 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.232e-06/2.158, allocations: 0 / 1.057 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006864/2.165, allocations: 1.234 MB / 1.059 GB, free: 4.973 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006671/2.171, allocations: 5.216 MB / 1.064 GB, free: 15.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009667/2.181, allocations: 3.794 MB / 1.067 GB, free: 11.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/2.181, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/2.183, allocations: 0.8784 MB / 1.068 GB, free: 10.88 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/2.186, allocations: 365.5 kB / 1.069 GB, free: 10.53 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/2.208, allocations: 6.555 MB / 1.075 GB, free: 3.824 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006449/2.215, allocations: 2.941 MB / 1.078 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005914/2.221, allocations: 1.243 MB / 1.079 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003264/2.224, allocations: 1.272 MB / 1.08 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of SimCode: time 1.483e-06/2.224, allocations: 4 kB / 1.08 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7467/2.971, allocations: 47.32 MB / 1.127 GB, free: 219.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/2.971, allocations: 175.7 kB / 1.127 GB, free: 218.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.807/6.778, allocations: 0 / 1.127 GB, free: 218.8 MB / 0.8386 GB