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.347/2.347, allocations: 248.7 MB / 256.2 MB, free: 7.078 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: 182 kB / 315.4 MB, free: 3.992 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.077/2.077, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001073/0.001073, allocations: 90.53 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.687e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2554, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.29, allocations: 183.4 MB / 1.063 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.29, allocations: 84.33 kB / 1.063 GB, free: 6.289 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.6705/1.96, allocations: 146.5 MB / 1.206 GB, free: 11.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.819e-06/1.96, allocations: 3.984 kB / 1.206 GB, free: 11.41 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005216/1.961, allocations: 79.92 kB / 1.206 GB, free: 11.33 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.01453/1.976, allocations: 3.433 MB / 1.21 GB, free: 7.793 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.976, allocations: 8.031 kB / 1.21 GB, free: 7.785 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02865/2.004, allocations: 3.206 MB / 1.213 GB, free: 4.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/2.014, allocations: 2.285 MB / 1.215 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/2.015, allocations: 80 kB / 1.215 GB, free: 2.137 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/2.016, allocations: 140 kB / 1.215 GB, free: 2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01239/2.028, allocations: 3.391 MB / 1.219 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/2.042, allocations: 3.474 MB / 1.222 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/2.042, allocations: 3.938 kB / 1.222 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/2.044, allocations: 7.984 kB / 1.222 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003006/2.044, allocations: 144.8 kB / 1.222 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03891/2.083, allocations: 13.85 MB / 1.236 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/2.096, allocations: 2.764 MB / 1.238 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/2.099, allocations: 0.9991 MB / 1.239 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/2.099, allocations: 33.2 kB / 1.239 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003692/2.103, allocations: 1.298 MB / 1.241 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 8.276e-06/2.103, allocations: 0 / 1.241 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.03378/2.137, allocations: 7.557 MB / 1.248 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005334/2.137, allocations: 0.8983 MB / 1.249 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004213/2.141, allocations: 1.56 MB / 1.251 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006608/2.142, allocations: 37.69 kB / 1.251 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002182/2.144, allocations: 1.443 MB / 1.252 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001576/2.146, allocations: 0.7928 MB / 1.253 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/2.146, allocations: 0 / 1.253 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002948/2.147, allocations: 394.7 kB / 1.253 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003674/2.15, allocations: 1.203 MB / 1.254 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/2.155, allocations: 1.582 MB / 1.256 GB, free: 6.773 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/2.159, allocations: 1.292 MB / 1.257 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/2.159, allocations: 8 kB / 1.257 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0177/2.177, allocations: 4.366 MB / 1.261 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.6703/2.847, allocations: 2.408 MB / 1.264 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.146e-05/2.847, allocations: 6.172 kB / 1.264 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01764/2.865, allocations: 1.603 MB / 1.265 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00925/2.874, allocations: 0.5934 MB / 1.266 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03683/2.911, allocations: 8.99 MB / 1.275 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.922, allocations: 365 kB / 1.275 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/2.923, allocations: 93 kB / 1.275 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/2.923, allocations: 4 kB / 1.275 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02012/2.943, allocations: 3.675 MB / 1.279 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-05/2.943, allocations: 5.969 kB / 1.279 GB, free: 224.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/2.955, allocations: 1.411 MB / 1.28 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009389/2.964, allocations: 0.6363 MB / 1.281 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04067/3.005, allocations: 11.76 MB / 1.292 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006744/3.012, allocations: 367.9 kB / 1.293 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008278/3.012, allocations: 86.28 kB / 1.293 GB, free: 221.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.0009613/3.013, allocations: 166.5 kB / 1.293 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01458/3.028, allocations: 4.048 MB / 1.297 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/3.029, allocations: 307 kB / 1.297 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/3.031, allocations: 337.7 kB / 1.297 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/3.031, allocations: 23.62 kB / 1.297 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.106e-05/3.031, allocations: 10.66 kB / 1.297 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/3.031, allocations: 12.28 kB / 1.297 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006552/3.037, allocations: 2.796 MB / 1.3 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/3.037, allocations: 0 / 1.3 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005165/3.043, allocations: 0.5229 MB / 1.301 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/3.053, allocations: 1.616 MB / 1.302 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000595/3.053, allocations: 15.28 kB / 1.302 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0311/3.085, allocations: 13.36 MB / 1.315 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/3.085, allocations: 0 / 1.315 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/3.099, allocations: 4.178 MB / 1.319 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/3.101, allocations: 0.6376 MB / 1.32 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/3.103, allocations: 7.938 kB / 1.32 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00653/3.109, allocations: 372.7 kB / 1.32 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001631/3.111, allocations: 307.3 kB / 1.321 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003789/3.111, allocations: 69.7 kB / 1.321 GB, free: 217 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002864/3.114, allocations: 1.162 MB / 1.322 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.92e-07/3.114, allocations: 0 / 1.322 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008197/3.122, allocations: 1.407 MB / 1.323 GB, free: 216.5 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.01503/3.138, allocations: 4.799 MB / 1.328 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02334/3.161, allocations: 7.366 MB / 1.335 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/3.161, allocations: 3.719 kB / 1.335 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008739/3.17, allocations: 2.669 MB / 1.338 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006946/3.177, allocations: 0.8685 MB / 1.339 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/3.195, allocations: 5.369 MB / 1.344 GB, free: 208 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003112/3.198, allocations: 2.324 MB / 1.346 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006572/3.205, allocations: 0.7217 MB / 1.347 GB, free: 207 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/3.207, allocations: 1.296 MB / 1.348 GB, free: 206 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/3.207, allocations: 0 / 1.348 GB, free: 206 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/3.44, allocations: 92.92 MB / 1.439 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/3.44, allocations: 133.4 kB / 1.439 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/10.72, allocations: 0 / 1.439 GB, free: 156.4 MB / 0.8698 GB