Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.001029/0.001029, allocations: 176.5 kB / 372.9 MB, free: 10.16 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.637/1.637, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0007528/0.0007532, allocations: 97.2 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004073, allocations: 11.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2441, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.644/0.8881, allocations: 189.8 MB / 1.166 GB, free: 9.191 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.8885, allocations: 98.62 kB / 1.166 GB, free: 9.137 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.388/1.277, allocations: 149.3 MB / 1.312 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.277, allocations: 0 / 1.312 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002743/1.277, allocations: 83.92 kB / 1.312 GB, free: 13.32 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.01203/1.289, allocations: 4.166 MB / 1.316 GB, free: 9.039 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.289, allocations: 12.03 kB / 1.316 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/1.306, allocations: 3.234 MB / 1.319 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007581/1.314, allocations: 2.677 MB / 1.322 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004427/1.314, allocations: 466.3 kB / 1.322 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009869/1.315, allocations: 236.3 kB / 1.323 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.327, allocations: 4.833 MB / 1.327 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/1.327, allocations: 15.86 kB / 1.327 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003504/1.327, allocations: 104 kB / 1.327 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/1.327, allocations: 144.8 kB / 1.328 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/1.342, allocations: 5.292 MB / 1.333 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/1.367, allocations: 14.88 MB / 1.347 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/1.377, allocations: 3.627 MB / 1.351 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003851/1.381, allocations: 1.596 MB / 1.352 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/1.381, allocations: 21.3 kB / 1.352 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004277/1.386, allocations: 1.919 MB / 1.354 GB, free: 452 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 3.807e-06/1.386, allocations: 0 / 1.354 GB, free: 452 kB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.1342/1.52, allocations: 34.34 MB / 1.388 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004333/1.52, allocations: 0.8944 MB / 1.389 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/1.524, allocations: 2.285 MB / 1.391 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005707/1.525, allocations: 85.69 kB / 1.391 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/1.526, allocations: 1.434 MB / 1.392 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.527, allocations: 0.824 MB / 1.393 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/1.528, allocations: 44 kB / 1.393 GB, free: 8.047 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.528, allocations: 398.6 kB / 1.394 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005477/1.533, allocations: 2.112 MB / 1.396 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/1.539, allocations: 2.515 MB / 1.398 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/1.55, allocations: 4.529 MB / 1.403 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.55, allocations: 4 kB / 1.403 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02083/1.571, allocations: 6.922 MB / 1.409 GB, free: 7.203 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/1.571, allocations: 148.5 kB / 1.409 GB, free: 7.027 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/1.572, allocations: 4 kB / 1.409 GB, free: 7.023 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.015/1.587, allocations: 2.958 MB / 1.412 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/1.591, allocations: 0.5734 MB / 1.413 GB, free: 3.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05734/1.649, allocations: 17.33 MB / 1.43 GB, free: 1.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005929/1.655, allocations: 439.3 kB / 1.43 GB, free: 1.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005757/1.655, allocations: 87.97 kB / 1.43 GB, free: 1.395 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.002448/1.658, allocations: 0.7122 MB / 1.431 GB, free: 0.6758 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008943/1.659, allocations: 340 kB / 1.431 GB, free: 348 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5276/2.186, allocations: 376.4 kB / 1.432 GB, free: 253.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.972e-05/2.186, allocations: 21.59 kB / 1.432 GB, free: 253.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.712e-05/2.186, allocations: 10.34 kB / 1.432 GB, free: 253.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.579e-05/2.186, allocations: 14.94 kB / 1.432 GB, free: 253.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006995/2.193, allocations: 3.647 MB / 1.435 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/2.193, allocations: 1.375 kB / 1.435 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/2.196, allocations: 0.5042 MB / 1.436 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01068/2.207, allocations: 2.866 MB / 1.439 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000598/2.208, allocations: 52.81 kB / 1.439 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03893/2.246, allocations: 17.15 MB / 1.455 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.247, allocations: 2.688 kB / 1.455 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/2.265, allocations: 6.555 MB / 1.462 GB, free: 250.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/2.267, allocations: 0.7042 MB / 1.463 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007757/2.268, allocations: 47.94 kB / 1.463 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/2.272, allocations: 424.9 kB / 1.463 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00139/2.273, allocations: 363.7 kB / 1.463 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/2.273, allocations: 72.8 kB / 1.463 GB, free: 250.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002563/2.276, allocations: 1.518 MB / 1.465 GB, free: 250.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.276, allocations: 0 / 1.465 GB, free: 250.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004378/2.28, allocations: 1.062 MB / 1.466 GB, free: 250.3 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.0006024/2.281, allocations: 188.4 kB / 1.466 GB, free: 250.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02278/2.304, allocations: 6.852 MB / 1.473 GB, free: 249.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.304, allocations: 3.875 kB / 1.473 GB, free: 249.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0166/2.32, allocations: 4.212 MB / 1.477 GB, free: 249 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/2.326, allocations: 1.035 MB / 1.478 GB, free: 248.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/2.339, allocations: 7.751 MB / 1.485 GB, free: 246.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/2.341, allocations: 2.235 MB / 1.488 GB, free: 245.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003145/2.344, allocations: 0.5066 MB / 1.488 GB, free: 245.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/2.345, allocations: 179.2 kB / 1.488 GB, free: 245.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/2.345, allocations: 0 / 1.488 GB, free: 245.3 MB / 0.948 GB Notification: Performance of Templates: time 0.1006/2.445, allocations: 72.16 MB / 1.559 GB, free: 235.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)