Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.249/2.249, allocations: 248.5 MB / 261.1 MB, free: 6.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002317/0.002317, allocations: 178.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 86.48 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.322e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1968, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.2, allocations: 173.9 MB / 1.06 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/1.2, allocations: 91.81 kB / 1.061 GB, free: 11.66 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.2092/1.409, allocations: 36.8 MB / 1.096 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.765e-06/1.409, allocations: 0 / 1.096 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001119/1.41, allocations: 20.06 kB / 1.097 GB, free: 12.99 MB / 0.7136 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.003843/1.413, allocations: 0.9059 MB / 1.097 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/1.414, allocations: 8.031 kB / 1.097 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004501/1.414, allocations: 105.9 kB / 1.098 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008666/1.423, allocations: 0.6237 MB / 1.098 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/1.426, allocations: 0.5838 MB / 1.099 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/1.426, allocations: 38.62 kB / 1.099 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/1.426, allocations: 56.08 kB / 1.099 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/1.43, allocations: 0.8755 MB / 1.1 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/1.43, allocations: 0 / 1.1 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/1.43, allocations: 20 kB / 1.1 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/1.43, allocations: 41.3 kB / 1.1 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/1.434, allocations: 0.7313 MB / 1.1 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/1.444, allocations: 3.552 MB / 1.104 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/1.447, allocations: 398.8 kB / 1.104 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/1.447, allocations: 168.8 kB / 1.104 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.998e-05/1.447, allocations: 8 kB / 1.104 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/1.447, allocations: 30.56 kB / 1.104 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 4.529e-06/1.448, allocations: 7.938 kB / 1.104 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.01205/1.46, allocations: 1.599 MB / 1.106 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.46, allocations: 132.5 kB / 1.106 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.461, allocations: 0.4956 MB / 1.107 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.462, allocations: 33.7 kB / 1.107 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/1.462, allocations: 368 kB / 1.107 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002997/1.462, allocations: 145.8 kB / 1.107 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/1.462, allocations: 12 kB / 1.107 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000274/1.463, allocations: 370.8 kB / 1.108 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008218/1.464, allocations: 193 kB / 1.108 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.465, allocations: 312.5 kB / 1.108 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/1.466, allocations: 229.4 kB / 1.108 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/1.466, allocations: 0 / 1.108 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004013/1.47, allocations: 0.7832 MB / 1.109 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007932/1.471, allocations: 1.221 MB / 1.11 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/1.471, allocations: 4 kB / 1.11 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/1.473, allocations: 256.8 kB / 1.11 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/1.475, allocations: 131.9 kB / 1.111 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009003/1.484, allocations: 5.885 MB / 1.116 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.486, allocations: 60.05 kB / 1.116 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.486, allocations: 19.98 kB / 1.116 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.486, allocations: 4 kB / 1.116 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003889/1.49, allocations: 0.9054 MB / 1.117 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.49, allocations: 4.234 kB / 1.117 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/1.491, allocations: 201.3 kB / 1.117 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/1.493, allocations: 139.8 kB / 1.118 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/1.506, allocations: 8.102 MB / 1.125 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.507, allocations: 63.95 kB / 1.126 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.508, allocations: 20 kB / 1.126 GB, free: 13.45 MB / 0.7448 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 () * 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.0003807/1.508, allocations: 128.9 kB / 1.126 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/1.508, allocations: 75.25 kB / 1.126 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/1.509, allocations: 78.16 kB / 1.126 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.509, allocations: 4 kB / 1.126 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/1.509, allocations: 4 kB / 1.126 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/1.509, allocations: 3.984 kB / 1.126 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/1.511, allocations: 0.6532 MB / 1.126 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.511, allocations: 144 / 1.126 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.513, allocations: 99.84 kB / 1.127 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/1.515, allocations: 252.9 kB / 1.127 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.515, allocations: 11.98 kB / 1.127 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/1.53, allocations: 8.346 MB / 1.135 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.53, allocations: 4 kB / 1.135 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/1.534, allocations: 0.7843 MB / 1.136 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007921/1.534, allocations: 184.3 kB / 1.136 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/1.535, allocations: 7.953 kB / 1.136 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.536, allocations: 51.95 kB / 1.136 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.537, allocations: 39.94 kB / 1.136 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/1.537, allocations: 12 kB / 1.136 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001207/1.538, allocations: 395.2 kB / 1.136 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.02e-07/1.538, allocations: 0 / 1.136 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002578/1.541, allocations: 296 kB / 1.137 GB, free: 1.133 MB / 0.7448 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 () * 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.004331/1.545, allocations: 1.349 MB / 1.138 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006058/1.551, allocations: 1.848 MB / 1.14 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/1.551, allocations: 7.938 kB / 1.14 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/1.554, allocations: 0.9256 MB / 1.141 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/1.556, allocations: 210.3 kB / 1.141 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/1.562, allocations: 1.053 MB / 1.142 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.563, allocations: 0.9946 MB / 1.143 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002043/1.565, allocations: 181.3 kB / 1.143 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/1.566, allocations: 227.4 kB / 1.143 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of SimCode: time 1.743e-06/1.566, allocations: 4 kB / 1.143 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07096/1.637, allocations: 18.92 MB / 1.162 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003521/1.637, allocations: 180.5 kB / 1.162 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.347/4.984, allocations: 3.938 kB / 1.162 GB, free: 7.129 MB / 0.7761 GB