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.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.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.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001304/0.001304, allocations: 176.9 kB / 366.7 MB, free: 1.645 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.371/1.371, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008047/0.0008046, allocations: 88.83 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.603e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6521/0.6521, allocations: 116.3 MB / 0.9732 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.8778, allocations: 190 MB / 1.159 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.8782, allocations: 89.84 kB / 1.159 GB, free: 8.023 MB / 0.7605 GB [/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.8947/1.773, allocations: 148.1 MB / 1.304 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.703e-06/1.773, allocations: 0 / 1.304 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004341/1.773, allocations: 82.77 kB / 1.304 GB, free: 194.5 MB / 0.8542 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.01226/1.786, allocations: 3.69 MB / 1.307 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.786, allocations: 12.55 kB / 1.307 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/1.803, allocations: 3.211 MB / 1.31 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/1.813, allocations: 2.561 MB / 1.313 GB, free: 192 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006187/1.814, allocations: 391.1 kB / 1.313 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/1.816, allocations: 136.2 kB / 1.313 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00888/1.825, allocations: 3.449 MB / 1.317 GB, free: 191.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008862/1.834, allocations: 3.593 MB / 1.32 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-05/1.834, allocations: 6.812 kB / 1.32 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006932/1.835, allocations: 3.875 kB / 1.32 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/1.835, allocations: 145 kB / 1.32 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0229/1.858, allocations: 14.34 MB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00502/1.863, allocations: 2.604 MB / 1.337 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/1.864, allocations: 1.066 MB / 1.338 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.864, allocations: 27.86 kB / 1.338 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/1.866, allocations: 1.374 MB / 1.339 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.788e-06/1.866, allocations: 0 / 1.339 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.02111/1.887, allocations: 8.491 MB / 1.348 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002464/1.887, allocations: 0.8995 MB / 1.349 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003183/1.891, allocations: 1.561 MB / 1.35 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000318/1.891, allocations: 37.11 kB / 1.35 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/1.892, allocations: 1.444 MB / 1.351 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/1.893, allocations: 0.786 MB / 1.352 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.893, allocations: 4 kB / 1.352 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.893, allocations: 402 kB / 1.353 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.895, allocations: 1.361 MB / 1.354 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/1.897, allocations: 1.732 MB / 1.356 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/1.899, allocations: 1.429 MB / 1.357 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.899, allocations: 0 / 1.357 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01039/1.909, allocations: 5.08 MB / 1.362 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/1.909, allocations: 148.2 kB / 1.362 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.91, allocations: 11 kB / 1.362 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008194/1.918, allocations: 2.801 MB / 1.365 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.92, allocations: 0.5683 MB / 1.365 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02908/1.95, allocations: 16.4 MB / 1.381 GB, free: 158 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/1.954, allocations: 383.3 kB / 1.382 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005257/1.954, allocations: 87.08 kB / 1.382 GB, free: 157.6 MB / 0.8542 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.0007663/1.955, allocations: 151.5 kB / 1.382 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000768/1.956, allocations: 300.4 kB / 1.382 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/1.957, allocations: 331.7 kB / 1.383 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.957, allocations: 27.95 kB / 1.383 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.454e-05/1.957, allocations: 19.83 kB / 1.383 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.518e-05/1.957, allocations: 18.75 kB / 1.383 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/1.962, allocations: 3.26 MB / 1.386 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.962, allocations: 3.953 kB / 1.386 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002363/1.965, allocations: 0.5012 MB / 1.386 GB, free: 154 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007704/1.972, allocations: 2.769 MB / 1.389 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/1.973, allocations: 11.97 kB / 1.389 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/2.001, allocations: 16.4 MB / 1.405 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/2.001, allocations: 4 kB / 1.405 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/2.012, allocations: 4.897 MB / 1.41 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/2.014, allocations: 0.6692 MB / 1.411 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/2.015, allocations: 10.02 kB / 1.411 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/2.018, allocations: 383.4 kB / 1.411 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/2.019, allocations: 366.8 kB / 1.411 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/2.02, allocations: 71.97 kB / 1.411 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001637/2.021, allocations: 1.157 MB / 1.413 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/2.021, allocations: 0 / 1.413 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00305/2.024, allocations: 0.9414 MB / 1.413 GB, free: 126.3 MB / 0.8542 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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.000408/2.025, allocations: 143.3 kB / 1.414 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01472/2.039, allocations: 5.199 MB / 1.419 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/2.039, allocations: 4 kB / 1.419 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01218/2.052, allocations: 3.347 MB / 1.422 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/2.056, allocations: 0.8715 MB / 1.423 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009195/2.065, allocations: 4.898 MB / 1.428 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/2.067, allocations: 2.296 MB / 1.43 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002205/2.069, allocations: 484.7 kB / 1.43 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/2.07, allocations: 167.4 kB / 1.43 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/2.07, allocations: 0 / 1.43 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.08867/2.158, allocations: 65.41 MB / 1.494 GB, free: 44.38 MB / 0.8542 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)