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.309/2.309, allocations: 251 MB / 265.9 MB, free: 11.7 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.001549/0.001549, allocations: 178.9 kB / 325.5 MB, free: 2.906 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.323/2.323, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001271/0.001271, allocations: 101 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 12.06 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9228/1.152, allocations: 173.9 MB / 1.069 GB, free: 66.56 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/1.152, allocations: 93.56 kB / 1.069 GB, free: 66.56 MB / 0.698 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.1434/1.295, allocations: 36.97 MB / 1.105 GB, free: 61.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/1.295, allocations: 4 kB / 1.105 GB, free: 61.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.813e-05/1.296, allocations: 15.56 kB / 1.105 GB, free: 61.6 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.002421/1.298, allocations: 1.011 MB / 1.106 GB, free: 60.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.298, allocations: 7.812 kB / 1.106 GB, free: 60.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/1.298, allocations: 93.05 kB / 1.106 GB, free: 60.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/1.304, allocations: 0.63 MB / 1.107 GB, free: 60.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/1.306, allocations: 0.5893 MB / 1.107 GB, free: 60.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/1.306, allocations: 42.89 kB / 1.107 GB, free: 60.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/1.306, allocations: 58.12 kB / 1.107 GB, free: 60.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003273/1.309, allocations: 1.01 MB / 1.108 GB, free: 60.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/1.309, allocations: 5.531 kB / 1.108 GB, free: 60.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.309, allocations: 24.38 kB / 1.108 GB, free: 60.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.44e-05/1.309, allocations: 38.38 kB / 1.108 GB, free: 60.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004119/1.314, allocations: 1.01 MB / 1.109 GB, free: 60.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006627/1.32, allocations: 3.551 MB / 1.113 GB, free: 58.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/1.323, allocations: 0.5076 MB / 1.113 GB, free: 58.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/1.323, allocations: 3.5 kB / 1.113 GB, free: 58.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/1.323, allocations: 40.62 kB / 1.113 GB, free: 57.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.808e-06/1.323, allocations: 0.6875 kB / 1.113 GB, free: 57.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.01295/1.336, allocations: 2.279 MB / 1.116 GB, free: 57.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/1.336, allocations: 136.4 kB / 1.116 GB, free: 57.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009485/1.337, allocations: 0.5089 MB / 1.116 GB, free: 57.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/1.338, allocations: 28.89 kB / 1.116 GB, free: 57.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/1.338, allocations: 353.9 kB / 1.117 GB, free: 57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/1.338, allocations: 157.5 kB / 1.117 GB, free: 56.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/1.338, allocations: 10.91 kB / 1.117 GB, free: 56.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.338, allocations: 373.4 kB / 1.117 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.339, allocations: 275.5 kB / 1.117 GB, free: 56.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/1.341, allocations: 395.8 kB / 1.118 GB, free: 56.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/1.342, allocations: 313.2 kB / 1.118 GB, free: 56.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.342, allocations: 3.906 kB / 1.118 GB, free: 56.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004215/1.346, allocations: 0.9585 MB / 1.119 GB, free: 56.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003083/1.347, allocations: 1.218 MB / 1.12 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.347, allocations: 3.906 kB / 1.12 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/1.348, allocations: 265.2 kB / 1.12 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.35, allocations: 124.7 kB / 1.12 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009133/1.359, allocations: 5.982 MB / 1.126 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.361, allocations: 56.95 kB / 1.126 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.362, allocations: 19.19 kB / 1.126 GB, free: 49.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.362, allocations: 3.906 kB / 1.126 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005969/1.368, allocations: 1.074 MB / 1.127 GB, free: 49.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.368, allocations: 3.906 kB / 1.127 GB, free: 49.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/1.369, allocations: 211.1 kB / 1.128 GB, free: 48.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/1.371, allocations: 133.5 kB / 1.128 GB, free: 48.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.382, allocations: 8.201 MB / 1.136 GB, free: 41.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.384, allocations: 54.16 kB / 1.136 GB, free: 41.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/1.384, allocations: 27.95 kB / 1.136 GB, free: 41.03 MB / 0.698 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.0008995/1.385, allocations: 302.8 kB / 1.136 GB, free: 40.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003187/1.385, allocations: 70.41 kB / 1.136 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/1.386, allocations: 88.27 kB / 1.136 GB, free: 40.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.386, allocations: 3.906 kB / 1.136 GB, free: 40.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.126e-05/1.386, allocations: 0 / 1.136 GB, free: 40.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.386, allocations: 4 kB / 1.136 GB, free: 40.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/1.387, allocations: 0.654 MB / 1.137 GB, free: 40.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.388, allocations: 0 / 1.137 GB, free: 40.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.389, allocations: 97.81 kB / 1.137 GB, free: 40.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/1.391, allocations: 250.1 kB / 1.137 GB, free: 40.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/1.392, allocations: 11.16 kB / 1.137 GB, free: 40.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.403, allocations: 8.48 MB / 1.146 GB, free: 32.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.403, allocations: 0 / 1.146 GB, free: 32.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/1.409, allocations: 0.9509 MB / 1.147 GB, free: 31.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007995/1.41, allocations: 182.9 kB / 1.147 GB, free: 31.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/1.41, allocations: 15.64 kB / 1.147 GB, free: 31.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.412, allocations: 43.23 kB / 1.147 GB, free: 31.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.412, allocations: 50.75 kB / 1.147 GB, free: 31.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/1.412, allocations: 11.8 kB / 1.147 GB, free: 31.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001052/1.413, allocations: 399 kB / 1.147 GB, free: 31.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.182e-06/1.413, allocations: 0 / 1.147 GB, free: 31.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002539/1.416, allocations: 300.6 kB / 1.147 GB, free: 31.58 MB / 0.698 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.006179/1.422, allocations: 1.518 MB / 1.149 GB, free: 30.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008682/1.431, allocations: 2.09 MB / 1.151 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.431, allocations: 0 / 1.151 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003173/1.434, allocations: 1.031 MB / 1.152 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.436, allocations: 197.4 kB / 1.152 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.455, allocations: 6.263 MB / 1.158 GB, free: 24.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008/1.456, allocations: 0.9866 MB / 1.159 GB, free: 23.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001611/1.458, allocations: 155.5 kB / 1.159 GB, free: 23.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007622/1.458, allocations: 232.5 kB / 1.16 GB, free: 23.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.458, allocations: 0 / 1.16 GB, free: 23.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/1.52, allocations: 18.37 MB / 1.178 GB, free: 14.99 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.52, allocations: 206.6 kB / 1.178 GB, free: 14.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/4.902, allocations: 0 / 1.178 GB, free: 14.76 MB / 0.698 GB