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_RLC_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_RLC_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.01308/0.01309, allocations: 107.6 kB / 15.05 MB, free: 5.934 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.001172/0.001172, allocations: 187 kB / 15.95 MB, free: 5.898 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.298/2.298, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.239/2.239, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.00047, allocations: 20 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6629/0.6634, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/0.9581, allocations: 172.6 MB / 0.852 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.9585, allocations: 99.94 kB / 0.8521 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.749/2.708, allocations: 320.8 MB / 1.165 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.394e-06/2.708, allocations: 0 / 1.165 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0006989/2.709, allocations: 171.8 kB / 1.166 GB, free: 9.711 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02975/2.738, allocations: 6.142 MB / 1.172 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/2.738, allocations: 8.031 kB / 1.172 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004751/2.743, allocations: 0.8993 MB / 1.172 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02158/2.765, allocations: 1.771 MB / 1.174 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02123/2.786, allocations: 5.046 MB / 1.179 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006765/2.787, allocations: 456.1 kB / 1.18 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003456/2.79, allocations: 0.5935 MB / 1.18 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03576/2.826, allocations: 9.989 MB / 1.19 GB, free: 148 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003949/2.826, allocations: 31.72 kB / 1.19 GB, free: 116 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003051/2.83, allocations: 275.9 kB / 1.19 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000729/2.83, allocations: 376.1 kB / 1.191 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/2.859, allocations: 7.835 MB / 1.198 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7576/3.617, allocations: 46.36 MB / 1.243 GB, free: 121.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01/3.627, allocations: 4.187 MB / 1.248 GB, free: 121.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/3.628, allocations: 37.83 kB / 1.248 GB, free: 121.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/3.628, allocations: 65.97 kB / 1.248 GB, free: 121.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=353): time 6.883e-06/3.628, allocations: 0 / 1.248 GB, free: 121.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=578): time 0.9238/4.552, allocations: 106.4 MB / 1.352 GB, free: 113.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/4.552, allocations: 115.3 kB / 1.352 GB, free: 113 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/4.556, allocations: 2.148 MB / 1.354 GB, free: 112.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001466/4.558, allocations: 118 kB / 1.354 GB, free: 112.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002377/4.56, allocations: 2.695 MB / 1.357 GB, free: 111.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003189/4.564, allocations: 1.96 MB / 1.358 GB, free: 110.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/4.565, allocations: 111.5 kB / 1.359 GB, free: 110.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004078/4.565, allocations: 0.5314 MB / 1.359 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009597/4.575, allocations: 3.783 MB / 1.363 GB, free: 110.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01115/4.586, allocations: 4.91 MB / 1.368 GB, free: 107.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/4.598, allocations: 4.58 MB / 1.372 GB, free: 105.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.31e-05/4.598, allocations: 8 kB / 1.372 GB, free: 105.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06309/4.661, allocations: 15.99 MB / 1.388 GB, free: 94.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/4.661, allocations: 16.62 kB / 1.388 GB, free: 94.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.428e-05/4.661, allocations: 32.88 kB / 1.388 GB, free: 94.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04389/4.705, allocations: 7.736 MB / 1.395 GB, free: 88.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/4.71, allocations: 0.5703 MB / 1.396 GB, free: 87.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1515/4.861, allocations: 70.51 MB / 1.465 GB, free: 24.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007815/4.869, allocations: 238.3 kB / 1.465 GB, free: 24.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/4.871, allocations: 202.9 kB / 1.465 GB, free: 24.23 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007635/4.879, allocations: 2.444 MB / 1.467 GB, free: 22.22 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/4.88, allocations: 466.5 kB / 1.468 GB, free: 21.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06098/4.941, allocations: 15.91 MB / 1.483 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.549e-05/4.941, allocations: 56.72 kB / 1.483 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002518/4.942, allocations: 72 kB / 1.484 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001407/4.942, allocations: 27.89 kB / 1.484 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1119/5.054, allocations: 23.97 MB / 1.507 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-05/5.054, allocations: 8 kB / 1.507 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/5.057, allocations: 322.3 kB / 1.507 GB, free: 204 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0423/5.1, allocations: 6.882 MB / 1.514 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001532/5.101, allocations: 108 kB / 1.514 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9141/6.015, allocations: 67.35 MB / 1.58 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/6.016, allocations: 14.19 kB / 1.58 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07715/6.093, allocations: 20.95 MB / 1.6 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006654/6.099, allocations: 1.253 MB / 1.602 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002495/6.102, allocations: 114.6 kB / 1.602 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006873/6.109, allocations: 234 kB / 1.602 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003579/6.113, allocations: 0.5218 MB / 1.602 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001343/6.114, allocations: 144 kB / 1.603 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004063/6.118, allocations: 1.619 MB / 1.604 GB, free: 158 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.52e-07/6.118, allocations: 0 / 1.604 GB, free: 158 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01339/6.131, allocations: 2.313 MB / 1.606 GB, free: 158 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07019/6.202, allocations: 23.37 MB / 1.629 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.04016/6.242, allocations: 13.82 MB / 1.643 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/6.242, allocations: 0 / 1.643 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0291/6.271, allocations: 9.056 MB / 1.652 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009484/6.281, allocations: 1.111 MB / 1.653 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1595/6.44, allocations: 74.34 MB / 1.725 GB, free: 95.28 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/6.453, allocations: 5.016 MB / 1.73 GB, free: 93.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005498/6.459, allocations: 0.7412 MB / 1.731 GB, free: 93.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006376/6.465, allocations: 2.593 MB / 1.733 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.394e-06/6.465, allocations: 0 / 1.733 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.229/7.694, allocations: 175.7 MB / 1.905 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/7.694, allocations: 238.6 kB / 1.905 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/16.25, allocations: 0 / 1.905 GB, free: 170.3 MB / 0.8698 GB