Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",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.125/2.125, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 174.9 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.293/2.293, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001152/0.001152, allocations: 96.3 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005024, allocations: 9.625 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9713/1.199, allocations: 183.2 MB / 1.078 GB, free: 54.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/1.199, allocations: 96.06 kB / 1.078 GB, free: 54.91 MB / 0.698 GB [/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.5923/1.791, allocations: 148 MB / 1.222 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.555e-06/1.791, allocations: 0 / 1.222 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005335/1.792, allocations: 79.22 kB / 1.222 GB, free: 14.68 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01758/1.81, allocations: 3.957 MB / 1.226 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/1.81, allocations: 8.031 kB / 1.226 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002024/1.812, allocations: 357.9 kB / 1.227 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02957/1.841, allocations: 3.222 MB / 1.23 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.851, allocations: 2.311 MB / 1.232 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/1.852, allocations: 188.2 kB / 1.232 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/1.853, allocations: 235.7 kB / 1.232 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02246/1.876, allocations: 4.675 MB / 1.237 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/1.876, allocations: 3.938 kB / 1.237 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001477/1.878, allocations: 111.3 kB / 1.237 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000333/1.878, allocations: 144.8 kB / 1.237 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/1.909, allocations: 5.218 MB / 1.242 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04905/1.958, allocations: 14.38 MB / 1.256 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.981, allocations: 3.772 MB / 1.26 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/1.982, allocations: 28.89 kB / 1.26 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008228/1.99, allocations: 1.811 MB / 1.262 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 6.362e-06/1.99, allocations: 0 / 1.262 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.2581/2.248, allocations: 33.52 MB / 1.295 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005135/2.249, allocations: 0.9061 MB / 1.296 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006251/2.255, allocations: 1.977 MB / 1.297 GB, free: 44 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0008021/2.256, allocations: 81.69 kB / 1.298 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002213/2.258, allocations: 1.43 MB / 1.299 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001584/2.26, allocations: 0.8233 MB / 1.3 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004729/2.26, allocations: 44 kB / 1.3 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002559/2.261, allocations: 402.6 kB / 1.3 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009821/2.27, allocations: 1.917 MB / 1.302 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/2.281, allocations: 2.32 MB / 1.304 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/2.292, allocations: 2.141 MB / 1.306 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/2.292, allocations: 3.938 kB / 1.306 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03089/2.323, allocations: 6.13 MB / 1.312 GB, free: 476 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/2.324, allocations: 2.454 MB / 1.315 GB, free: 13.74 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/2.324, allocations: 4 kB / 1.315 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/2.336, allocations: 1.797 MB / 1.317 GB, free: 11.93 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006011/2.342, allocations: 0.5891 MB / 1.317 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02538/2.367, allocations: 9.52 MB / 1.326 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007399/2.375, allocations: 419.4 kB / 1.327 GB, free: 1.262 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008587/2.376, allocations: 91.91 kB / 1.327 GB, free: 1.172 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/2.376, allocations: 4 kB / 1.327 GB, free: 1.168 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02856/2.404, allocations: 5.734 MB / 1.333 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/2.404, allocations: 4 kB / 1.333 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009502/2.414, allocations: 1.79 MB / 1.334 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006171/2.42, allocations: 0.6124 MB / 1.335 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03818/2.458, allocations: 14.02 MB / 1.349 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007107/2.465, allocations: 415.5 kB / 1.349 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008057/2.466, allocations: 87.97 kB / 1.349 GB, free: 10.17 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.003181/2.469, allocations: 0.7915 MB / 1.35 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/2.471, allocations: 336.1 kB / 1.35 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/2.473, allocations: 392.1 kB / 1.35 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.991e-05/2.474, allocations: 27.98 kB / 1.351 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.135e-05/2.474, allocations: 8 kB / 1.351 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.644e-05/2.474, allocations: 11.95 kB / 1.351 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/2.485, allocations: 3.184 MB / 1.354 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.442e-05/2.486, allocations: 0 / 1.354 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005422/2.491, allocations: 0.5267 MB / 1.354 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01144/2.502, allocations: 1.692 MB / 1.356 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006778/2.503, allocations: 51.97 kB / 1.356 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03967/2.543, allocations: 14.56 MB / 1.37 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.543, allocations: 0 / 1.37 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02809/2.571, allocations: 5.754 MB / 1.376 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/2.574, allocations: 0.6687 MB / 1.376 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/2.575, allocations: 51.98 kB / 1.376 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006617/2.582, allocations: 411.4 kB / 1.377 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001775/2.584, allocations: 311.3 kB / 1.377 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005894/2.585, allocations: 67.97 kB / 1.377 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004587/2.589, allocations: 1.521 MB / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.71e-07/2.589, allocations: 0 / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008676/2.598, allocations: 1.59 MB / 1.38 GB, free: 9.902 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.02985/2.628, allocations: 6.404 MB / 1.386 GB, free: 3.453 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.6675/3.295, allocations: 9.692 MB / 1.396 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/3.295, allocations: 2.969 kB / 1.396 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01698/3.312, allocations: 3.507 MB / 1.399 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008681/3.321, allocations: 1.012 MB / 1.4 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1104/3.432, allocations: 29.35 MB / 1.429 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/3.435, allocations: 2.325 MB / 1.431 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005961/3.441, allocations: 0.6384 MB / 1.432 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/3.445, allocations: 1.331 MB / 1.433 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.954e-06/3.445, allocations: 0 / 1.433 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.25/3.695, allocations: 98.99 MB / 1.53 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/3.696, allocations: 216.5 kB / 1.53 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/10.58, allocations: 0 / 1.53 GB, free: 188.6 MB / 0.8855 GB