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.307/2.307, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.00148/0.00148, allocations: 183.1 kB / 315.4 MB, free: 3.988 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.031/2.031, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001137/0.001137, allocations: 86.47 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.642e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1998, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9554/1.155, allocations: 183.5 MB / 1.063 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004239/1.156, allocations: 93.75 kB / 1.063 GB, free: 6.281 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.8789/2.035, allocations: 148.1 MB / 1.208 GB, free: 9.734 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.765e-06/2.035, allocations: 0 / 1.208 GB, free: 9.734 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006611/2.035, allocations: 83.92 kB / 1.208 GB, free: 9.652 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.02273/2.058, allocations: 3.699 MB / 1.212 GB, free: 5.852 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.812e-05/2.058, allocations: 8.031 kB / 1.212 GB, free: 5.844 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04282/2.101, allocations: 3.214 MB / 1.215 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/2.119, allocations: 2.55 MB / 1.217 GB, free: 0 / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000927/2.12, allocations: 393.7 kB / 1.218 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/2.122, allocations: 143.9 kB / 1.218 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01676/2.138, allocations: 3.45 MB / 1.221 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/2.154, allocations: 3.591 MB / 1.225 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/2.154, allocations: 4 kB / 1.225 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/2.156, allocations: 4 kB / 1.225 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003276/2.156, allocations: 148.8 kB / 1.225 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/2.197, allocations: 14.32 MB / 1.239 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/2.208, allocations: 2.622 MB / 1.241 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/2.211, allocations: 1.062 MB / 1.242 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/2.211, allocations: 37.22 kB / 1.243 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003636/2.215, allocations: 1.375 MB / 1.244 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.671e-06/2.215, allocations: 4 kB / 1.244 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.04207/2.257, allocations: 8.49 MB / 1.252 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004766/2.257, allocations: 0.8944 MB / 1.253 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/2.262, allocations: 1.568 MB / 1.255 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007307/2.262, allocations: 37.7 kB / 1.255 GB, free: 8.168 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002171/2.265, allocations: 1.443 MB / 1.256 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/2.266, allocations: 0.7811 MB / 1.257 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/2.267, allocations: 4 kB / 1.257 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002425/2.267, allocations: 398.6 kB / 1.257 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003901/2.271, allocations: 1.364 MB / 1.258 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/2.275, allocations: 1.727 MB / 1.26 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/2.28, allocations: 1.436 MB / 1.262 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/2.28, allocations: 0 / 1.262 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.641/2.921, allocations: 5.074 MB / 1.267 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/2.921, allocations: 151 kB / 1.267 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/2.921, allocations: 5.891 kB / 1.267 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01797/2.939, allocations: 2.791 MB / 1.269 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/2.945, allocations: 0.577 MB / 1.27 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09521/3.04, allocations: 16.39 MB / 1.286 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007686/3.048, allocations: 382.8 kB / 1.286 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008549/3.049, allocations: 89.42 kB / 1.286 GB, free: 223.6 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.0009439/3.05, allocations: 157.8 kB / 1.287 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02077/3.071, allocations: 4.765 MB / 1.291 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/3.072, allocations: 307.7 kB / 1.292 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/3.074, allocations: 329.3 kB / 1.292 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/3.074, allocations: 23.56 kB / 1.292 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/3.074, allocations: 11.42 kB / 1.292 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/3.074, allocations: 18.2 kB / 1.292 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/3.082, allocations: 3.278 MB / 1.295 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-05/3.082, allocations: 1.438 kB / 1.295 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005091/3.087, allocations: 0.5001 MB / 1.296 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02869/3.116, allocations: 2.765 MB / 1.298 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001013/3.117, allocations: 16.22 kB / 1.298 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05568/3.173, allocations: 16.37 MB / 1.314 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/3.173, allocations: 3.047 kB / 1.314 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/3.191, allocations: 4.899 MB / 1.319 GB, free: 219 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002779/3.194, allocations: 0.6761 MB / 1.32 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/3.195, allocations: 3.938 kB / 1.32 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007388/3.202, allocations: 385.4 kB / 1.32 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002057/3.204, allocations: 367.9 kB / 1.32 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004372/3.205, allocations: 68.09 kB / 1.32 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002556/3.207, allocations: 1.161 MB / 1.322 GB, free: 218 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.31e-07/3.208, allocations: 3.531 kB / 1.322 GB, free: 218 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005237/3.213, allocations: 0.9435 MB / 1.323 GB, free: 218 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 {9 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.01955/3.232, allocations: 5.498 MB / 1.328 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02926/3.262, allocations: 5.203 MB / 1.333 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/3.262, allocations: 3.688 kB / 1.333 GB, free: 213.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02508/3.287, allocations: 3.355 MB / 1.336 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007107/3.294, allocations: 0.8709 MB / 1.337 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01957/3.314, allocations: 5.49 MB / 1.342 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/3.317, allocations: 2.298 MB / 1.345 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004433/3.321, allocations: 478.2 kB / 1.345 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003649/3.325, allocations: 1.314 MB / 1.346 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/3.325, allocations: 4 kB / 1.346 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/3.546, allocations: 89.5 MB / 1.434 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/3.546, allocations: 149.8 kB / 1.434 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/10.28, allocations: 3.656 kB / 1.434 GB, free: 161.6 MB / 0.8698 GB