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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01646/0.01646, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001793/0.001794, allocations: 181.4 kB / 15.95 MB, free: 5.52 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 2.05/2.05, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.281/2.281, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.6428, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04889/0.6917, allocations: 30.62 MB / 0.7133 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02574/0.7175, allocations: 9.65 MB / 0.7228 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003957/0.7216, allocations: 119.7 kB / 0.7229 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003584/0.7252, allocations: 0.6794 MB / 0.7235 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007819/0.7331, allocations: 1.579 MB / 0.7251 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.7393, allocations: 1.172 MB / 0.7262 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.7494, allocations: 3.903 MB / 0.73 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02671/0.7762, allocations: 10.38 MB / 0.7402 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006578/0.7829, allocations: 2.137 MB / 0.7423 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006167/0.7891, allocations: 2.203 MB / 0.7444 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.7909, allocations: 280 kB / 0.7447 GB, free: 15.48 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.7945, allocations: 0.5268 MB / 0.7452 GB, free: 14.95 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.004366/0.7989, allocations: 1.921 MB / 0.7471 GB, free: 13.02 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.8019, allocations: 1.034 MB / 0.7481 GB, free: 11.98 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02097/0.823, allocations: 8.393 MB / 0.7563 GB, free: 3.566 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.823, allocations: 4 kB / 0.7563 GB, free: 3.562 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.126e-06/0.823, allocations: 0 / 0.7563 GB, free: 3.562 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003632/0.8234, allocations: 0 / 0.7563 GB, free: 3.562 MB / 0.573 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.01569/0.8391, allocations: 4.379 MB / 0.7606 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.8392, allocations: 11.97 kB / 0.7606 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002794/0.842, allocations: 0.706 MB / 0.7613 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/0.8492, allocations: 0.9072 MB / 0.7621 GB, free: 13.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.8593, allocations: 2.925 MB / 0.765 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005487/0.8599, allocations: 353.6 kB / 0.7653 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/0.8619, allocations: 468 kB / 0.7658 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02484/0.8868, allocations: 7.839 MB / 0.7734 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/0.8871, allocations: 15.88 kB / 0.7735 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/0.8886, allocations: 211.9 kB / 0.7737 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009083/0.8896, allocations: 365.1 kB / 0.774 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.909, allocations: 5.902 MB / 0.7798 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06084/0.9699, allocations: 36.24 MB / 0.8152 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/0.9762, allocations: 2.139 MB / 0.8172 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.9764, allocations: 13.31 kB / 0.8173 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/0.9765, allocations: 63.83 kB / 0.8173 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=157): time 4.478e-06/0.9765, allocations: 0 / 0.8173 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=160): time 0.02829/1.005, allocations: 7.528 MB / 0.8247 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/1.005, allocations: 68.72 kB / 0.8247 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005447/1.01, allocations: 1.848 MB / 0.8265 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004965/1.011, allocations: 53.7 kB / 0.8266 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.003077/1.014, allocations: 2.127 MB / 0.8287 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/1.015, allocations: 0.5585 MB / 0.8292 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/1.016, allocations: 44 kB / 0.8293 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003717/1.016, allocations: 394.3 kB / 0.8296 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004458/1.021, allocations: 1.055 MB / 0.8307 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005067/1.026, allocations: 1.744 MB / 0.8324 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005157/1.031, allocations: 1.341 MB / 0.8337 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.719e-05/1.031, allocations: 8 kB / 0.8337 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01619/1.047, allocations: 3.905 MB / 0.8375 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/1.047, allocations: 16 kB / 0.8375 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.281e-05/1.048, allocations: 20 kB / 0.8375 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006323/1.054, allocations: 0.9351 MB / 0.8384 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/1.058, allocations: 427.3 kB / 0.8388 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03628/1.094, allocations: 21.43 MB / 0.8598 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.098, allocations: 115.9 kB / 0.8599 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/1.098, allocations: 104 kB / 0.86 GB, free: 3.215 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * 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: 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.004388/1.102, allocations: 1.643 MB / 0.8616 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008175/1.103, allocations: 257.1 kB / 0.8618 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009483/1.113, allocations: 3.252 MB / 0.865 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.113, allocations: 19.98 kB / 0.865 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/1.113, allocations: 8 kB / 0.865 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/1.113, allocations: 15.97 kB / 0.8651 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02148/1.134, allocations: 7.533 MB / 0.8724 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.134, allocations: 4 kB / 0.8724 GB, free: 6.273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/1.136, allocations: 215.6 kB / 0.8726 GB, free: 6.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004473/1.141, allocations: 0.8885 MB / 0.8735 GB, free: 5.137 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000304/1.141, allocations: 32 kB / 0.8735 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03194/1.173, allocations: 21.38 MB / 0.8944 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/1.173, allocations: 16 kB / 0.8944 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009766/1.183, allocations: 3.693 MB / 0.898 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/1.185, allocations: 0.5331 MB / 0.8985 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005433/1.185, allocations: 35.94 kB / 0.8986 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.188, allocations: 91.89 kB / 0.8987 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005973/1.188, allocations: 141 kB / 0.8988 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.188, allocations: 44 kB / 0.8988 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002682/1.191, allocations: 1.209 MB / 0.9 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.81e-07/1.191, allocations: 0 / 0.9 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004634/1.196, allocations: 0.9062 MB / 0.9009 GB, free: 7.176 MB / 0.7292 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 () * Number of clocked 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%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01096/1.207, allocations: 5.423 MB / 0.9062 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.7202/1.927, allocations: 4.394 MB / 0.9105 GB, free: 196.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/1.927, allocations: 2.406 kB / 0.9105 GB, free: 196.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007169/1.934, allocations: 2.999 MB / 0.9134 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005705/1.94, allocations: 0.7484 MB / 0.9142 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06314/2.003, allocations: 36.52 MB / 0.9498 GB, free: 168 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006776/2.01, allocations: 3.3 MB / 0.953 GB, free: 166.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003549/2.014, allocations: 0.5249 MB / 0.9536 GB, free: 166.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003431/2.017, allocations: 1.66 MB / 0.9552 GB, free: 165.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/2.017, allocations: 0 / 0.9552 GB, free: 165.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/2.228, allocations: 68.69 MB / 1.022 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/2.228, allocations: 223.6 kB / 1.022 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.753/6.981, allocations: 0 / 1.022 GB, free: 106.7 MB / 0.7292 GB