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.34/2.34, allocations: 251 MB / 265.9 MB, free: 11.69 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.001599/0.001598, allocations: 176.7 kB / 325.5 MB, free: 2.883 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.363/2.363, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001066/0.001066, allocations: 104.9 kB / 0.6809 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006982/0.0006982, allocations: 11.5 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2205, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9645/1.185, allocations: 183.3 MB / 1.078 GB, free: 54.58 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/1.185, allocations: 93.52 kB / 1.078 GB, free: 54.58 MB / 0.698 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.5868/1.772, allocations: 149.6 MB / 1.224 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.549e-06/1.772, allocations: 3.984 kB / 1.224 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005469/1.773, allocations: 83.47 kB / 1.224 GB, free: 12.51 MB / 0.7292 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.01989/1.793, allocations: 4.211 MB / 1.228 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.793, allocations: 12.03 kB / 1.228 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002227/1.795, allocations: 365.8 kB / 1.229 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02989/1.825, allocations: 3.229 MB / 1.232 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/1.838, allocations: 2.574 MB / 1.234 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007012/1.839, allocations: 469.5 kB / 1.235 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/1.841, allocations: 231.5 kB / 1.235 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02311/1.864, allocations: 4.818 MB / 1.24 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.132e-05/1.864, allocations: 0 / 1.24 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/1.865, allocations: 103.5 kB / 1.24 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002907/1.866, allocations: 148.8 kB / 1.24 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/1.893, allocations: 5.296 MB / 1.245 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04374/1.937, allocations: 14.87 MB / 1.26 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/1.957, allocations: 3.642 MB / 1.263 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/1.958, allocations: 16.98 kB / 1.263 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008749/1.966, allocations: 1.918 MB / 1.265 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 5.32e-06/1.966, allocations: 4 kB / 1.265 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.2735/2.24, allocations: 34.33 MB / 1.298 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005438/2.241, allocations: 0.9054 MB / 1.299 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005563/2.246, allocations: 1.985 MB / 1.301 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008195/2.247, allocations: 85.7 kB / 1.301 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/2.249, allocations: 1.429 MB / 1.303 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/2.251, allocations: 0.8146 MB / 1.304 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/2.251, allocations: 48 kB / 1.304 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002604/2.252, allocations: 398.7 kB / 1.304 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/2.263, allocations: 2.108 MB / 1.306 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/2.274, allocations: 2.499 MB / 1.309 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.286, allocations: 2.309 MB / 1.311 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/2.286, allocations: 0 / 1.311 GB, free: 1.637 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03741/2.323, allocations: 6.907 MB / 1.318 GB, free: 10.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/2.323, allocations: 152.5 kB / 1.318 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/2.323, allocations: 4 kB / 1.318 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02265/2.346, allocations: 2.962 MB / 1.321 GB, free: 7.488 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008852/2.355, allocations: 0.5735 MB / 1.321 GB, free: 6.914 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1201/2.475, allocations: 18.15 MB / 1.339 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.487, allocations: 431.5 kB / 1.339 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/2.489, allocations: 87.97 kB / 1.339 GB, free: 4.047 MB / 0.8386 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 () * Number of clocked 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.00497/2.494, allocations: 0.7178 MB / 1.34 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/2.495, allocations: 336 kB / 1.34 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/2.498, allocations: 384.1 kB / 1.341 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/2.498, allocations: 24 kB / 1.341 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.952e-05/2.498, allocations: 12 kB / 1.341 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.566e-05/2.498, allocations: 11.95 kB / 1.341 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/2.512, allocations: 3.641 MB / 1.344 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001096/2.513, allocations: 0 / 1.344 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007589/2.52, allocations: 0.515 MB / 1.345 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02763/2.548, allocations: 2.871 MB / 1.348 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009736/2.549, allocations: 51.97 kB / 1.348 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08134/2.63, allocations: 17.98 MB / 1.365 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/2.63, allocations: 0 / 1.365 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03646/2.667, allocations: 6.549 MB / 1.372 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003176/2.67, allocations: 0.7 MB / 1.372 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.672, allocations: 52 kB / 1.372 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007826/2.679, allocations: 423.5 kB / 1.373 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002616/2.682, allocations: 370.5 kB / 1.373 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006793/2.683, allocations: 67.98 kB / 1.373 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004338/2.687, allocations: 1.525 MB / 1.375 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.816e-06/2.687, allocations: 0 / 1.375 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005893/2.693, allocations: 1.062 MB / 1.376 GB, free: 14.43 MB / 0.8855 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) * Number of clocked states: 0 () * 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.03815/2.731, allocations: 7.193 MB / 1.383 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04482/2.776, allocations: 6.822 MB / 1.389 GB, free: 280 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/2.776, allocations: 4.25 kB / 1.389 GB, free: 276 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.6774/3.454, allocations: 4.205 MB / 1.394 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/3.462, allocations: 1.005 MB / 1.395 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/3.568, allocations: 30.6 MB / 1.424 GB, free: 223.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/3.572, allocations: 2.304 MB / 1.427 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004833/3.577, allocations: 0.5028 MB / 1.427 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003713/3.581, allocations: 1.335 MB / 1.428 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/3.581, allocations: 0 / 1.428 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2927/3.874, allocations: 97.77 MB / 1.524 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/3.874, allocations: 220.1 kB / 1.524 GB, free: 194 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/10.89, allocations: 0 / 1.524 GB, free: 194 MB / 0.8855 GB