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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0112/0.0112, allocations: 109.6 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001332/0.001331, allocations: 183.7 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.946/1.946, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.243/2.243, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.0005138, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6443, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.943, allocations: 179.1 MB / 0.8584 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.9434, allocations: 103.9 kB / 0.8585 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8116/1.755, allocations: 66.66 MB / 0.9236 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.735e-06/1.755, allocations: 0 / 0.9236 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001651/1.755, allocations: 38.05 kB / 0.9236 GB, free: 178.1 MB / 0.7292 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.007717/1.763, allocations: 1.792 MB / 0.9254 GB, free: 177.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/1.763, allocations: 9.5 kB / 0.9254 GB, free: 177.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001331/1.764, allocations: 261.6 kB / 0.9256 GB, free: 177.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/1.77, allocations: 0.6667 MB / 0.9263 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/1.774, allocations: 1.25 MB / 0.9275 GB, free: 176.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.775, allocations: 120.1 kB / 0.9276 GB, free: 176.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008681/1.776, allocations: 154.4 kB / 0.9278 GB, free: 176.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008441/1.784, allocations: 2.652 MB / 0.9304 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.179e-05/1.784, allocations: 3.906 kB / 0.9304 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003222/1.785, allocations: 75.09 kB / 0.9304 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/1.785, allocations: 93.83 kB / 0.9305 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007396/1.792, allocations: 2.214 MB / 0.9327 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03123/1.823, allocations: 10.9 MB / 0.9433 GB, free: 171 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/1.827, allocations: 0.758 MB / 0.9441 GB, free: 171 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/1.827, allocations: 93.58 kB / 0.9442 GB, free: 170.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.827, allocations: 42.36 kB / 0.9442 GB, free: 170.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 4.619e-06/1.827, allocations: 0 / 0.9442 GB, free: 170.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.05754/1.884, allocations: 8.399 MB / 0.9524 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.885, allocations: 88.39 kB / 0.9525 GB, free: 169.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003442/1.888, allocations: 0.8498 MB / 0.9533 GB, free: 168.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/1.888, allocations: 43.61 kB / 0.9533 GB, free: 168.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.89, allocations: 0.7692 MB / 0.9541 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/1.89, allocations: 248.7 kB / 0.9543 GB, free: 168 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/1.89, allocations: 20.44 kB / 0.9544 GB, free: 168 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003164/1.891, allocations: 402.8 kB / 0.9547 GB, free: 167.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/1.894, allocations: 0.801 MB / 0.9555 GB, free: 167.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/1.898, allocations: 1.159 MB / 0.9567 GB, free: 166.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/1.902, allocations: 0.9984 MB / 0.9576 GB, free: 166.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/1.902, allocations: 3.969 kB / 0.9576 GB, free: 166.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.02095/1.923, allocations: 3.519 MB / 0.9611 GB, free: 165.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001282/1.924, allocations: 4.268 MB / 0.9652 GB, free: 160.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-05/1.924, allocations: 10.59 kB / 0.9652 GB, free: 160.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01821/1.942, allocations: 1.856 MB / 0.9671 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/1.945, allocations: 231.5 kB / 0.9673 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/1.968, allocations: 7.03 MB / 0.9741 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/1.971, allocations: 194.8 kB / 0.9743 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/1.972, allocations: 52.36 kB / 0.9744 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.972, allocations: 5.25 kB / 0.9744 GB, free: 156.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01608/1.988, allocations: 2.863 MB / 0.9772 GB, free: 155.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-05/1.988, allocations: 14.38 kB / 0.9772 GB, free: 155.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01115/1.999, allocations: 1.155 MB / 0.9783 GB, free: 155.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/2.002, allocations: 292.7 kB / 0.9786 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/2.022, allocations: 5.84 MB / 0.9843 GB, free: 152.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/2.025, allocations: 156 kB / 0.9845 GB, free: 152.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/2.025, allocations: 49.75 kB / 0.9845 GB, free: 152.6 MB / 0.7292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.00273/2.028, allocations: 0.9032 MB / 0.9854 GB, free: 152.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/2.028, allocations: 84.94 kB / 0.9855 GB, free: 152.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/2.047, allocations: 3.105 MB / 0.9885 GB, free: 151.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/2.047, allocations: 10.41 kB / 0.9885 GB, free: 151.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-05/2.047, allocations: 12.33 kB / 0.9885 GB, free: 151.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/2.047, allocations: 3.141 kB / 0.9885 GB, free: 151.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/2.068, allocations: 5.162 MB / 0.9936 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/2.069, allocations: 3.094 kB / 0.9936 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/2.069, allocations: 110.2 kB / 0.9937 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01142/2.081, allocations: 1.781 MB / 0.9954 GB, free: 148.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/2.081, allocations: 14.5 kB / 0.9954 GB, free: 148.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/2.102, allocations: 9.993 MB / 1.005 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/2.103, allocations: 0 / 1.005 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/2.115, allocations: 3.11 MB / 1.008 GB, free: 137.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/2.116, allocations: 331.9 kB / 1.009 GB, free: 137 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/2.116, allocations: 19.12 kB / 1.009 GB, free: 137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/2.118, allocations: 143.8 kB / 1.009 GB, free: 136.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/2.118, allocations: 68.42 kB / 1.009 GB, free: 136.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-05/2.118, allocations: 20 kB / 1.009 GB, free: 136.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001354/2.12, allocations: 0.6746 MB / 1.009 GB, free: 136.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.71e-07/2.12, allocations: 0 / 1.009 GB, free: 136.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00387/2.123, allocations: 0.6953 MB / 1.01 GB, free: 135.4 MB / 0.7292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * 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%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/2.137, allocations: 4.307 MB / 1.014 GB, free: 131 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01054/2.147, allocations: 3.606 MB / 1.018 GB, free: 127.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.147, allocations: 0 / 1.018 GB, free: 127.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00345/2.151, allocations: 1.351 MB / 1.019 GB, free: 126 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/2.153, allocations: 240.1 kB / 1.019 GB, free: 125.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/2.185, allocations: 18.3 MB / 1.037 GB, free: 107.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/2.187, allocations: 1.761 MB / 1.039 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002247/2.189, allocations: 0.5175 MB / 1.039 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009504/2.19, allocations: 0.5032 MB / 1.04 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of SimCode: time 9.81e-07/2.19, allocations: 0 / 1.04 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09796/2.288, allocations: 40.14 MB / 1.079 GB, free: 64.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/2.288, allocations: 248.5 kB / 1.079 GB, free: 64.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.719/6.008, allocations: 0 / 1.079 GB, free: 64.73 MB / 0.7292 GB