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.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.196/4.196, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.909e-05, allocations: 4.25 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8749/1.089, allocations: 156.7 MB / 0.7819 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.089, allocations: 94.97 kB / 0.782 GB, free: 61.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6854/1.774, allocations: 180.8 MB / 0.9585 GB, free: 12.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/1.774, allocations: 0 / 0.9585 GB, free: 12.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006129/1.775, allocations: 124 kB / 0.9587 GB, free: 12.29 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02358/1.799, allocations: 4.163 MB / 0.9627 GB, free: 8.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/1.799, allocations: 8.031 kB / 0.9627 GB, free: 8.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/1.812, allocations: 1.009 MB / 0.9637 GB, free: 7.047 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/1.826, allocations: 3.214 MB / 0.9669 GB, free: 3.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/1.827, allocations: 156 kB / 0.967 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/1.829, allocations: 280 kB / 0.9673 GB, free: 3.352 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01709/1.846, allocations: 4.717 MB / 0.9719 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02493/1.871, allocations: 6.708 MB / 0.9784 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002109/1.871, allocations: 19.78 kB / 0.9784 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/1.873, allocations: 15.94 kB / 0.9785 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000481/1.873, allocations: 269.2 kB / 0.9787 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06064/1.934, allocations: 35.2 MB / 1.013 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/1.94, allocations: 2.047 MB / 1.015 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/1.943, allocations: 1.413 MB / 1.016 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/1.943, allocations: 17.27 kB / 1.016 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.806e-05/1.943, allocations: 59.81 kB / 1.017 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=157): time 5.581e-06/1.943, allocations: 0 / 1.017 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=160): time 0.0144/1.958, allocations: 4.757 MB / 1.021 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.958, allocations: 68.72 kB / 1.021 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/1.961, allocations: 1.24 MB / 1.022 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000417/1.961, allocations: 33.7 kB / 1.023 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/1.963, allocations: 2.098 MB / 1.025 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.964, allocations: 0.5351 MB / 1.025 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/1.964, allocations: 0 / 1.025 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002479/1.965, allocations: 394.1 kB / 1.025 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/1.967, allocations: 0.9452 MB / 1.026 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003091/1.97, allocations: 1.667 MB / 1.028 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/1.973, allocations: 1.24 MB / 1.029 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/1.973, allocations: 8 kB / 1.029 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01077/1.984, allocations: 3.492 MB / 1.033 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/1.984, allocations: 16 kB / 1.033 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.344e-05/1.984, allocations: 24 kB / 1.033 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/1.989, allocations: 0.8845 MB / 1.034 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/1.992, allocations: 415.2 kB / 1.034 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02821/2.02, allocations: 20.18 MB / 1.054 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/2.023, allocations: 83.84 kB / 1.054 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006983/2.024, allocations: 100 kB / 1.054 GB, free: 5.07 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006735/2.025, allocations: 168.3 kB / 1.054 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008831/2.034, allocations: 2.912 MB / 1.057 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008785/2.035, allocations: 237.3 kB / 1.057 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00883/2.043, allocations: 3.061 MB / 1.06 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/2.043, allocations: 16 kB / 1.06 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/2.043, allocations: 8 kB / 1.06 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/2.044, allocations: 7.969 kB / 1.06 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/2.064, allocations: 6.583 MB / 1.066 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/2.064, allocations: 4.062 kB / 1.066 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/2.066, allocations: 223.6 kB / 1.067 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00412/2.07, allocations: 0.8492 MB / 1.068 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003741/2.071, allocations: 11.98 kB / 1.068 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/2.1, allocations: 20.15 MB / 1.087 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/2.1, allocations: 8 kB / 1.087 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.609/2.709, allocations: 3.507 MB / 1.091 GB, free: 197.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/2.712, allocations: 0.4999 MB / 1.091 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009332/2.713, allocations: 13.09 kB / 1.091 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/2.715, allocations: 62.89 kB / 1.091 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007927/2.716, allocations: 140.5 kB / 1.091 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/2.717, allocations: 50 kB / 1.091 GB, free: 197.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002889/2.719, allocations: 0.9073 MB / 1.092 GB, free: 197.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.42e-07/2.719, allocations: 1.219 kB / 1.092 GB, free: 197.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007194/2.727, allocations: 0.8417 MB / 1.093 GB, free: 197.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/2.74, allocations: 5.218 MB / 1.098 GB, free: 194.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01344/2.754, allocations: 4.074 MB / 1.102 GB, free: 193.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/2.754, allocations: 0.9688 kB / 1.102 GB, free: 193.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007544/2.761, allocations: 2.83 MB / 1.105 GB, free: 192.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/2.767, allocations: 0.6435 MB / 1.106 GB, free: 192.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/2.789, allocations: 7.052 MB / 1.112 GB, free: 190.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005851/2.795, allocations: 3.29 MB / 1.116 GB, free: 189.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003225/2.798, allocations: 0.4987 MB / 1.116 GB, free: 189.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003239/2.802, allocations: 1.655 MB / 1.118 GB, free: 189.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.663e-06/2.802, allocations: 2.719 kB / 1.118 GB, free: 189.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2094/3.011, allocations: 63.18 MB / 1.179 GB, free: 187.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/3.011, allocations: 164.9 kB / 1.18 GB, free: 187.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.618/7.629, allocations: 0 / 1.18 GB, free: 187.5 MB / 0.823 GB