Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01454/0.01455, allocations: 88.67 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001789/0.001788, allocations: 169.4 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.174/2.174, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.378/2.378, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004946, allocations: 17.28 kB / 0.6243 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04608/0.2665, allocations: 26.63 MB / 0.7541 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02906/0.2956, allocations: 12.58 MB / 0.7664 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.299, allocations: 115.2 kB / 0.7665 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.3022, allocations: 0.6288 MB / 0.7671 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.009347/0.3116, allocations: 2.111 MB / 0.7692 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006007/0.3176, allocations: 1.212 MB / 0.7703 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.3279, allocations: 3.997 MB / 0.7742 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02123/0.3492, allocations: 8.515 MB / 0.7826 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006218/0.3555, allocations: 2.278 MB / 0.7848 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005357/0.3609, allocations: 2.039 MB / 0.7868 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.3623, allocations: 244 kB / 0.787 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.3657, allocations: 0.597 MB / 0.7876 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003671/0.3695, allocations: 1.75 MB / 0.7893 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.3722, allocations: 0.968 MB / 0.7902 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.3849, allocations: 7.613 MB / 0.7977 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3849, allocations: 0 / 0.7977 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.386e-06/0.3849, allocations: 0 / 0.7977 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003066/0.3853, allocations: 0 / 0.7977 GB, free: 2.629 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01459/0.3998, allocations: 4.173 MB / 0.8018 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.3999, allocations: 8.031 kB / 0.8018 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002518/0.4025, allocations: 0.624 MB / 0.8024 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008795/0.4113, allocations: 0.9737 MB / 0.8033 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009679/0.421, allocations: 2.81 MB / 0.8061 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.4215, allocations: 320.5 kB / 0.8064 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.4234, allocations: 423.9 kB / 0.8068 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.4445, allocations: 6.713 MB / 0.8133 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002244/0.4448, allocations: 19.78 kB / 0.8134 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.4459, allocations: 188 kB / 0.8135 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00153/0.4474, allocations: 376 kB / 0.8139 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.4642, allocations: 5.083 MB / 0.8189 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6993/1.164, allocations: 30.73 MB / 0.8489 GB, free: 95.31 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/1.168, allocations: 1.39 MB / 0.8502 GB, free: 95.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/1.168, allocations: 13.78 kB / 0.8502 GB, free: 95.28 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/1.168, allocations: 54.14 kB / 0.8503 GB, free: 95.24 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=130): time 4.268e-06/1.168, allocations: 0 / 0.8503 GB, free: 95.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=199): time 0.1907/1.359, allocations: 22.78 MB / 0.8725 GB, free: 92.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.359, allocations: 77.08 kB / 0.8726 GB, free: 92.12 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/1.363, allocations: 2.047 MB / 0.8746 GB, free: 91.01 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004507/1.363, allocations: 57.61 kB / 0.8747 GB, free: 90.95 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.365, allocations: 2.005 MB / 0.8766 GB, free: 89.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009358/1.366, allocations: 0.6762 MB / 0.8773 GB, free: 88.61 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/1.366, allocations: 47.91 kB / 0.8773 GB, free: 88.57 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001646/1.366, allocations: 394.3 kB / 0.8777 GB, free: 88.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003328/1.37, allocations: 1.427 MB / 0.8791 GB, free: 87.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003735/1.373, allocations: 1.995 MB / 0.881 GB, free: 85.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/1.378, allocations: 1.73 MB / 0.8827 GB, free: 84.97 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.378, allocations: 3.688 kB / 0.8827 GB, free: 84.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01791/1.396, allocations: 5.636 MB / 0.8882 GB, free: 81.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/1.396, allocations: 11.25 kB / 0.8883 GB, free: 81.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/1.396, allocations: 18.59 kB / 0.8883 GB, free: 81.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/1.407, allocations: 2.071 MB / 0.8903 GB, free: 80.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/1.41, allocations: 382.5 kB / 0.8907 GB, free: 80.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04995/1.46, allocations: 36.27 MB / 0.9261 GB, free: 42.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/1.464, allocations: 131.9 kB / 0.9262 GB, free: 42.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/1.465, allocations: 87.84 kB / 0.9263 GB, free: 42.72 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.003819/1.468, allocations: 1.508 MB / 0.9278 GB, free: 41.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009125/1.469, allocations: 284.6 kB / 0.928 GB, free: 40.92 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/1.486, allocations: 5.202 MB / 0.9331 GB, free: 35.64 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.486, allocations: 20.19 kB / 0.9331 GB, free: 35.62 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-05/1.486, allocations: 16 kB / 0.9331 GB, free: 35.61 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.337e-05/1.486, allocations: 11.95 kB / 0.9332 GB, free: 35.59 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02863/1.515, allocations: 9.659 MB / 0.9426 GB, free: 25.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-05/1.515, allocations: 4.844 kB / 0.9426 GB, free: 25.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.517, allocations: 215.7 kB / 0.9428 GB, free: 25.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01021/1.527, allocations: 1.839 MB / 0.9446 GB, free: 23.66 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003839/1.527, allocations: 40 kB / 0.9446 GB, free: 23.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05133/1.579, allocations: 35.28 MB / 0.9791 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/1.579, allocations: 8 kB / 0.9791 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.595, allocations: 5.422 MB / 0.9844 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/1.597, allocations: 0.6263 MB / 0.985 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000648/1.598, allocations: 43.98 kB / 0.9851 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.601, allocations: 123.8 kB / 0.9852 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009675/1.602, allocations: 193.6 kB / 0.9854 GB, free: 11.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.602, allocations: 52 kB / 0.9854 GB, free: 11.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003195/1.605, allocations: 1.359 MB / 0.9867 GB, free: 9.812 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.605, allocations: 0 / 0.9867 GB, free: 9.812 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005698/1.611, allocations: 1.039 MB / 0.9877 GB, free: 8.773 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01803/1.629, allocations: 7.683 MB / 0.9952 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.017/1.646, allocations: 6.253 MB / 1.001 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.646, allocations: 4 kB / 1.001 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/1.658, allocations: 4.403 MB / 1.006 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006783/1.664, allocations: 0.8768 MB / 1.007 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07716/1.742, allocations: 36.86 MB / 1.043 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006576/1.748, allocations: 3.209 MB / 1.046 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003204/1.752, allocations: 0.5159 MB / 1.046 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003629/1.755, allocations: 1.679 MB / 1.048 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of SimCode: time 1.382e-06/1.755, allocations: 0 / 1.048 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.213/1.968, allocations: 85.59 MB / 1.131 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.969, allocations: 221.4 kB / 1.132 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.517/7.485, allocations: 4.062 kB / 1.132 GB, free: 3.812 MB / 0.8386 GB