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 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_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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01103/0.01104, allocations: 106.7 kB / 15.06 MB, free: 5.551 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.001221/0.00122, allocations: 177.7 kB / 15.95 MB, free: 5.516 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.942/1.942, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.453/2.453, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6959, allocations: 98.73 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05442/0.7504, allocations: 33.04 MB / 0.7157 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.7775, allocations: 10.72 MB / 0.7262 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.782, allocations: 126.1 kB / 0.7263 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.004067/0.7861, allocations: 0.758 MB / 0.727 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.008784/0.7949, allocations: 1.714 MB / 0.7287 GB, free: 15.27 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.006833/0.8018, allocations: 1.296 MB / 0.73 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01165/0.8135, allocations: 4.457 MB / 0.7343 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03205/0.8456, allocations: 12.64 MB / 0.7467 GB, free: 13.45 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007163/0.8529, allocations: 2.495 MB / 0.7491 GB, free: 10.94 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/0.8602, allocations: 2.651 MB / 0.7517 GB, free: 8.281 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.8623, allocations: 344 kB / 0.752 GB, free: 7.945 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.8663, allocations: 0.5855 MB / 0.7526 GB, free: 7.359 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.005007/0.8714, allocations: 2.311 MB / 0.7549 GB, free: 5.043 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003238/0.8747, allocations: 1.194 MB / 0.756 GB, free: 3.84 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01703/0.8917, allocations: 10.04 MB / 0.7658 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8918, allocations: 4 kB / 0.7658 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.056e-06/0.8918, allocations: 0 / 0.7658 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0003882/0.8922, allocations: 0 / 0.7658 GB, free: 9.77 MB / 0.5886 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.01849/0.9107, allocations: 5.102 MB / 0.7708 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.9108, allocations: 8.031 kB / 0.7708 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003236/0.914, allocations: 0.8292 MB / 0.7716 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00792/0.922, allocations: 1.012 MB / 0.7726 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.9329, allocations: 3.342 MB / 0.7759 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005818/0.9335, allocations: 423.4 kB / 0.7763 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.9359, allocations: 0.5467 MB / 0.7768 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/0.9688, allocations: 9.283 MB / 0.7859 GB, free: 4.758 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003151/0.9692, allocations: 15.88 kB / 0.7859 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002179/0.9714, allocations: 255.8 kB / 0.7862 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001463/0.9729, allocations: 414.9 kB / 0.7865 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02991/1.003, allocations: 7.08 MB / 0.7935 GB, free: 13 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08862/1.091, allocations: 41.37 MB / 0.8339 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/1.105, allocations: 3.09 MB / 0.8369 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/1.105, allocations: 26 kB / 0.8369 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/1.105, allocations: 64.5 kB / 0.837 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=209): time 8.887e-06/1.105, allocations: 0 / 0.837 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of matching and sorting (n=212): time 0.06041/1.166, allocations: 10.43 MB / 0.8472 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/1.166, allocations: 73.41 kB / 0.8472 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004274/1.17, allocations: 1.982 MB / 0.8492 GB, free: 80 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005227/1.171, allocations: 65.7 kB / 0.8492 GB, free: 8 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/1.173, allocations: 2.408 MB / 0.8516 GB, free: 13.57 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.175, allocations: 0.7357 MB / 0.8523 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/1.175, allocations: 52 kB / 0.8523 GB, free: 12.77 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002816/1.175, allocations: 419.3 kB / 0.8527 GB, free: 12.36 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003595/1.179, allocations: 1.36 MB / 0.8541 GB, free: 10.99 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/1.183, allocations: 2.084 MB / 0.8561 GB, free: 8.594 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/1.187, allocations: 1.72 MB / 0.8578 GB, free: 6.871 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/1.188, allocations: 4 kB / 0.8578 GB, free: 6.867 MB / 0.6824 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01402/1.202, allocations: 5.038 MB / 0.8627 GB, free: 1.805 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/1.202, allocations: 12 kB / 0.8627 GB, free: 1.793 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/1.202, allocations: 24 kB / 0.8627 GB, free: 1.77 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/1.208, allocations: 1.566 MB / 0.8643 GB, free: 200 kB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.212, allocations: 447.2 kB / 0.8647 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03813/1.25, allocations: 17.72 MB / 0.882 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/1.253, allocations: 147.9 kB / 0.8821 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000413/1.254, allocations: 104.2 kB / 0.8822 GB, free: 13.25 MB / 0.7136 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 (231): * Single equations (assignments): 227 * 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,69.4%) 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.005228/1.259, allocations: 1.949 MB / 0.8842 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008999/1.26, allocations: 296.5 kB / 0.8844 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.272, allocations: 4.424 MB / 0.8888 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.272, allocations: 23.98 kB / 0.8888 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/1.272, allocations: 23.94 kB / 0.8888 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/1.272, allocations: 7.969 kB / 0.8888 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02694/1.299, allocations: 9.652 MB / 0.8982 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.299, allocations: 4 kB / 0.8982 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.302, allocations: 231.6 kB / 0.8985 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006366/1.308, allocations: 1.433 MB / 0.8999 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/1.308, allocations: 36 kB / 0.8999 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6186/1.927, allocations: 17.72 MB / 0.9172 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.927, allocations: 9.406 kB / 0.9172 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/1.942, allocations: 4.873 MB / 0.922 GB, free: 189.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002584/1.944, allocations: 0.6365 MB / 0.9226 GB, free: 189.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.945, allocations: 44.38 kB / 0.9226 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.948, allocations: 115.5 kB / 0.9227 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/1.949, allocations: 184.7 kB / 0.9229 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/1.95, allocations: 55.38 kB / 0.923 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003273/1.953, allocations: 1.297 MB / 0.9242 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.32e-07/1.953, allocations: 1.281 kB / 0.9242 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006014/1.959, allocations: 1.137 MB / 0.9253 GB, free: 188.7 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 (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,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01433/1.974, allocations: 6.591 MB / 0.9318 GB, free: 184.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.986, allocations: 4.669 MB / 0.9363 GB, free: 182.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.986, allocations: 4.25 kB / 0.9363 GB, free: 182.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008316/1.995, allocations: 2.919 MB / 0.9392 GB, free: 181.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006551/2.001, allocations: 0.806 MB / 0.94 GB, free: 181.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0699/2.071, allocations: 41.18 MB / 0.9802 GB, free: 150.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007198/2.079, allocations: 3.789 MB / 0.9839 GB, free: 147 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003466/2.082, allocations: 0.5518 MB / 0.9844 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003973/2.086, allocations: 1.956 MB / 0.9864 GB, free: 144.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.923e-06/2.086, allocations: 0 / 0.9864 GB, free: 144.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1779/2.264, allocations: 82.31 MB / 1.067 GB, free: 62.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/2.264, allocations: 237.8 kB / 1.067 GB, free: 62.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.059/7.323, allocations: 0 / 1.067 GB, free: 62.59 MB / 0.7292 GB