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.01106/0.01107, 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.001235/0.001234, 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 1.932/1.932, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.287/2.287, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006621/0.0006622, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.771, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05948/0.8306, allocations: 35.71 MB / 0.7183 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03733/0.868, allocations: 14.53 MB / 0.7325 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005417/0.8735, allocations: 159 kB / 0.7327 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.8778, allocations: 0.8345 MB / 0.7335 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01539/0.8933, allocations: 2.111 MB / 0.7355 GB, free: 8.957 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.9034, allocations: 1.93 MB / 0.7374 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01495/0.9184, allocations: 5.682 MB / 0.743 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03622/0.9547, allocations: 13.95 MB / 0.7566 GB, free: 3.266 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008776/0.9635, allocations: 3.134 MB / 0.7596 GB, free: 124 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009294/0.9729, allocations: 3.302 MB / 0.7629 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.002693/0.9756, allocations: 403.8 kB / 0.7633 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.9809, allocations: 0.7688 MB / 0.764 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.006768/0.9877, allocations: 2.72 MB / 0.7667 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.004225/0.992, allocations: 1.385 MB / 0.768 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01912/1.011, allocations: 11.59 MB / 0.7793 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.011, allocations: 0 / 0.7793 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.016e-06/1.011, allocations: 0 / 0.7793 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004318/1.012, allocations: 0 / 0.7793 GB, free: 11.91 MB / 0.6042 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.02438/1.036, allocations: 6.185 MB / 0.7854 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.036, allocations: 8.031 kB / 0.7854 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003659/1.04, allocations: 0.8954 MB / 0.7863 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/1.055, allocations: 1.514 MB / 0.7877 GB, free: 3.203 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.069, allocations: 4.105 MB / 0.7917 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006785/1.07, allocations: 460 kB / 0.7922 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/1.073, allocations: 0.5896 MB / 0.7928 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03436/1.107, allocations: 10.59 MB / 0.8031 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/1.108, allocations: 35.69 kB / 0.8031 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002559/1.11, allocations: 259.9 kB / 0.8034 GB, free: 2.727 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005428/1.116, allocations: 0.7768 MB / 0.8041 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/1.144, allocations: 8.514 MB / 0.8124 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09955/1.244, allocations: 46.95 MB / 0.8583 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.255, allocations: 4.304 MB / 0.8625 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006373/1.255, allocations: 34.78 kB / 0.8625 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.524e-05/1.255, allocations: 77.34 kB / 0.8626 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=353): time 7.204e-06/1.256, allocations: 0 / 0.8626 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=578): time 1.702/2.957, allocations: 127.9 MB / 0.9875 GB, free: 148.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/2.957, allocations: 111.9 kB / 0.9876 GB, free: 148.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005207/2.963, allocations: 2.65 MB / 0.9902 GB, free: 145.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001461/2.964, allocations: 129.6 kB / 0.9903 GB, free: 145.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001998/2.966, allocations: 2.674 MB / 0.9929 GB, free: 142.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003062/2.969, allocations: 1.953 MB / 0.9948 GB, free: 140.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/2.97, allocations: 120 kB / 0.9949 GB, free: 140.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003802/2.971, allocations: 0.5179 MB / 0.9955 GB, free: 140.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/2.981, allocations: 4.06 MB / 0.9994 GB, free: 136.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/2.993, allocations: 4.976 MB / 1.004 GB, free: 130.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/3.005, allocations: 4.819 MB / 1.009 GB, free: 126 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.137e-05/3.006, allocations: 8 kB / 1.009 GB, free: 126 MB / 0.7292 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.07022/3.076, allocations: 16.91 MB / 1.026 GB, free: 109 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/3.076, allocations: 20.03 kB / 1.026 GB, free: 109 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/3.076, allocations: 20 kB / 1.026 GB, free: 108.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05685/3.133, allocations: 9.059 MB / 1.034 GB, free: 99.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/3.137, allocations: 0.5226 MB / 1.035 GB, free: 99.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1661/3.304, allocations: 73.68 MB / 1.107 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007826/3.311, allocations: 279.8 kB / 1.107 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/3.313, allocations: 192 kB / 1.107 GB, free: 23.73 MB / 0.7292 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 (274): * Single equations (assignments): 263 * 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,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007138/3.32, allocations: 2.425 MB / 1.11 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/3.322, allocations: 474.4 kB / 1.11 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06914/3.391, allocations: 16.74 MB / 1.126 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-05/3.391, allocations: 56 kB / 1.127 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002298/3.392, allocations: 75.95 kB / 1.127 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/3.392, allocations: 27.89 kB / 1.127 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09887/3.491, allocations: 25.63 MB / 1.152 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-05/3.491, allocations: 8 kB / 1.152 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/3.494, allocations: 315.6 kB / 1.152 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05515/3.55, allocations: 8.267 MB / 1.16 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001327/3.551, allocations: 108 kB / 1.16 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7758/4.327, allocations: 70.51 MB / 1.229 GB, free: 256.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/4.327, allocations: 13.16 kB / 1.229 GB, free: 256.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08398/4.411, allocations: 22.19 MB / 1.251 GB, free: 252.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005201/4.416, allocations: 1.365 MB / 1.252 GB, free: 252 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002244/4.418, allocations: 108.8 kB / 1.252 GB, free: 251.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007121/4.425, allocations: 287.9 kB / 1.252 GB, free: 251.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003677/4.429, allocations: 0.5213 MB / 1.253 GB, free: 251.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001441/4.431, allocations: 145.1 kB / 1.253 GB, free: 251.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005094/4.436, allocations: 1.75 MB / 1.255 GB, free: 251.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.42e-07/4.436, allocations: 0 / 1.255 GB, free: 251.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01322/4.449, allocations: 2.442 MB / 1.257 GB, free: 250.8 MB / 0.823 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,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 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.08813/4.537, allocations: 24.6 MB / 1.281 GB, free: 238.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0815/4.619, allocations: 14.49 MB / 1.295 GB, free: 231.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/4.619, allocations: 5.016 kB / 1.295 GB, free: 231.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.03029/4.649, allocations: 9.374 MB / 1.304 GB, free: 223.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00928/4.659, allocations: 1.186 MB / 1.306 GB, free: 222.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1694/4.828, allocations: 70.8 MB / 1.375 GB, free: 151 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009662/4.838, allocations: 5.019 MB / 1.38 GB, free: 145.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004646/4.842, allocations: 0.7449 MB / 1.38 GB, free: 145.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004959/4.847, allocations: 2.596 MB / 1.383 GB, free: 142.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.234e-06/4.847, allocations: 4 kB / 1.383 GB, free: 142.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.063/5.911, allocations: 185.8 MB / 1.564 GB, free: 258 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003688/5.911, allocations: 233.7 kB / 1.565 GB, free: 257.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9/14.91, allocations: 0 / 1.565 GB, free: 257.8 MB / 0.8386 GB