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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.077/4.077, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.991e-05, allocations: 5.281 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8685/1.086, allocations: 172.5 MB / 0.8032 GB, free: 49.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.087, allocations: 92.84 kB / 0.8033 GB, free: 49.63 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.854/2.94, allocations: 319.1 MB / 1.115 GB, free: 146.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.964e-06/2.94, allocations: 0 / 1.115 GB, free: 146.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006627/2.941, allocations: 165.3 kB / 1.115 GB, free: 146.7 MB / 0.823 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.02552/2.967, allocations: 5.512 MB / 1.12 GB, free: 144.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/2.967, allocations: 7.344 kB / 1.12 GB, free: 144.5 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004816/2.972, allocations: 0.8881 MB / 1.121 GB, free: 144.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02066/2.992, allocations: 1.773 MB / 1.123 GB, free: 144.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0205/3.013, allocations: 5.023 MB / 1.128 GB, free: 143.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006058/3.013, allocations: 462.5 kB / 1.128 GB, free: 143.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003368/3.017, allocations: 0.5926 MB / 1.129 GB, free: 143.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/3.05, allocations: 9.87 MB / 1.139 GB, free: 141.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004693/3.051, allocations: 30.38 kB / 1.139 GB, free: 141.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003219/3.054, allocations: 269 kB / 1.139 GB, free: 141.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006352/3.054, allocations: 380.3 kB / 1.139 GB, free: 141.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/3.08, allocations: 7.699 MB / 1.147 GB, free: 141.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.109/3.189, allocations: 46.37 MB / 1.192 GB, free: 115.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/3.203, allocations: 4.144 MB / 1.196 GB, free: 115 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/3.216, allocations: 3.569 MB / 1.2 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/3.216, allocations: 38.03 kB / 1.2 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.626e-05/3.217, allocations: 71.22 kB / 1.2 GB, free: 114.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=353): time 1.162e-05/3.217, allocations: 0 / 1.2 GB, free: 114.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=578): time 0.8268/4.043, allocations: 98.55 MB / 1.296 GB, free: 78.73 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/4.044, allocations: 115.9 kB / 1.296 GB, free: 78.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004733/4.048, allocations: 2.116 MB / 1.298 GB, free: 76.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001467/4.05, allocations: 121.7 kB / 1.298 GB, free: 76.57 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002138/4.052, allocations: 2.694 MB / 1.301 GB, free: 74.16 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003/4.055, allocations: 1.946 MB / 1.303 GB, free: 72.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008355/4.056, allocations: 112 kB / 1.303 GB, free: 72.29 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003788/4.056, allocations: 0.5366 MB / 1.303 GB, free: 71.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009651/4.066, allocations: 3.721 MB / 1.307 GB, free: 68.42 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/4.077, allocations: 4.844 MB / 1.312 GB, free: 63.56 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/4.09, allocations: 4.539 MB / 1.316 GB, free: 59.62 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.425e-05/4.09, allocations: 8 kB / 1.316 GB, free: 59.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.08852/4.179, allocations: 15.87 MB / 1.332 GB, free: 46.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/4.179, allocations: 16.94 kB / 1.332 GB, free: 46.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.595e-05/4.179, allocations: 32 kB / 1.332 GB, free: 46.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05158/4.23, allocations: 7.71 MB / 1.339 GB, free: 40.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/4.235, allocations: 0.5555 MB / 1.34 GB, free: 40.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8291/5.064, allocations: 67.26 MB / 1.406 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008028/5.072, allocations: 240.8 kB / 1.406 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/5.074, allocations: 203.4 kB / 1.406 GB, free: 140.1 MB / 0.8386 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 () * 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.00327/5.077, allocations: 395.7 kB / 1.406 GB, free: 140 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002696/5.08, allocations: 467.4 kB / 1.407 GB, free: 140 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07002/5.15, allocations: 15.79 MB / 1.422 GB, free: 139.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.434e-05/5.15, allocations: 57.31 kB / 1.422 GB, free: 139.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002243/5.151, allocations: 73.47 kB / 1.422 GB, free: 139.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001397/5.151, allocations: 32.08 kB / 1.422 GB, free: 139.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08565/5.236, allocations: 23.89 MB / 1.446 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.165e-05/5.237, allocations: 6.375 kB / 1.446 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003427/5.24, allocations: 323.3 kB / 1.446 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0389/5.279, allocations: 6.827 MB / 1.453 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001437/5.28, allocations: 110.2 kB / 1.453 GB, free: 138.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.138/5.418, allocations: 64.13 MB / 1.515 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/5.418, allocations: 8.688 kB / 1.515 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06788/5.486, allocations: 20.81 MB / 1.536 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004914/5.491, allocations: 1.259 MB / 1.537 GB, free: 109.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002436/5.494, allocations: 105.1 kB / 1.537 GB, free: 109.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006753/5.501, allocations: 235.7 kB / 1.537 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003188/5.504, allocations: 0.5166 MB / 1.538 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001213/5.505, allocations: 141.8 kB / 1.538 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003658/5.509, allocations: 1.594 MB / 1.539 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.01e-07/5.509, allocations: 0 / 1.539 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01238/5.521, allocations: 2.314 MB / 1.542 GB, free: 108.3 MB / 0.8386 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 () * 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.06857/5.59, allocations: 23.21 MB / 1.564 GB, free: 97.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.04031/5.63, allocations: 13.57 MB / 1.578 GB, free: 90.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/5.63, allocations: 2.938 kB / 1.578 GB, free: 90.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.05903/5.689, allocations: 8.867 MB / 1.586 GB, free: 86.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02248/5.712, allocations: 1.104 MB / 1.587 GB, free: 85.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05009/5.762, allocations: 14.91 MB / 1.602 GB, free: 74.17 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01145/5.774, allocations: 5.013 MB / 1.607 GB, free: 70.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005331/5.779, allocations: 0.7486 MB / 1.608 GB, free: 69.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005514/5.785, allocations: 2.592 MB / 1.61 GB, free: 67.48 MB / 0.8386 GB Notification: Performance of SimCode: time 1.623e-06/5.785, allocations: 0 / 1.61 GB, free: 67.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.168/6.953, allocations: 176.5 MB / 1.782 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/6.953, allocations: 201.6 kB / 1.783 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/15.36, allocations: 1.031 kB / 1.783 GB, free: 128.7 MB / 0.8542 GB