Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.711/4.711, allocations: 0.5623 GB / 0.5769 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002395/0.002395, allocations: 357.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.216/4.216, allocations: 410.7 MB / 1.112 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002636/0.002635, allocations: 186.3 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004875, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5888/0.5893, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0353/0.6247, allocations: 34.17 MB / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.6451, allocations: 12.39 MB / 1.506 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.6491, allocations: 149.1 kB / 1.506 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.6517, allocations: 0.6978 MB / 1.507 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.006878/0.6586, allocations: 2.232 MB / 1.509 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005584/0.6642, allocations: 1.638 MB / 1.511 GB, free: 233.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.6754, allocations: 10.65 MB / 1.521 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02027/0.6957, allocations: 11.42 MB / 1.532 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/0.7011, allocations: 2.898 MB / 1.535 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/0.707, allocations: 3.767 MB / 1.539 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001374/0.7084, allocations: 320 kB / 1.539 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.7119, allocations: 0.7685 MB / 1.54 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003337/0.7152, allocations: 2.435 MB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002548/0.7178, allocations: 1.178 MB / 1.543 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.7283, allocations: 9.726 MB / 1.553 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.7283, allocations: 0 / 1.553 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.634e-06/0.7283, allocations: 0 / 1.553 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002532/0.7286, allocations: 7.938 kB / 1.553 GB, free: 190.1 MB / 0.8542 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.0122/0.7408, allocations: 5.197 MB / 1.558 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7408, allocations: 15.62 kB / 1.558 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.7513, allocations: 1.37 MB / 1.559 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00838/0.7597, allocations: 3.468 MB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/0.7602, allocations: 382.1 kB / 1.563 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/0.7628, allocations: 0.5011 MB / 1.564 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/0.7836, allocations: 8.835 MB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/0.7839, allocations: 27.77 kB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/0.7853, allocations: 223.9 kB / 1.572 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002409/0.7877, allocations: 0.6343 MB / 1.573 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.8042, allocations: 6.971 MB / 1.58 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05236/0.8566, allocations: 40.38 MB / 1.619 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005253/0.8619, allocations: 2.886 MB / 1.622 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004921/0.8669, allocations: 2.655 MB / 1.625 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/0.8673, allocations: 30.08 kB / 1.625 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/0.8673, allocations: 72.55 kB / 1.625 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 6.544e-06/0.8674, allocations: 0 / 1.625 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.3408/1.208, allocations: 77.41 MB / 1.7 GB, free: 34.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/1.208, allocations: 94.73 kB / 1.701 GB, free: 34.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/1.212, allocations: 2.332 MB / 1.703 GB, free: 32.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007933/1.213, allocations: 97.7 kB / 1.703 GB, free: 32.06 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.214, allocations: 2.337 MB / 1.705 GB, free: 29.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/1.216, allocations: 1.44 MB / 1.707 GB, free: 28.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/1.217, allocations: 84 kB / 1.707 GB, free: 28.15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000246/1.217, allocations: 491.2 kB / 1.707 GB, free: 27.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006028/1.223, allocations: 2.98 MB / 1.71 GB, free: 24.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/1.23, allocations: 3.835 MB / 1.714 GB, free: 20.51 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006799/1.237, allocations: 3.544 MB / 1.717 GB, free: 16.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-05/1.237, allocations: 8 kB / 1.717 GB, free: 16.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03497/1.272, allocations: 12.49 MB / 1.729 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/1.272, allocations: 16.94 kB / 1.73 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.504e-05/1.272, allocations: 27.94 kB / 1.73 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.577/1.849, allocations: 6.012 MB / 1.735 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/1.851, allocations: 493.4 kB / 1.736 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09919/1.951, allocations: 67.19 MB / 1.801 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/1.955, allocations: 215.1 kB / 1.802 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007607/1.956, allocations: 158.6 kB / 1.802 GB, free: 201 MB / 0.8542 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 (269): * Single equations (assignments): 245 * 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,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004411/1.96, allocations: 1.993 MB / 1.804 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.961, allocations: 389.8 kB / 1.804 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03367/1.995, allocations: 12.18 MB / 1.816 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/1.995, allocations: 40 kB / 1.816 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001384/1.995, allocations: 52 kB / 1.816 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.399e-05/1.995, allocations: 24.64 kB / 1.816 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07476/2.07, allocations: 19.12 MB / 1.835 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.03e-05/2.07, allocations: 11.94 kB / 1.835 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003705/2.074, allocations: 288.4 kB / 1.835 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04568/2.119, allocations: 5.571 MB / 1.841 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007623/2.12, allocations: 80 kB / 1.841 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08709/2.207, allocations: 64.8 MB / 1.904 GB, free: 94.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/2.207, allocations: 19.92 kB / 1.904 GB, free: 94.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03658/2.244, allocations: 15.55 MB / 1.919 GB, free: 78.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003026/2.247, allocations: 1.051 MB / 1.92 GB, free: 77.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/2.248, allocations: 79.98 kB / 1.92 GB, free: 77.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003538/2.252, allocations: 215.7 kB / 1.92 GB, free: 77.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001804/2.254, allocations: 402.3 kB / 1.921 GB, free: 76.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006164/2.254, allocations: 108 kB / 1.921 GB, free: 76.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002683/2.257, allocations: 1.537 MB / 1.922 GB, free: 74.99 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.06e-07/2.257, allocations: 4.469 kB / 1.922 GB, free: 74.99 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007666/2.265, allocations: 1.844 MB / 1.924 GB, free: 73.14 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 () * Number of clocked 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,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000875/2.266, allocations: 225.3 kB / 1.924 GB, free: 72.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02908/2.295, allocations: 12.2 MB / 1.936 GB, free: 60.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/2.295, allocations: 4.312 kB / 1.936 GB, free: 60.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01993/2.315, allocations: 8.36 MB / 1.945 GB, free: 51.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00674/2.322, allocations: 1.105 MB / 1.946 GB, free: 50.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/2.345, allocations: 14.25 MB / 1.96 GB, free: 36.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006054/2.351, allocations: 4.191 MB / 1.964 GB, free: 32.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003249/2.354, allocations: 0.6661 MB / 1.964 GB, free: 31.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/2.355, allocations: 183.4 kB / 1.964 GB, free: 31.38 MB / 0.8542 GB Notification: Performance of SimCode: time 1.931e-06/2.355, allocations: 0 / 1.964 GB, free: 31.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.2258/2.581, allocations: 102.5 MB / 2.065 GB, free: 10.12 MB / 0.9323 GB