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_RLC_N.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_RLC_N,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0101/0.0101, allocations: 87.98 kB / 15.04 MB, free: 5.582 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.001206/0.001206, allocations: 172.7 kB / 15.92 MB, free: 5.555 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.155/2.155, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.464/2.464, allocations: 252.9 MB / 0.511 GB, free: 8.383 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004788, allocations: 15.22 kB / 0.6243 GB, free: 28.39 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.06391/0.3025, allocations: 35.69 MB / 0.7629 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03513/0.3377, allocations: 14.52 MB / 0.7771 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004452/0.3422, allocations: 151 kB / 0.7773 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.3463, allocations: 0.8345 MB / 0.7781 GB, free: 6.852 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.009299/0.3556, allocations: 2.111 MB / 0.7801 GB, free: 4.734 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.008987/0.3647, allocations: 1.926 MB / 0.782 GB, free: 2.805 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01368/0.3784, allocations: 5.682 MB / 0.7876 GB, free: 13.11 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03517/0.4136, allocations: 13.96 MB / 0.8012 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008838/0.4225, allocations: 3.138 MB / 0.8043 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009152/0.4317, allocations: 3.309 MB / 0.8075 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002736/0.4345, allocations: 400 kB / 0.8079 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/0.4399, allocations: 0.7571 MB / 0.8086 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.006494/0.4465, allocations: 2.728 MB / 0.8113 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004017/0.4505, allocations: 1.381 MB / 0.8126 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01957/0.4702, allocations: 11.59 MB / 0.8239 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4702, allocations: 0 / 0.8239 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4702, allocations: 0 / 0.8239 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004879/0.4707, allocations: 0 / 0.8239 GB, free: 7.684 MB / 0.6511 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.02566/0.4964, allocations: 6.185 MB / 0.83 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4965, allocations: 15.88 kB / 0.83 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004035/0.5005, allocations: 0.8915 MB / 0.8309 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/0.5163, allocations: 1.51 MB / 0.8323 GB, free: 14.98 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/0.5306, allocations: 4.097 MB / 0.8363 GB, free: 10.81 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007314/0.5313, allocations: 464.1 kB / 0.8368 GB, free: 10.36 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003045/0.5344, allocations: 0.5896 MB / 0.8374 GB, free: 9.766 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6325/1.167, allocations: 10.59 MB / 0.8477 GB, free: 97.77 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004732/1.168, allocations: 27.53 kB / 0.8477 GB, free: 97.76 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002341/1.17, allocations: 262.3 kB / 0.848 GB, free: 97.76 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005552/1.175, allocations: 0.774 MB / 0.8487 GB, free: 97.74 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/1.203, allocations: 8.511 MB / 0.8571 GB, free: 95.7 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09113/1.295, allocations: 46.96 MB / 0.9029 GB, free: 57.16 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009561/1.304, allocations: 4.301 MB / 0.9071 GB, free: 54.81 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/1.305, allocations: 40.52 kB / 0.9071 GB, free: 54.8 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/1.305, allocations: 69.19 kB / 0.9072 GB, free: 54.74 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=353): time 8.065e-06/1.305, allocations: 4 kB / 0.9072 GB, free: 54.73 MB / 0.6668 GB Notification: Performance of matching and sorting (n=578): time 0.9841/2.289, allocations: 127.9 MB / 1.032 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/2.289, allocations: 111.9 kB / 1.032 GB, free: 13.45 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006216/2.296, allocations: 2.657 MB / 1.035 GB, free: 10.79 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.001516/2.297, allocations: 117.7 kB / 1.035 GB, free: 10.67 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.003136/2.3, allocations: 2.68 MB / 1.038 GB, free: 7.969 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.003941/2.304, allocations: 1.954 MB / 1.039 GB, free: 6.031 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/2.305, allocations: 112 kB / 1.04 GB, free: 5.922 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0005528/2.306, allocations: 0.5179 MB / 1.04 GB, free: 5.398 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01173/2.318, allocations: 4.064 MB / 1.044 GB, free: 1.328 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01298/2.331, allocations: 4.961 MB / 1.049 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/2.344, allocations: 4.831 MB / 1.054 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.468e-05/2.345, allocations: 4 kB / 1.054 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.07418/2.419, allocations: 16.92 MB / 1.07 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/2.419, allocations: 15.59 kB / 1.07 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.474e-05/2.419, allocations: 24 kB / 1.07 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07002/2.489, allocations: 9.063 MB / 1.079 GB, free: 13 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/2.494, allocations: 0.5265 MB / 1.08 GB, free: 12.47 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2155/2.709, allocations: 73.69 MB / 1.151 GB, free: 1.305 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007821/2.717, allocations: 283.7 kB / 1.152 GB, free: 1.027 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/2.719, allocations: 192 kB / 1.152 GB, free: 0.8398 MB / 0.8543 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.007768/2.726, allocations: 2.426 MB / 1.154 GB, free: 14.41 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/2.728, allocations: 474.5 kB / 1.155 GB, free: 13.94 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1012/2.829, allocations: 16.74 MB / 1.171 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001318/2.83, allocations: 56 kB / 1.171 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005778/2.83, allocations: 76 kB / 1.171 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002872/2.831, allocations: 27.89 kB / 1.171 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.759/3.59, allocations: 25.61 MB / 1.196 GB, free: 295.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.112e-05/3.59, allocations: 10.78 kB / 1.196 GB, free: 295.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003486/3.593, allocations: 316.5 kB / 1.197 GB, free: 295.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05537/3.649, allocations: 8.262 MB / 1.205 GB, free: 295.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001372/3.65, allocations: 109.7 kB / 1.205 GB, free: 295.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1592/3.809, allocations: 70.52 MB / 1.274 GB, free: 252 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/3.809, allocations: 11.94 kB / 1.274 GB, free: 252 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07274/3.882, allocations: 22.19 MB / 1.295 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005052/3.887, allocations: 1.361 MB / 1.297 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002228/3.889, allocations: 107.9 kB / 1.297 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00742/3.897, allocations: 291.6 kB / 1.297 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003474/3.9, allocations: 0.5222 MB / 1.298 GB, free: 227 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001291/3.902, allocations: 140 kB / 1.298 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003928/3.906, allocations: 1.749 MB / 1.299 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.01e-07/3.906, allocations: 3.828 kB / 1.299 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0119/3.918, allocations: 2.439 MB / 1.302 GB, free: 222.6 MB / 0.8855 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.08897/4.007, allocations: 24.6 MB / 1.326 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04216/4.049, allocations: 14.48 MB / 1.34 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/4.049, allocations: 7.938 kB / 1.34 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.03046/4.079, allocations: 9.365 MB / 1.349 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009106/4.089, allocations: 1.2 MB / 1.35 GB, free: 172.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1759/4.265, allocations: 70.78 MB / 1.419 GB, free: 99.22 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01302/4.278, allocations: 5.014 MB / 1.424 GB, free: 94.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006217/4.284, allocations: 0.7449 MB / 1.425 GB, free: 93.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006727/4.291, allocations: 2.6 MB / 1.428 GB, free: 90.81 MB / 0.8855 GB Notification: Performance of SimCode: time 3.005e-06/4.291, allocations: 0 / 1.428 GB, free: 90.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.022/5.313, allocations: 185.8 MB / 1.609 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/5.313, allocations: 239 kB / 1.609 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.084/14.4, allocations: 0 / 1.609 GB, free: 229.9 MB / 0.8855 GB