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.228/2.228, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.001524/0.001524, allocations: 178.6 kB / 320.4 MB, free: 15.34 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.968/1.968, 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.001138/0.001138, allocations: 99.77 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.18e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2277, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.358, allocations: 183.2 MB / 1.07 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004016/1.359, allocations: 83.2 kB / 1.07 GB, free: 2.992 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.675/2.034, allocations: 147.6 MB / 1.214 GB, free: 3.676 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.468e-06/2.034, allocations: 4 kB / 1.214 GB, free: 3.672 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004899/2.034, allocations: 75.92 kB / 1.214 GB, free: 3.598 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.01461/2.049, allocations: 3.437 MB / 1.217 GB, free: 60 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.544e-05/2.049, allocations: 11.97 kB / 1.217 GB, free: 48 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001759/2.051, allocations: 354.1 kB / 1.218 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/2.08, allocations: 3.202 MB / 1.221 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/2.09, allocations: 2.296 MB / 1.223 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/2.09, allocations: 180.7 kB / 1.223 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/2.092, allocations: 231.9 kB / 1.223 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/2.108, allocations: 3.823 MB / 1.227 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/2.108, allocations: 3.938 kB / 1.227 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00129/2.109, allocations: 108 kB / 1.227 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003029/2.11, allocations: 144.8 kB / 1.227 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/2.123, allocations: 3.529 MB / 1.231 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04205/2.165, allocations: 14.36 MB / 1.245 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/2.178, allocations: 2.834 MB / 1.248 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/2.182, allocations: 1.042 MB / 1.249 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/2.182, allocations: 25.3 kB / 1.249 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003834/2.186, allocations: 1.358 MB / 1.25 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 6.332e-06/2.186, allocations: 0 / 1.25 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.8425/3.028, allocations: 28.98 MB / 1.278 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003217/3.029, allocations: 0.8985 MB / 1.279 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005112/3.034, allocations: 1.955 MB / 1.281 GB, free: 225 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000722/3.035, allocations: 80.7 kB / 1.281 GB, free: 225 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00183/3.036, allocations: 1.437 MB / 1.282 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/3.038, allocations: 0.817 MB / 1.283 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003473/3.038, allocations: 50.14 kB / 1.283 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001904/3.038, allocations: 394.5 kB / 1.284 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/3.042, allocations: 1.256 MB / 1.285 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004305/3.046, allocations: 1.645 MB / 1.286 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004133/3.051, allocations: 1.486 MB / 1.288 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/3.051, allocations: 1.438 kB / 1.288 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01999/3.071, allocations: 4.773 MB / 1.293 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006422/3.071, allocations: 2.452 MB / 1.295 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/3.071, allocations: 5.531 kB / 1.295 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/3.083, allocations: 1.767 MB / 1.297 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/3.089, allocations: 0.5872 MB / 1.297 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/3.111, allocations: 9.044 MB / 1.306 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01223/3.124, allocations: 413 kB / 1.307 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002412/3.126, allocations: 93.84 kB / 1.307 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/3.126, allocations: 4.25 kB / 1.307 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01596/3.142, allocations: 4.38 MB / 1.311 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/3.142, allocations: 4.469 kB / 1.311 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008233/3.151, allocations: 1.762 MB / 1.313 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005846/3.156, allocations: 0.6141 MB / 1.313 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03146/3.188, allocations: 13.26 MB / 1.326 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/3.195, allocations: 415.9 kB / 1.327 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007316/3.196, allocations: 91.61 kB / 1.327 GB, free: 214.8 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 (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.0009703/3.197, allocations: 253.5 kB / 1.327 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/3.198, allocations: 343.2 kB / 1.327 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/3.199, allocations: 388.2 kB / 1.328 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/3.199, allocations: 23.97 kB / 1.328 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-05/3.2, allocations: 12.53 kB / 1.328 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/3.2, allocations: 10.92 kB / 1.328 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006916/3.206, allocations: 3.187 MB / 1.331 GB, free: 213 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/3.207, allocations: 0 / 1.331 GB, free: 213 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005003/3.212, allocations: 0.5196 MB / 1.331 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009681/3.221, allocations: 1.662 MB / 1.333 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005707/3.222, allocations: 54.72 kB / 1.333 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0427/3.265, allocations: 13.73 MB / 1.346 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/3.265, allocations: 8.766 kB / 1.346 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/3.284, allocations: 4.41 MB / 1.351 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003098/3.287, allocations: 0.6677 MB / 1.351 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/3.289, allocations: 50.22 kB / 1.351 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009919/3.299, allocations: 408.5 kB / 1.352 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002212/3.301, allocations: 309 kB / 1.352 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006796/3.302, allocations: 66.23 kB / 1.352 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006064/3.308, allocations: 1.49 MB / 1.354 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.649e-06/3.308, allocations: 0 / 1.354 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008111/3.316, allocations: 1.588 MB / 1.355 GB, free: 202.2 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 (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.01573/3.332, allocations: 5.06 MB / 1.36 GB, free: 200 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02444/3.356, allocations: 7.72 MB / 1.368 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/3.357, allocations: 4.062 kB / 1.368 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009463/3.366, allocations: 2.791 MB / 1.37 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008095/3.374, allocations: 1.015 MB / 1.371 GB, free: 195 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/3.4, allocations: 5.592 MB / 1.377 GB, free: 193 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004033/3.404, allocations: 2.332 MB / 1.379 GB, free: 192 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00978/3.414, allocations: 0.7673 MB / 1.38 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004113/3.418, allocations: 1.298 MB / 1.381 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.184e-06/3.418, allocations: 0 / 1.381 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2459/3.664, allocations: 102.3 MB / 1.481 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/3.664, allocations: 190.8 kB / 1.481 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/11.1, allocations: 0 / 1.481 GB, free: 111.3 MB / 0.8698 GB