Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.265/2.265, allocations: 248.5 MB / 261.1 MB, free: 6 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.00153/0.00153, allocations: 183.8 kB / 320.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001764/0.001764, allocations: 97.38 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.834e-05, allocations: 0 / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1985, allocations: 106.2 MB / 0.8907 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9208/1.119, allocations: 183.2 MB / 1.07 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/1.12, allocations: 92.75 kB / 1.07 GB, free: 2.594 MB / 0.6823 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.6783/1.798, allocations: 149.1 MB / 1.215 GB, free: 1.906 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.434e-06/1.798, allocations: 0 / 1.215 GB, free: 1.906 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004815/1.799, allocations: 79.92 kB / 1.215 GB, free: 1.828 MB / 0.823 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.01678/1.815, allocations: 3.702 MB / 1.219 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/1.815, allocations: 8.031 kB / 1.219 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001879/1.817, allocations: 354.1 kB / 1.219 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02856/1.846, allocations: 3.214 MB / 1.223 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/1.859, allocations: 2.562 MB / 1.225 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007053/1.86, allocations: 465.7 kB / 1.225 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/1.861, allocations: 236 kB / 1.226 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/1.88, allocations: 3.932 MB / 1.23 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/1.88, allocations: 4 kB / 1.23 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.882, allocations: 108 kB / 1.23 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004737/1.882, allocations: 144.8 kB / 1.23 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/1.902, allocations: 3.6 MB / 1.233 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05277/1.955, allocations: 14.85 MB / 1.248 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.968, allocations: 2.668 MB / 1.25 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003473/1.971, allocations: 1.112 MB / 1.252 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/1.971, allocations: 21.3 kB / 1.252 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004338/1.976, allocations: 1.443 MB / 1.253 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 1.123e-05/1.976, allocations: 3.938 kB / 1.253 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.8375/2.813, allocations: 29.53 MB / 1.282 GB, free: 225 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003051/2.814, allocations: 0.8985 MB / 1.283 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006319/2.82, allocations: 1.956 MB / 1.285 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000804/2.821, allocations: 79.34 kB / 1.285 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/2.823, allocations: 1.431 MB / 1.286 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/2.825, allocations: 0.8254 MB / 1.287 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005701/2.826, allocations: 47.59 kB / 1.287 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002443/2.826, allocations: 398.3 kB / 1.287 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004726/2.831, allocations: 1.413 MB / 1.289 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005298/2.836, allocations: 1.803 MB / 1.29 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004963/2.841, allocations: 1.613 MB / 1.292 GB, free: 222 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/2.841, allocations: 2.562 kB / 1.292 GB, free: 222 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02532/2.866, allocations: 5.483 MB / 1.297 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/2.867, allocations: 147.1 kB / 1.297 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/2.867, allocations: 9.578 kB / 1.297 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/2.884, allocations: 2.88 MB / 1.3 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/2.889, allocations: 0.5745 MB / 1.301 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06292/2.952, allocations: 16.96 MB / 1.317 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007997/2.961, allocations: 431.7 kB / 1.318 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008756/2.961, allocations: 87.47 kB / 1.318 GB, free: 218.2 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001383/2.963, allocations: 255.5 kB / 1.318 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/2.964, allocations: 333.7 kB / 1.318 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/2.966, allocations: 383.6 kB / 1.319 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/2.966, allocations: 21.69 kB / 1.319 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.579e-05/2.966, allocations: 11.12 kB / 1.319 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/2.966, allocations: 18.67 kB / 1.319 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009263/2.975, allocations: 3.646 MB / 1.322 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-05/2.975, allocations: 0 / 1.322 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004902/2.98, allocations: 0.5032 MB / 1.323 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01656/2.997, allocations: 2.798 MB / 1.326 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007281/2.998, allocations: 52.61 kB / 1.326 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06023/3.058, allocations: 16.81 MB / 1.342 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/3.058, allocations: 0 / 1.342 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/3.079, allocations: 5.116 MB / 1.347 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002978/3.082, allocations: 0.7081 MB / 1.348 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/3.083, allocations: 52.12 kB / 1.348 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007092/3.09, allocations: 420.8 kB / 1.348 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002129/3.092, allocations: 366.1 kB / 1.349 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004628/3.093, allocations: 73.09 kB / 1.349 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003455/3.096, allocations: 1.492 MB / 1.35 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.763e-06/3.096, allocations: 0 / 1.35 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005412/3.102, allocations: 1.065 MB / 1.351 GB, free: 206.7 MB / 0.8698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.02097/3.123, allocations: 5.757 MB / 1.357 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03111/3.154, allocations: 5.396 MB / 1.362 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/3.154, allocations: 4.812 kB / 1.362 GB, free: 202.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02605/3.18, allocations: 3.471 MB / 1.365 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007886/3.188, allocations: 1.008 MB / 1.366 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/3.209, allocations: 5.713 MB / 1.372 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/3.212, allocations: 2.301 MB / 1.374 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004212/3.217, allocations: 0.5102 MB / 1.375 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003038/3.22, allocations: 1.326 MB / 1.376 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.214e-06/3.22, allocations: 0 / 1.376 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2165/3.436, allocations: 97.36 MB / 1.471 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/3.437, allocations: 189.5 kB / 1.471 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/10.29, allocations: 0 / 1.471 GB, free: 121.3 MB / 0.8698 GB