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_RL_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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009189/0.009193, allocations: 107 kB / 15.06 MB, free: 5.562 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.001184/0.001184, allocations: 180.4 kB / 15.95 MB, free: 5.523 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.009/2.009, 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.274/2.274, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 12 kB / 0.587 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5388/0.5393, allocations: 98.7 MB / 0.6833 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02271/0.562, allocations: 17.63 MB / 0.7006 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01148/0.5735, allocations: 6.214 MB / 0.7066 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.5756, allocations: 69.88 kB / 0.7067 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.5767, allocations: 398.9 kB / 0.7071 GB, free: 236 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.5808, allocations: 0.8698 MB / 0.7079 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.5842, allocations: 0.7831 MB / 0.7087 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004979/0.5892, allocations: 2.317 MB / 0.711 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.6033, allocations: 6.382 MB / 0.7172 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.6063, allocations: 1.32 MB / 0.7185 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.6093, allocations: 1.362 MB / 0.7198 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006307/0.6099, allocations: 176.1 kB / 0.72 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.6116, allocations: 407.1 kB / 0.7204 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.6135, allocations: 1.248 MB / 0.7216 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.6147, allocations: 0.6408 MB / 0.7222 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.007694/0.6224, allocations: 5.296 MB / 0.7274 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.932e-06/0.6224, allocations: 0 / 0.7274 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.322e-06/0.6224, allocations: 0 / 0.7274 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001172/0.6226, allocations: 0 / 0.7274 GB, free: 1.211 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.006948/0.6295, allocations: 2.832 MB / 0.7301 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6296, allocations: 11.97 kB / 0.7302 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/0.6339, allocations: 0.6207 MB / 0.7308 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004839/0.6387, allocations: 1.892 MB / 0.7326 GB, free: 11.73 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.639, allocations: 221.9 kB / 0.7328 GB, free: 11.51 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007669/0.6398, allocations: 299.8 kB / 0.7331 GB, free: 11.21 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.6514, allocations: 4.843 MB / 0.7378 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-05/0.6516, allocations: 7.938 kB / 0.7378 GB, free: 6.164 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004272/0.652, allocations: 128 kB / 0.738 GB, free: 6.039 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005346/0.6525, allocations: 225.7 kB / 0.7382 GB, free: 5.816 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009388/0.662, allocations: 3.727 MB / 0.7418 GB, free: 2.078 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03341/0.6954, allocations: 21.62 MB / 0.7629 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/0.6998, allocations: 1.302 MB / 0.7642 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.7, allocations: 13 kB / 0.7642 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/0.7001, allocations: 55.53 kB / 0.7643 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=107): time 7.425e-06/0.7001, allocations: 0 / 0.7643 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=138): time 0.03041/0.7305, allocations: 8.661 MB / 0.7727 GB, free: 364 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.7306, allocations: 64.72 kB / 0.7728 GB, free: 284 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.7327, allocations: 1.122 MB / 0.7739 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.7329, allocations: 49.7 kB / 0.7739 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.734, allocations: 1.296 MB / 0.7752 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.7346, allocations: 481 kB / 0.7757 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.7347, allocations: 36 kB / 0.7757 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002293/0.735, allocations: 369.9 kB / 0.776 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.7369, allocations: 0.9057 MB / 0.7769 GB, free: 12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.7392, allocations: 1.315 MB / 0.7782 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/0.7415, allocations: 1.135 MB / 0.7793 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.943e-06/0.7415, allocations: 0 / 0.7793 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008408/0.75, allocations: 3.446 MB / 0.7827 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.75, allocations: 16.2 kB / 0.7827 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.7501, allocations: 12 kB / 0.7827 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004384/0.7545, allocations: 1.182 MB / 0.7839 GB, free: 4.703 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.7558, allocations: 267.5 kB / 0.7841 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/0.7799, allocations: 13.18 MB / 0.797 GB, free: 6.867 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.7814, allocations: 87.97 kB / 0.7971 GB, free: 6.781 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.7816, allocations: 68 kB / 0.7971 GB, free: 6.715 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002274/0.7838, allocations: 1.114 MB / 0.7982 GB, free: 5.59 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.7843, allocations: 166 kB / 0.7984 GB, free: 5.426 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008175/0.7924, allocations: 3.161 MB / 0.8015 GB, free: 2.242 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.7925, allocations: 12 kB / 0.8015 GB, free: 2.23 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/0.7925, allocations: 12 kB / 0.8015 GB, free: 2.219 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.532e-05/0.7926, allocations: 11.97 kB / 0.8015 GB, free: 2.207 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01915/0.8117, allocations: 6.237 MB / 0.8076 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/0.8118, allocations: 4 kB / 0.8076 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.8132, allocations: 147.8 kB / 0.8077 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007522/0.8208, allocations: 1.069 MB / 0.8088 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/0.8211, allocations: 39.94 kB / 0.8088 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04198/0.8631, allocations: 12.91 MB / 0.8214 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/0.8632, allocations: 4 kB / 0.8214 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.8767, allocations: 3.385 MB / 0.8247 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/0.8788, allocations: 439 kB / 0.8252 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005546/0.8794, allocations: 24 kB / 0.8252 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/0.8815, allocations: 87.84 kB / 0.8253 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006568/0.8822, allocations: 116.8 kB / 0.8254 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/0.8825, allocations: 39.94 kB / 0.8254 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002502/0.885, allocations: 0.767 MB / 0.8262 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.472e-06/0.885, allocations: 0 / 0.8262 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004833/0.8899, allocations: 0.6562 MB / 0.8268 GB, free: 7.52 MB / 0.6511 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005514/0.8905, allocations: 139.1 kB / 0.8269 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.9022, allocations: 3.123 MB / 0.83 GB, free: 4.211 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.9023, allocations: 8.25 kB / 0.83 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00597/0.9083, allocations: 1.959 MB / 0.8319 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.9108, allocations: 450.3 kB / 0.8323 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.9235, allocations: 6.442 MB / 0.8386 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/0.9273, allocations: 2.395 MB / 0.841 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001595/0.9289, allocations: 354 kB / 0.8413 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.9293, allocations: 87.44 kB / 0.8414 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of SimCode: time 1.487e-06/0.9293, allocations: 0 / 0.8414 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of Templates: time 0.07627/1.006, allocations: 30.18 MB / 0.8709 GB, free: 10.52 MB / 0.698 GB