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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001041/0.001041, allocations: 176.1 kB / 371.6 MB, free: 3.395 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.473/1.473, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008604/0.0008604, allocations: 94.95 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.336e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2686, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.796/1.065, allocations: 181.3 MB / 1.157 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.065, allocations: 87.97 kB / 1.157 GB, free: 14.02 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-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.4-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.08619/1.151, allocations: 36.79 MB / 1.193 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.593e-06/1.151, allocations: 0 / 1.193 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.078e-05/1.151, allocations: 23.94 kB / 1.193 GB, free: 3.328 MB / 0.7605 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.001534/1.153, allocations: 0.9003 MB / 1.194 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.153, allocations: 8.031 kB / 1.194 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/1.156, allocations: 0.6322 MB / 1.194 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/1.157, allocations: 0.5863 MB / 1.195 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/1.157, allocations: 39.62 kB / 1.195 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/1.157, allocations: 53.92 kB / 1.195 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/1.159, allocations: 0.8686 MB / 1.196 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.159, allocations: 4 kB / 1.196 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/1.159, allocations: 24.95 kB / 1.196 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/1.159, allocations: 41.17 kB / 1.196 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.16, allocations: 0.7333 MB / 1.197 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/1.164, allocations: 3.542 MB / 1.2 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/1.165, allocations: 393.2 kB / 1.201 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/1.165, allocations: 181 kB / 1.201 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/1.165, allocations: 4 kB / 1.201 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.165, allocations: 42.3 kB / 1.201 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/1.165, allocations: 4 kB / 1.201 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.004823/1.17, allocations: 1.586 MB / 1.202 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/1.17, allocations: 137.2 kB / 1.202 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/1.171, allocations: 0.4923 MB / 1.203 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/1.171, allocations: 35.7 kB / 1.203 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/1.171, allocations: 356.1 kB / 1.203 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.171, allocations: 148.9 kB / 1.203 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/1.172, allocations: 10.31 kB / 1.203 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.172, allocations: 379.2 kB / 1.204 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/1.172, allocations: 188.4 kB / 1.204 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/1.172, allocations: 308.9 kB / 1.204 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/1.173, allocations: 229.5 kB / 1.204 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.173, allocations: 0 / 1.204 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001472/1.174, allocations: 0.7858 MB / 1.205 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005255/1.175, allocations: 1.221 MB / 1.206 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.175, allocations: 7.984 kB / 1.206 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009553/1.176, allocations: 253.3 kB / 1.207 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/1.176, allocations: 123.8 kB / 1.207 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00422/1.181, allocations: 5.9 MB / 1.213 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/1.181, allocations: 66.62 kB / 1.213 GB, free: 0.6211 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/1.181, allocations: 18.88 kB / 1.213 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/1.181, allocations: 4 kB / 1.213 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001551/1.183, allocations: 0.8979 MB / 1.214 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.183, allocations: 4 kB / 1.214 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/1.184, allocations: 207.7 kB / 1.214 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/1.184, allocations: 135.1 kB / 1.214 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/1.19, allocations: 8.098 MB / 1.222 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/1.191, allocations: 60.69 kB / 1.222 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/1.191, allocations: 23.5 kB / 1.222 GB, free: 6.953 MB / 0.7917 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 () * 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.0002096/1.191, allocations: 136.5 kB / 1.222 GB, free: 6.828 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/1.191, allocations: 75.09 kB / 1.222 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/1.191, allocations: 83.84 kB / 1.222 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.191, allocations: 4 kB / 1.222 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.191, allocations: 11.94 kB / 1.222 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.191, allocations: 3.984 kB / 1.222 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007984/1.192, allocations: 0.6459 MB / 1.223 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.192, allocations: 0 / 1.223 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/1.193, allocations: 99.22 kB / 1.223 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000795/1.193, allocations: 244 kB / 1.223 GB, free: 5.848 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/1.193, allocations: 14.92 kB / 1.223 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005988/1.199, allocations: 8.358 MB / 1.231 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.199, allocations: 7.969 kB / 1.231 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.201, allocations: 0.7707 MB / 1.232 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/1.201, allocations: 184.7 kB / 1.232 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/1.201, allocations: 6.812 kB / 1.232 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/1.202, allocations: 51.7 kB / 1.232 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.202, allocations: 47.14 kB / 1.232 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/1.202, allocations: 15.75 kB / 1.232 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004777/1.203, allocations: 394.1 kB / 1.233 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.203, allocations: 0 / 1.233 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001046/1.204, allocations: 295.1 kB / 1.233 GB, free: 11.71 MB / 0.8073 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 () * 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.0002293/1.204, allocations: 126.3 kB / 1.233 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002552/1.206, allocations: 1.848 MB / 1.235 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.206, allocations: 0 / 1.235 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009894/1.207, allocations: 0.937 MB / 1.236 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/1.208, allocations: 200.1 kB / 1.236 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/1.21, allocations: 0.9019 MB / 1.237 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/1.211, allocations: 0.9962 MB / 1.238 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0008086/1.212, allocations: 189.3 kB / 1.238 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/1.212, allocations: 43.23 kB / 1.238 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/1.212, allocations: 0 / 1.238 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of Templates: time 0.02177/1.234, allocations: 13.21 MB / 1.251 GB, free: 9.746 MB / 0.823 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)