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.606/1.606, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001527/0.001527, allocations: 180.1 kB / 371.6 MB, free: 3.375 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.496/1.496, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0007981/0.0007979, allocations: 89.59 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.875e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2579, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.827/1.085, allocations: 190.7 MB / 1.166 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.085, allocations: 94.03 kB / 1.166 GB, free: 7.043 MB / 0.7448 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.3668/1.452, allocations: 149.1 MB / 1.312 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.483e-06/1.452, allocations: 4 kB / 1.312 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002497/1.452, allocations: 75.92 kB / 1.312 GB, free: 13.33 MB / 0.8855 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.0113/1.464, allocations: 3.699 MB / 1.315 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/1.464, allocations: 8.031 kB / 1.315 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/1.482, allocations: 3.206 MB / 1.319 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007982/1.49, allocations: 2.561 MB / 1.321 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004093/1.49, allocations: 469.7 kB / 1.321 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009854/1.491, allocations: 232.7 kB / 1.322 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/1.499, allocations: 3.943 MB / 1.326 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.393e-05/1.499, allocations: 4 kB / 1.326 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/1.499, allocations: 112 kB / 1.326 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001614/1.499, allocations: 144.8 kB / 1.326 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006196/1.505, allocations: 3.596 MB / 1.329 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/1.529, allocations: 14.85 MB / 1.344 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005578/1.535, allocations: 2.672 MB / 1.346 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/1.537, allocations: 1.112 MB / 1.348 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/1.537, allocations: 33.22 kB / 1.348 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002128/1.539, allocations: 1.424 MB / 1.349 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=163): time 3.627e-06/1.539, allocations: 4 kB / 1.349 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of matching and sorting (n=250): time 0.1139/1.653, allocations: 29.55 MB / 1.378 GB, free: 8.031 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004069/1.653, allocations: 0.8944 MB / 1.379 GB, free: 6.926 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/1.657, allocations: 1.955 MB / 1.381 GB, free: 4.961 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000556/1.657, allocations: 81.69 kB / 1.381 GB, free: 4.875 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.659, allocations: 1.438 MB / 1.382 GB, free: 3.422 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.66, allocations: 0.8163 MB / 1.383 GB, free: 2.594 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/1.66, allocations: 48 kB / 1.383 GB, free: 2.547 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.661, allocations: 398.7 kB / 1.383 GB, free: 2.152 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/1.663, allocations: 1.41 MB / 1.385 GB, free: 0.7383 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6226/2.286, allocations: 1.795 MB / 1.386 GB, free: 195.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/2.289, allocations: 1.619 MB / 1.388 GB, free: 195.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/2.289, allocations: 2.5 kB / 1.388 GB, free: 195.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01365/2.302, allocations: 5.464 MB / 1.393 GB, free: 195.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/2.303, allocations: 147.3 kB / 1.393 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/2.303, allocations: 9.344 kB / 1.394 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/2.313, allocations: 2.885 MB / 1.396 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/2.316, allocations: 0.5753 MB / 1.397 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03594/2.352, allocations: 16.96 MB / 1.413 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/2.357, allocations: 426.9 kB / 1.414 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/2.357, allocations: 94.03 kB / 1.414 GB, free: 192.6 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 () * 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.0006071/2.358, allocations: 247.4 kB / 1.414 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/2.359, allocations: 335.6 kB / 1.414 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009285/2.359, allocations: 382.8 kB / 1.415 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/2.359, allocations: 22.78 kB / 1.415 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/2.36, allocations: 14.08 kB / 1.415 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/2.36, allocations: 18.59 kB / 1.415 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004353/2.364, allocations: 3.644 MB / 1.418 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/2.364, allocations: 6.844 kB / 1.418 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/2.366, allocations: 0.5027 MB / 1.419 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008338/2.375, allocations: 2.795 MB / 1.422 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/2.375, allocations: 51.34 kB / 1.422 GB, free: 192 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0311/2.406, allocations: 16.81 MB / 1.438 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.406, allocations: 0 / 1.438 GB, free: 189.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/2.418, allocations: 5.122 MB / 1.443 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/2.42, allocations: 0.7065 MB / 1.444 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/2.42, allocations: 47.03 kB / 1.444 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003315/2.424, allocations: 423.7 kB / 1.444 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00121/2.425, allocations: 364.7 kB / 1.445 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/2.425, allocations: 70.38 kB / 1.445 GB, free: 188.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002165/2.427, allocations: 1.492 MB / 1.446 GB, free: 188.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/2.427, allocations: 0 / 1.446 GB, free: 188.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003058/2.43, allocations: 1.061 MB / 1.447 GB, free: 188.4 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) * 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.0004031/2.431, allocations: 190.8 kB / 1.447 GB, free: 188.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01585/2.446, allocations: 5.397 MB / 1.453 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/2.447, allocations: 7.062 kB / 1.453 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/2.46, allocations: 3.473 MB / 1.456 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/2.464, allocations: 1.014 MB / 1.457 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009016/2.473, allocations: 5.025 MB / 1.462 GB, free: 184.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/2.475, allocations: 2.299 MB / 1.464 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002729/2.478, allocations: 0.5133 MB / 1.465 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/2.478, allocations: 178.9 kB / 1.465 GB, free: 183.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/2.478, allocations: 0 / 1.465 GB, free: 183.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1231/2.602, allocations: 71.3 MB / 1.535 GB, free: 180.3 MB / 0.948 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)