Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadModel(Buildings): time 3.913/3.913, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.163e-05, allocations: 4.797 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1739, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7674/0.9414, allocations: 171.5 MB / 0.8022 GB, free: 57.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.9416, allocations: 93.8 kB / 0.8023 GB, free: 57.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9472/1.889, allocations: 267.4 MB / 1.063 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.132e-06/1.889, allocations: 0 / 1.063 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0005672/1.89, allocations: 147.9 kB / 1.064 GB, free: 12.02 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01856/1.908, allocations: 4.63 MB / 1.068 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.908, allocations: 8.031 kB / 1.068 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01448/1.923, allocations: 1.483 MB / 1.07 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.938, allocations: 4.203 MB / 1.074 GB, free: 1.547 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005615/1.938, allocations: 382.1 kB / 1.074 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/1.941, allocations: 0.4997 MB / 1.074 GB, free: 0.6719 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/1.968, allocations: 8.288 MB / 1.083 GB, free: 7.926 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/1.968, allocations: 35.72 kB / 1.083 GB, free: 7.891 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002199/1.97, allocations: 220 kB / 1.083 GB, free: 7.676 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005494/1.971, allocations: 330 kB / 1.083 GB, free: 7.352 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/1.99, allocations: 6.333 MB / 1.089 GB, free: 1.008 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5439/2.534, allocations: 40 MB / 1.128 GB, free: 132 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005703/2.54, allocations: 2.781 MB / 1.131 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005092/2.545, allocations: 2.551 MB / 1.134 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003371/2.546, allocations: 35.59 kB / 1.134 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/2.546, allocations: 58.22 kB / 1.134 GB, free: 131.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=265): time 7.064e-06/2.546, allocations: 0 / 1.134 GB, free: 131.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=424): time 0.3343/2.88, allocations: 60.07 MB / 1.192 GB, free: 128.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/2.88, allocations: 93.67 kB / 1.192 GB, free: 128.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/2.884, allocations: 1.908 MB / 1.194 GB, free: 127.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008163/2.885, allocations: 91.98 kB / 1.194 GB, free: 127.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/2.886, allocations: 2.343 MB / 1.197 GB, free: 127 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001853/2.888, allocations: 1.436 MB / 1.198 GB, free: 126.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004936/2.888, allocations: 85.38 kB / 1.198 GB, free: 126.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002864/2.889, allocations: 482.6 kB / 1.199 GB, free: 126 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005551/2.894, allocations: 2.731 MB / 1.201 GB, free: 126 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006438/2.901, allocations: 3.694 MB / 1.205 GB, free: 124.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007837/2.909, allocations: 3.33 MB / 1.208 GB, free: 124.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-05/2.909, allocations: 11.22 kB / 1.208 GB, free: 124.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.04876/2.957, allocations: 11.68 MB / 1.22 GB, free: 124.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/2.958, allocations: 18.91 kB / 1.22 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.64e-05/2.958, allocations: 31.86 kB / 1.22 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03327/2.991, allocations: 4.984 MB / 1.224 GB, free: 123.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/2.995, allocations: 0.5159 MB / 1.225 GB, free: 123.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09116/3.086, allocations: 64.69 MB / 1.288 GB, free: 75.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/3.091, allocations: 195.6 kB / 1.288 GB, free: 75.33 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006895/3.091, allocations: 164 kB / 1.289 GB, free: 75.17 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001048/3.092, allocations: 337.8 kB / 1.289 GB, free: 74.87 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009434/3.093, allocations: 391.4 kB / 1.289 GB, free: 74.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03025/3.124, allocations: 11.46 MB / 1.3 GB, free: 65.29 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/3.124, allocations: 44 kB / 1.3 GB, free: 65.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/3.124, allocations: 51.5 kB / 1.3 GB, free: 65.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.013e-05/3.124, allocations: 22.92 kB / 1.301 GB, free: 65.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04578/3.17, allocations: 17.83 MB / 1.318 GB, free: 51 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.469e-05/3.17, allocations: 4 kB / 1.318 GB, free: 50.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/3.172, allocations: 295.2 kB / 1.318 GB, free: 50.78 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01988/3.192, allocations: 4.492 MB / 1.323 GB, free: 47.32 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008629/3.193, allocations: 85.69 kB / 1.323 GB, free: 47.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1218/3.315, allocations: 62.22 MB / 1.383 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.62e-05/3.315, allocations: 14.94 kB / 1.383 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05261/3.367, allocations: 15.27 MB / 1.398 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003375/3.371, allocations: 0.9758 MB / 1.399 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/3.372, allocations: 87.73 kB / 1.399 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/3.376, allocations: 177.7 kB / 1.4 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001815/3.378, allocations: 400.3 kB / 1.4 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005362/3.378, allocations: 108 kB / 1.4 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003295/3.381, allocations: 1.432 MB / 1.401 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.167e-06/3.381, allocations: 0 / 1.401 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.009474/3.391, allocations: 1.762 MB / 1.403 GB, free: 1.746 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/3.392, allocations: 221.9 kB / 1.403 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.7421/4.134, allocations: 11.62 MB / 1.415 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/4.134, allocations: 0.8125 kB / 1.415 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01922/4.154, allocations: 7.947 MB / 1.422 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006398/4.16, allocations: 0.9718 MB / 1.423 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/4.186, allocations: 9.98 MB / 1.433 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00918/4.195, allocations: 4.186 MB / 1.437 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003849/4.199, allocations: 0.6699 MB / 1.438 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/4.199, allocations: 176.3 kB / 1.438 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.75e-06/4.199, allocations: 0 / 1.438 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.2097/4.409, allocations: 94.86 MB / 1.531 GB, free: 158.8 MB / 0.8542 GB