Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.604/1.604, 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.0009507/0.0009507, allocations: 182.7 kB / 378.7 MB, free: 1.016 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.585/1.585, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008593/0.0008595, allocations: 92.55 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005757/0.0005759, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3103, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8432/1.154, allocations: 181.5 MB / 1.168 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/1.154, allocations: 91.95 kB / 1.168 GB, free: 15.88 MB / 0.7448 GB [/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);. [/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.09259/1.247, allocations: 36.93 MB / 1.204 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.224e-06/1.247, allocations: 0 / 1.204 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.763e-05/1.247, allocations: 19.94 kB / 1.204 GB, free: 10.7 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002784/1.249, allocations: 0.9907 MB / 1.205 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.25, allocations: 16.02 kB / 1.205 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/1.253, allocations: 0.628 MB / 1.205 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/1.255, allocations: 0.6099 MB / 1.206 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/1.255, allocations: 36.81 kB / 1.206 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.255, allocations: 52.36 kB / 1.206 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/1.257, allocations: 1.018 MB / 1.207 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.257, allocations: 4.188 kB / 1.207 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/1.257, allocations: 23.94 kB / 1.207 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.615e-05/1.257, allocations: 37.3 kB / 1.207 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/1.26, allocations: 1.012 MB / 1.208 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/1.265, allocations: 3.551 MB / 1.212 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/1.266, allocations: 0.5178 MB / 1.212 GB, free: 1.754 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/1.267, allocations: 244.7 kB / 1.212 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/1.267, allocations: 4 kB / 1.212 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/1.267, allocations: 38.56 kB / 1.212 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 4.579e-06/1.267, allocations: 0 / 1.212 GB, free: 1.461 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.007084/1.274, allocations: 2.312 MB / 1.215 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/1.274, allocations: 136.5 kB / 1.215 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/1.275, allocations: 0.5666 MB / 1.215 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/1.275, allocations: 33.7 kB / 1.215 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/1.275, allocations: 352.2 kB / 1.216 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.276, allocations: 153.8 kB / 1.216 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/1.276, allocations: 8 kB / 1.216 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002236/1.276, allocations: 378.8 kB / 1.216 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/1.276, allocations: 276.9 kB / 1.217 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/1.277, allocations: 400.3 kB / 1.217 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/1.279, allocations: 0.6577 MB / 1.218 GB, free: 12 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.279, allocations: 4 kB / 1.218 GB, free: 12 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002436/1.281, allocations: 0.9778 MB / 1.218 GB, free: 11 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/1.281, allocations: 184.4 kB / 1.219 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.281, allocations: 4 kB / 1.219 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/1.282, allocations: 268.9 kB / 1.219 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/1.283, allocations: 135.8 kB / 1.219 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008384/1.292, allocations: 8.461 MB / 1.227 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/1.292, allocations: 56.02 kB / 1.227 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/1.293, allocations: 20 kB / 1.227 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.293, allocations: 7.938 kB / 1.227 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002629/1.295, allocations: 1.081 MB / 1.228 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.295, allocations: 4 kB / 1.228 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008047/1.296, allocations: 221.2 kB / 1.229 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/1.297, allocations: 131.8 kB / 1.229 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/1.303, allocations: 8.149 MB / 1.237 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/1.304, allocations: 60 kB / 1.237 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/1.304, allocations: 20 kB / 1.237 GB, free: 6.473 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006072/1.305, allocations: 316.9 kB / 1.237 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/1.305, allocations: 75.09 kB / 1.237 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/1.305, allocations: 82.36 kB / 1.237 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.305, allocations: 8 kB / 1.237 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.305, allocations: 4 kB / 1.237 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.305, allocations: 0 / 1.237 GB, free: 5.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/1.306, allocations: 0.6417 MB / 1.238 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.306, allocations: 0 / 1.238 GB, free: 5.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/1.307, allocations: 99.91 kB / 1.238 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009968/1.308, allocations: 260.9 kB / 1.238 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/1.308, allocations: 16 kB / 1.238 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007107/1.315, allocations: 8.4 MB / 1.246 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.315, allocations: 7.875 kB / 1.246 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/1.317, allocations: 0.9561 MB / 1.247 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/1.318, allocations: 188.2 kB / 1.248 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.318, allocations: 8 kB / 1.248 GB, free: 10.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005061/1.319, allocations: 47.95 kB / 1.248 GB, free: 10.44 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.319, allocations: 47.81 kB / 1.248 GB, free: 10.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.319, allocations: 12 kB / 1.248 GB, free: 10.38 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005726/1.319, allocations: 399.1 kB / 1.248 GB, free: 10 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.319, allocations: 0 / 1.248 GB, free: 10 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001274/1.321, allocations: 308 kB / 1.248 GB, free: 9.699 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002549/1.321, allocations: 135.1 kB / 1.249 GB, free: 9.559 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003866/1.325, allocations: 2.411 MB / 1.251 GB, free: 6.992 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.325, allocations: 0 / 1.251 GB, free: 6.992 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/1.326, allocations: 1.015 MB / 1.252 GB, free: 5.898 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.327, allocations: 207.7 kB / 1.252 GB, free: 5.699 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/1.33, allocations: 1.525 MB / 1.254 GB, free: 4.148 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/1.331, allocations: 0.9898 MB / 1.255 GB, free: 3.133 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006713/1.332, allocations: 145.4 kB / 1.255 GB, free: 2.988 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.332, allocations: 43.44 kB / 1.255 GB, free: 2.945 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/1.332, allocations: 0 / 1.255 GB, free: 2.945 MB / 0.823 GB Notification: Performance of Templates: time 0.0252/1.357, allocations: 13.03 MB / 1.267 GB, free: 6.051 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)