Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.836/4.836, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 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.00258/0.00258, allocations: 354.9 kB / 0.6446 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.167/4.167, allocations: 410.7 MB / 1.113 GB, free: 5.969 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.001861/0.001861, allocations: 185.1 kB / 1.226 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004891, allocations: 16 kB / 1.349 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.7647, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/1.044, allocations: 180.3 MB / 1.637 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/1.044, allocations: 103.5 kB / 1.637 GB, free: 103.8 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1336/1.178, allocations: 36.84 MB / 1.673 GB, free: 66.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.434e-06/1.178, allocations: 5.312 kB / 1.673 GB, free: 66.83 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.137e-05/1.178, allocations: 19.94 kB / 1.673 GB, free: 66.81 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002448/1.18, allocations: 0.9942 MB / 1.674 GB, free: 65.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.18, allocations: 12.25 kB / 1.674 GB, free: 65.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/1.186, allocations: 0.6299 MB / 1.675 GB, free: 65.15 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/1.188, allocations: 0.5896 MB / 1.676 GB, free: 64.53 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/1.188, allocations: 42.52 kB / 1.676 GB, free: 64.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/1.188, allocations: 48 kB / 1.676 GB, free: 64.44 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/1.191, allocations: 1.014 MB / 1.677 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/1.191, allocations: 7.938 kB / 1.677 GB, free: 63.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/1.191, allocations: 23.98 kB / 1.677 GB, free: 63.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/1.191, allocations: 41.3 kB / 1.677 GB, free: 63.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/1.195, allocations: 1.008 MB / 1.678 GB, free: 62.32 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/1.202, allocations: 3.549 MB / 1.681 GB, free: 58.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/1.204, allocations: 0.5259 MB / 1.682 GB, free: 57.94 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009725/1.205, allocations: 244.7 kB / 1.682 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/1.205, allocations: 7.984 kB / 1.682 GB, free: 57.69 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.205, allocations: 38.56 kB / 1.682 GB, free: 57.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/1.205, allocations: 0 / 1.682 GB, free: 57.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.01239/1.218, allocations: 2.305 MB / 1.684 GB, free: 55.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/1.218, allocations: 132.5 kB / 1.684 GB, free: 55.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/1.219, allocations: 0.5627 MB / 1.685 GB, free: 54.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/1.219, allocations: 41.64 kB / 1.685 GB, free: 54.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/1.219, allocations: 356.2 kB / 1.685 GB, free: 54.14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/1.219, allocations: 157.8 kB / 1.685 GB, free: 53.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/1.219, allocations: 8 kB / 1.685 GB, free: 53.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.219, allocations: 374.7 kB / 1.686 GB, free: 53.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/1.221, allocations: 272.9 kB / 1.686 GB, free: 53.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.222, allocations: 404.4 kB / 1.686 GB, free: 52.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/1.223, allocations: 316.6 kB / 1.687 GB, free: 52.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.223, allocations: 0 / 1.687 GB, free: 52.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004311/1.227, allocations: 0.9759 MB / 1.688 GB, free: 51.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.228, allocations: 174.8 kB / 1.688 GB, free: 51.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.228, allocations: 8 kB / 1.688 GB, free: 51.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/1.23, allocations: 272.9 kB / 1.688 GB, free: 51.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.231, allocations: 131.8 kB / 1.688 GB, free: 50.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008527/1.239, allocations: 8.447 MB / 1.697 GB, free: 41.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.241, allocations: 67.86 kB / 1.697 GB, free: 41.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/1.241, allocations: 19.98 kB / 1.697 GB, free: 41.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/1.241, allocations: 4 kB / 1.697 GB, free: 41.63 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003884/1.245, allocations: 1.082 MB / 1.698 GB, free: 40.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.245, allocations: 4.141 kB / 1.698 GB, free: 40.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/1.246, allocations: 221.1 kB / 1.698 GB, free: 40.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.247, allocations: 135.8 kB / 1.698 GB, free: 40.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007353/1.255, allocations: 8.144 MB / 1.706 GB, free: 31.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/1.256, allocations: 56.02 kB / 1.706 GB, free: 31.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.257, allocations: 20 kB / 1.706 GB, free: 31.09 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009371/1.258, allocations: 317 kB / 1.706 GB, free: 30.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.258, allocations: 71.16 kB / 1.706 GB, free: 30.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/1.258, allocations: 78.38 kB / 1.707 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.258, allocations: 4 kB / 1.707 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/1.258, allocations: 4 kB / 1.707 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.258, allocations: 4.125 kB / 1.707 GB, free: 30.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/1.26, allocations: 0.6416 MB / 1.707 GB, free: 29.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.26, allocations: 4 kB / 1.707 GB, free: 29.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.262, allocations: 107.8 kB / 1.707 GB, free: 29.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/1.265, allocations: 256.8 kB / 1.708 GB, free: 29.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/1.265, allocations: 12 kB / 1.708 GB, free: 29.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/1.276, allocations: 8.39 MB / 1.716 GB, free: 20.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.276, allocations: 0 / 1.716 GB, free: 20.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/1.282, allocations: 0.966 MB / 1.717 GB, free: 19.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006224/1.283, allocations: 184.2 kB / 1.717 GB, free: 19.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/1.283, allocations: 4 kB / 1.717 GB, free: 19.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1.284, allocations: 63.84 kB / 1.717 GB, free: 19.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/1.285, allocations: 35.94 kB / 1.717 GB, free: 19.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/1.285, allocations: 16 kB / 1.717 GB, free: 19.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009709/1.286, allocations: 403.1 kB / 1.717 GB, free: 18.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.11e-07/1.286, allocations: 0 / 1.717 GB, free: 18.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00241/1.288, allocations: 308 kB / 1.718 GB, free: 18.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003227/1.288, allocations: 123.8 kB / 1.718 GB, free: 18.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008704/1.297, allocations: 2.41 MB / 1.72 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.297, allocations: 0 / 1.72 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/1.3, allocations: 1.031 MB / 1.721 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.303, allocations: 214.5 kB / 1.721 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/1.309, allocations: 1.511 MB / 1.723 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/1.31, allocations: 0.9976 MB / 1.724 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001638/1.311, allocations: 153.3 kB / 1.724 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/1.312, allocations: 43.38 kB / 1.724 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of SimCode: time 1.593e-06/1.312, allocations: 7.938 kB / 1.724 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.6874/1.999, allocations: 12.86 MB / 1.737 GB, free: 243.9 MB / 0.8542 GB