Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.492/2.492, allocations: 287.5 MB / 303.2 MB, free: 8.27 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.001392/0.001392, allocations: 184.9 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009073/0.000907, allocations: 101.3 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 11.28 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9798/1.19, allocations: 189.6 MB / 1.164 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/1.19, allocations: 92.39 kB / 1.165 GB, free: 10.77 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.6886/1.879, allocations: 149.3 MB / 1.31 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.887e-06/1.879, allocations: 0 / 1.31 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006333/1.88, allocations: 83.92 kB / 1.31 GB, free: 14.9 MB / 0.8386 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.02764/1.907, allocations: 4.17 MB / 1.315 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/1.907, allocations: 8.031 kB / 1.315 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03258/1.94, allocations: 3.238 MB / 1.318 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/1.952, allocations: 2.684 MB / 1.32 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006707/1.953, allocations: 462.3 kB / 1.321 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001618/1.954, allocations: 236.3 kB / 1.321 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/1.977, allocations: 4.837 MB / 1.326 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/1.978, allocations: 7.938 kB / 1.326 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/1.979, allocations: 99.98 kB / 1.326 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003245/1.979, allocations: 148.8 kB / 1.326 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02707/2.007, allocations: 5.296 MB / 1.331 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04255/2.049, allocations: 14.87 MB / 1.346 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/2.069, allocations: 3.647 MB / 1.349 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007909/2.077, allocations: 1.592 MB / 1.351 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/2.077, allocations: 29.28 kB / 1.351 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01291/2.09, allocations: 1.915 MB / 1.353 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 8.737e-06/2.09, allocations: 0 / 1.353 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.2865/2.377, allocations: 34.33 MB / 1.386 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006891/2.377, allocations: 0.8983 MB / 1.387 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008367/2.386, allocations: 2.292 MB / 1.389 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/2.387, allocations: 81.7 kB / 1.389 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003194/2.39, allocations: 1.43 MB / 1.391 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002236/2.392, allocations: 0.8201 MB / 1.392 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006335/2.393, allocations: 48 kB / 1.392 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004018/2.394, allocations: 402.6 kB / 1.392 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01764/2.411, allocations: 2.108 MB / 1.394 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01798/2.429, allocations: 2.515 MB / 1.397 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/2.453, allocations: 4.533 MB / 1.401 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/2.453, allocations: 0 / 1.401 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03689/2.49, allocations: 6.922 MB / 1.408 GB, free: 8.773 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/2.49, allocations: 148.6 kB / 1.408 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/2.49, allocations: 4 kB / 1.408 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01907/2.509, allocations: 2.958 MB / 1.411 GB, free: 5.629 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005691/2.515, allocations: 0.5696 MB / 1.411 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07252/2.588, allocations: 17.33 MB / 1.428 GB, free: 3.492 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/2.596, allocations: 435.3 kB / 1.429 GB, free: 3.066 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008025/2.596, allocations: 87.98 kB / 1.429 GB, free: 2.98 MB / 0.948 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.003093/2.599, allocations: 0.7161 MB / 1.429 GB, free: 2.258 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/2.601, allocations: 332.1 kB / 1.43 GB, free: 1.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/2.602, allocations: 388.1 kB / 1.43 GB, free: 1.543 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/2.602, allocations: 28 kB / 1.43 GB, free: 1.516 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/2.602, allocations: 8 kB / 1.43 GB, free: 1.508 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/2.602, allocations: 19.89 kB / 1.43 GB, free: 1.488 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7698/3.372, allocations: 3.64 MB / 1.434 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/3.372, allocations: 1 kB / 1.434 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00508/3.377, allocations: 0.5026 MB / 1.434 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01858/3.396, allocations: 2.869 MB / 1.437 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000726/3.397, allocations: 44.47 kB / 1.437 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07034/3.467, allocations: 17.16 MB / 1.454 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/3.467, allocations: 0.75 kB / 1.454 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03534/3.502, allocations: 6.556 MB / 1.46 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/3.505, allocations: 0.712 MB / 1.461 GB, free: 250.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/3.507, allocations: 46.73 kB / 1.461 GB, free: 250.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007151/3.514, allocations: 415 kB / 1.461 GB, free: 250.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00235/3.516, allocations: 370.4 kB / 1.462 GB, free: 250.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005242/3.517, allocations: 72.17 kB / 1.462 GB, free: 250.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004471/3.521, allocations: 1.517 MB / 1.463 GB, free: 249.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.042e-06/3.521, allocations: 0.5625 kB / 1.463 GB, free: 249.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005862/3.527, allocations: 1.065 MB / 1.464 GB, free: 249.9 MB / 0.948 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.001056/3.528, allocations: 186.1 kB / 1.464 GB, free: 249.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04328/3.572, allocations: 6.842 MB / 1.471 GB, free: 249.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/3.572, allocations: 6.469 kB / 1.471 GB, free: 249.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03616/3.608, allocations: 4.212 MB / 1.475 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008706/3.617, allocations: 1.035 MB / 1.476 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/3.641, allocations: 7.752 MB / 1.484 GB, free: 245.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/3.644, allocations: 2.232 MB / 1.486 GB, free: 245 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004121/3.648, allocations: 0.5077 MB / 1.487 GB, free: 245 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/3.649, allocations: 177.6 kB / 1.487 GB, free: 244.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/3.649, allocations: 0 / 1.487 GB, free: 244.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1656/3.815, allocations: 71.32 MB / 1.556 GB, free: 237.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)