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_N.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.ACLine_R_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.007/4.007, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.534e-05, allocations: 4.531 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2204, allocations: 98.75 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8318/1.052, allocations: 158 MB / 0.789 GB, free: 58.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.053, allocations: 95.53 kB / 0.7891 GB, free: 58.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7927/1.845, allocations: 201.3 MB / 0.9857 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.755e-06/1.845, allocations: 0 / 0.9857 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005397/1.846, allocations: 151.9 kB / 0.9859 GB, free: 11.63 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02186/1.868, allocations: 4.875 MB / 0.9906 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/1.868, allocations: 12.03 kB / 0.9907 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004294/1.872, allocations: 0.8175 MB / 0.9915 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/1.883, allocations: 1.136 MB / 0.9926 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/1.898, allocations: 3.689 MB / 0.9962 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/1.899, allocations: 427.6 kB / 0.9966 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/1.901, allocations: 0.5507 MB / 0.9971 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03073/1.932, allocations: 8.715 MB / 1.006 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000314/1.933, allocations: 23.77 kB / 1.006 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002259/1.935, allocations: 252 kB / 1.006 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005477/1.935, allocations: 299 kB / 1.006 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/1.957, allocations: 6.325 MB / 1.012 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07535/2.033, allocations: 41.46 MB / 1.053 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008118/2.041, allocations: 3.077 MB / 1.056 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005031/2.046, allocations: 2.137 MB / 1.058 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/2.046, allocations: 25.98 kB / 1.058 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/2.046, allocations: 64.56 kB / 1.058 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=209): time 7.975e-06/2.046, allocations: 3.984 kB / 1.058 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=212): time 0.01883/2.065, allocations: 6.581 MB / 1.064 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/2.065, allocations: 81.33 kB / 1.065 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/2.069, allocations: 1.641 MB / 1.066 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005751/2.07, allocations: 61.7 kB / 1.066 GB, free: 5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002401/2.072, allocations: 2.369 MB / 1.068 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/2.074, allocations: 0.7317 MB / 1.069 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/2.074, allocations: 48 kB / 1.069 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002693/2.074, allocations: 415.1 kB / 1.07 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/2.078, allocations: 1.297 MB / 1.071 GB, free: 100 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/2.082, allocations: 2.078 MB / 1.073 GB, free: 13.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/2.087, allocations: 1.673 MB / 1.075 GB, free: 11.99 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-05/2.087, allocations: 8 kB / 1.075 GB, free: 11.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01472/2.101, allocations: 4.926 MB / 1.079 GB, free: 7.035 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/2.102, allocations: 20.17 kB / 1.079 GB, free: 7.016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/2.102, allocations: 28 kB / 1.079 GB, free: 6.988 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006362/2.108, allocations: 1.518 MB / 1.081 GB, free: 5.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/2.111, allocations: 443.2 kB / 1.081 GB, free: 5.027 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6118/2.723, allocations: 16.94 MB / 1.098 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005634/2.729, allocations: 147.6 kB / 1.098 GB, free: 179 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000927/2.73, allocations: 107.7 kB / 1.098 GB, free: 179 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001182/2.731, allocations: 258 kB / 1.098 GB, free: 178.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/2.733, allocations: 291 kB / 1.099 GB, free: 178.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/2.752, allocations: 4.414 MB / 1.103 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/2.753, allocations: 22.66 kB / 1.103 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-05/2.753, allocations: 16.84 kB / 1.103 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.337e-05/2.753, allocations: 11.48 kB / 1.103 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04579/2.799, allocations: 9.599 MB / 1.112 GB, free: 178 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/2.799, allocations: 3.562 kB / 1.112 GB, free: 178 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/2.802, allocations: 241.7 kB / 1.113 GB, free: 178 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008687/2.811, allocations: 1.394 MB / 1.114 GB, free: 177.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005599/2.811, allocations: 43.64 kB / 1.114 GB, free: 177.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/2.849, allocations: 16.98 MB / 1.131 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/2.849, allocations: 6.812 kB / 1.131 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/2.86, allocations: 4.843 MB / 1.135 GB, free: 172 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/2.863, allocations: 0.6278 MB / 1.136 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009356/2.864, allocations: 41.14 kB / 1.136 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002607/2.866, allocations: 116.9 kB / 1.136 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006811/2.867, allocations: 174.5 kB / 1.136 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/2.867, allocations: 58.19 kB / 1.136 GB, free: 171.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002517/2.87, allocations: 1.243 MB / 1.138 GB, free: 171.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.61e-07/2.87, allocations: 0 / 1.138 GB, free: 171.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005502/2.875, allocations: 1.178 MB / 1.139 GB, free: 171.6 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 (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01168/2.887, allocations: 6.551 MB / 1.145 GB, free: 169 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01124/2.898, allocations: 4.541 MB / 1.15 GB, free: 168.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/2.898, allocations: 0 / 1.15 GB, free: 168.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007245/2.906, allocations: 2.865 MB / 1.152 GB, free: 167.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005756/2.911, allocations: 0.7678 MB / 1.153 GB, free: 167.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03813/2.95, allocations: 8.888 MB / 1.162 GB, free: 165.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01204/2.962, allocations: 3.786 MB / 1.165 GB, free: 165.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005077/2.967, allocations: 0.545 MB / 1.166 GB, free: 165.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00555/2.972, allocations: 1.944 MB / 1.168 GB, free: 164.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.515e-06/2.972, allocations: 2.969 kB / 1.168 GB, free: 164.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/3.177, allocations: 81.74 MB / 1.248 GB, free: 143 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/3.177, allocations: 203.9 kB / 1.248 GB, free: 142.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.087/8.265, allocations: 2.719 kB / 1.248 GB, free: 142.8 MB / 0.823 GB