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.204/2.204, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001561/0.001561, allocations: 186.1 kB / 315.4 MB, free: 4.004 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.588/2.588, allocations: 205.3 MB / 0.5662 GB, free: 0.625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 89.67 kB / 0.6704 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.389e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2033, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9455/1.149, allocations: 174.1 MB / 1.054 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.149, allocations: 87.12 kB / 1.054 GB, free: 15.32 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.1523/1.302, allocations: 36.56 MB / 1.09 GB, free: 1.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/1.302, allocations: 0 / 1.09 GB, free: 1.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.454e-05/1.302, allocations: 27.92 kB / 1.09 GB, free: 1.27 MB / 0.698 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.002805/1.305, allocations: 0.9049 MB / 1.091 GB, free: 368 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.305, allocations: 8.031 kB / 1.091 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/1.311, allocations: 0.6215 MB / 1.091 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/1.313, allocations: 0.5845 MB / 1.092 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/1.313, allocations: 20 kB / 1.092 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/1.313, allocations: 32 kB / 1.092 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/1.315, allocations: 0.6899 MB / 1.093 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/1.317, allocations: 0.7924 MB / 1.094 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.317, allocations: 3.938 kB / 1.094 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/1.317, allocations: 0 / 1.094 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.714e-05/1.317, allocations: 40.92 kB / 1.094 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007438/1.325, allocations: 3.407 MB / 1.097 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/1.326, allocations: 392 kB / 1.097 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/1.326, allocations: 162.3 kB / 1.097 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/1.326, allocations: 4 kB / 1.097 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/1.327, allocations: 41.98 kB / 1.097 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.735e-06/1.327, allocations: 0 / 1.097 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.004423/1.331, allocations: 1.123 MB / 1.099 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/1.331, allocations: 136.5 kB / 1.099 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/1.332, allocations: 396.5 kB / 1.099 GB, free: 9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/1.332, allocations: 25.7 kB / 1.099 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/1.332, allocations: 370.2 kB / 1.099 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/1.333, allocations: 133.9 kB / 1.1 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/1.333, allocations: 0 / 1.1 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.333, allocations: 374.6 kB / 1.1 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/1.333, allocations: 179.8 kB / 1.1 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.334, allocations: 308.9 kB / 1.1 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/1.334, allocations: 223 kB / 1.101 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.334, allocations: 0 / 1.101 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002555/1.337, allocations: 0.7214 MB / 1.101 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006169/1.338, allocations: 1.225 MB / 1.103 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.338, allocations: 4 kB / 1.103 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/1.339, allocations: 228.4 kB / 1.103 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.341, allocations: 130.9 kB / 1.103 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006563/1.347, allocations: 5.751 MB / 1.108 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.348, allocations: 47.94 kB / 1.109 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/1.348, allocations: 15.44 kB / 1.109 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.348, allocations: 8.062 kB / 1.109 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002234/1.351, allocations: 1.019 MB / 1.11 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.351, allocations: 8.328 kB / 1.11 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/1.351, allocations: 132.9 kB / 1.11 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/1.353, allocations: 143.6 kB / 1.11 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007373/1.36, allocations: 7.504 MB / 1.117 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.361, allocations: 48.11 kB / 1.117 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.919e-05/1.361, allocations: 19.36 kB / 1.117 GB, free: 6.32 MB / 0.7292 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.0002561/1.362, allocations: 125.4 kB / 1.117 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0022/1.364, allocations: 0.6332 MB / 1.118 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/1.364, allocations: 59.34 kB / 1.118 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/1.364, allocations: 66.48 kB / 1.118 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.364, allocations: 7.984 kB / 1.118 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.364, allocations: 0 / 1.118 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.364, allocations: 0 / 1.118 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/1.366, allocations: 0.5641 MB / 1.119 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.366, allocations: 4 kB / 1.119 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/1.367, allocations: 95.86 kB / 1.119 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/1.368, allocations: 240.9 kB / 1.119 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/1.368, allocations: 0 / 1.119 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009274/1.377, allocations: 8.014 MB / 1.127 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.378, allocations: 4.031 kB / 1.127 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/1.38, allocations: 0.7418 MB / 1.128 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/1.38, allocations: 172.4 kB / 1.128 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.381, allocations: 3.953 kB / 1.128 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/1.382, allocations: 43.95 kB / 1.128 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.382, allocations: 43.94 kB / 1.128 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/1.382, allocations: 12 kB / 1.128 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005788/1.382, allocations: 299 kB / 1.128 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.41e-07/1.382, allocations: 0 / 1.128 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001672/1.384, allocations: 260 kB / 1.128 GB, free: 10.28 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.002838/1.387, allocations: 1.302 MB / 1.13 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004044/1.391, allocations: 1.722 MB / 1.131 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.391, allocations: 0 / 1.131 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/1.393, allocations: 0.8852 MB / 1.132 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.394, allocations: 174.9 kB / 1.132 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/1.398, allocations: 1.004 MB / 1.133 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/1.399, allocations: 0.9902 MB / 1.134 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001355/1.4, allocations: 168.9 kB / 1.134 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/1.401, allocations: 227.4 kB / 1.135 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of SimCode: time 1.243e-06/1.401, allocations: 0 / 1.135 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09126/1.492, allocations: 16.36 MB / 1.151 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/1.493, allocations: 136.3 kB / 1.151 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.031/4.524, allocations: 0 / 1.151 GB, free: 3.121 MB / 0.7605 GB