Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 293 MB / 309 MB, free: 4.812 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 172.5 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007505/0.0007502, allocations: 86.06 kB / 0.7527 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7801/1.064, allocations: 190.9 MB / 1.177 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.065, allocations: 92.59 kB / 1.177 GB, free: 6.535 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1-maint.8.1.x/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.3863/1.451, allocations: 149.3 MB / 1.323 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.965e-06/1.451, allocations: 4 kB / 1.323 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002699/1.451, allocations: 75.92 kB / 1.323 GB, free: 15.21 MB / 0.9011 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.01276/1.464, allocations: 4.166 MB / 1.327 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.464, allocations: 8.031 kB / 1.327 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02214/1.486, allocations: 3.234 MB / 1.33 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/1.497, allocations: 2.68 MB / 1.333 GB, free: 4.922 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005547/1.497, allocations: 470.3 kB / 1.333 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/1.499, allocations: 228.4 kB / 1.333 GB, free: 4.176 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/1.516, allocations: 4.84 MB / 1.338 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/1.516, allocations: 7.875 kB / 1.338 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004879/1.516, allocations: 108 kB / 1.338 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/1.516, allocations: 144.8 kB / 1.338 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02021/1.537, allocations: 5.292 MB / 1.343 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03829/1.575, allocations: 14.87 MB / 1.358 GB, free: 9.598 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/1.589, allocations: 3.639 MB / 1.362 GB, free: 5.949 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005667/1.595, allocations: 1.6 MB / 1.363 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/1.595, allocations: 25.3 kB / 1.363 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006298/1.601, allocations: 1.919 MB / 1.365 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 6.131e-06/1.601, allocations: 0 / 1.365 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.6979/2.299, allocations: 34.33 MB / 1.399 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004012/2.3, allocations: 0.8961 MB / 1.399 GB, free: 178 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/2.305, allocations: 2.294 MB / 1.402 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008938/2.306, allocations: 80.16 kB / 1.402 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/2.308, allocations: 1.436 MB / 1.403 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/2.31, allocations: 0.8165 MB / 1.404 GB, free: 177 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/2.31, allocations: 47.66 kB / 1.404 GB, free: 177 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002223/2.31, allocations: 395.1 kB / 1.404 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009757/2.32, allocations: 2.114 MB / 1.406 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009953/2.33, allocations: 2.515 MB / 1.409 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01981/2.35, allocations: 4.531 MB / 1.413 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/2.35, allocations: 4 kB / 1.413 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03258/2.383, allocations: 6.92 MB / 1.42 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/2.383, allocations: 148.7 kB / 1.42 GB, free: 175 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/2.383, allocations: 6.75 kB / 1.42 GB, free: 175 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01488/2.398, allocations: 2.955 MB / 1.423 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004938/2.403, allocations: 0.5726 MB / 1.424 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05834/2.461, allocations: 17.33 MB / 1.441 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007356/2.468, allocations: 432.1 kB / 1.441 GB, free: 171.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006976/2.469, allocations: 88.92 kB / 1.441 GB, free: 171.8 MB / 0.9323 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.003024/2.472, allocations: 0.7091 MB / 1.442 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/2.473, allocations: 337.8 kB / 1.442 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/2.474, allocations: 381.5 kB / 1.442 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/2.474, allocations: 24.94 kB / 1.442 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-05/2.475, allocations: 16 kB / 1.442 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.129e-05/2.475, allocations: 10.45 kB / 1.442 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008556/2.483, allocations: 3.649 MB / 1.446 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/2.483, allocations: 0.5625 kB / 1.446 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004441/2.488, allocations: 0.5075 MB / 1.447 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01621/2.504, allocations: 2.868 MB / 1.449 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008524/2.505, allocations: 51.22 kB / 1.449 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.046/2.551, allocations: 17.16 MB / 1.466 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/2.551, allocations: 4.5 kB / 1.466 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/2.57, allocations: 6.55 MB / 1.473 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/2.573, allocations: 0.7094 MB / 1.473 GB, free: 163.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007847/2.573, allocations: 46.22 kB / 1.473 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003456/2.577, allocations: 428 kB / 1.474 GB, free: 163.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/2.578, allocations: 366 kB / 1.474 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/2.578, allocations: 68.62 kB / 1.474 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002833/2.581, allocations: 1.519 MB / 1.476 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.21e-07/2.581, allocations: 5.203 kB / 1.476 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004576/2.586, allocations: 1.061 MB / 1.477 GB, free: 162.7 MB / 0.9323 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.0007228/2.586, allocations: 182.9 kB / 1.477 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02331/2.61, allocations: 6.833 MB / 1.483 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/2.61, allocations: 9.844 kB / 1.483 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01635/2.626, allocations: 4.211 MB / 1.488 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006291/2.633, allocations: 1.031 MB / 1.489 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/2.647, allocations: 7.742 MB / 1.496 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/2.65, allocations: 2.234 MB / 1.498 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003098/2.653, allocations: 0.5121 MB / 1.499 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/2.653, allocations: 176.1 kB / 1.499 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of SimCode: time 9.32e-07/2.653, allocations: 1.594 kB / 1.499 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.108/2.761, allocations: 72.17 MB / 1.569 GB, free: 142.6 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)