Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.312/1.312, allocations: 289.8 MB / 297.1 MB, free: 12.58 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 181.3 kB / 366.3 MB, free: 11.91 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9684/0.9684, allocations: 205.1 MB / 0.6256 GB, free: 2.02 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008541/0.0008541, allocations: 83.83 kB / 0.7395 GB, free: 47 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 5.089e-06/5.18e-06, allocations: 0 / 0.859 GB, free: 7.18 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4004, allocations: 116.3 MB / 0.9725 GB, free: 81.46 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.5659, allocations: 189.9 MB / 1.158 GB, free: 1.988 MB / 0.7527 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5661, allocations: 83.95 kB / 1.158 GB, free: 1.906 MB / 0.7527 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: time 0.5776/1.144, allocations: 146.4 MB / 1.301 GB, free: 194.1 MB / 0.8621 GB Notification: Performance of Transformations before backend: time 0.0001994/1.144, allocations: 77.28 kB / 1.301 GB, free: 194.1 MB / 0.8621 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.006266/1.15, allocations: 3.509 MB / 1.305 GB, free: 192.6 MB / 0.8621 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/1.15, allocations: 11.03 kB / 1.305 GB, free: 192.6 MB / 0.8621 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/1.165, allocations: 3.183 MB / 1.308 GB, free: 192.2 MB / 0.8621 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/1.169, allocations: 2.323 MB / 1.31 GB, free: 191.6 MB / 0.8621 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/1.169, allocations: 77.72 kB / 1.31 GB, free: 191.6 MB / 0.8621 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/1.17, allocations: 139.1 kB / 1.31 GB, free: 191.6 MB / 0.8621 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004333/1.174, allocations: 3.513 MB / 1.314 GB, free: 191.6 MB / 0.8621 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/1.178, allocations: 3.565 MB / 1.317 GB, free: 191.2 MB / 0.8621 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/1.178, allocations: 6.906 kB / 1.317 GB, free: 191.2 MB / 0.8621 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/1.179, allocations: 3.719 kB / 1.317 GB, free: 191.2 MB / 0.8621 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.095e-05/1.179, allocations: 154 kB / 1.317 GB, free: 191.2 MB / 0.8621 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/1.193, allocations: 14.03 MB / 1.331 GB, free: 183.6 MB / 0.8621 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/1.195, allocations: 1.065 MB / 1.332 GB, free: 183.2 MB / 0.8621 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/1.196, allocations: 1.034 MB / 1.333 GB, free: 182.8 MB / 0.8621 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/1.196, allocations: 26.38 kB / 1.333 GB, free: 182.8 MB / 0.8621 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/1.197, allocations: 1.295 MB / 1.334 GB, free: 182.2 MB / 0.8621 GB Notification: Performance of pre-optimization done (n=163): time 3.025e-06/1.197, allocations: 0 / 1.334 GB, free: 182.2 MB / 0.8621 GB Notification: Performance of matching and sorting (n=250): time 0.01507/1.212, allocations: 7.721 MB / 1.342 GB, free: 179.5 MB / 0.8621 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/1.212, allocations: 0.9009 MB / 1.343 GB, free: 178.4 MB / 0.8621 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/1.214, allocations: 1.564 MB / 1.344 GB, free: 177.8 MB / 0.8621 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/1.214, allocations: 36.61 kB / 1.344 GB, free: 177.8 MB / 0.8621 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/1.215, allocations: 0.9587 MB / 1.345 GB, free: 177.1 MB / 0.8621 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/1.215, allocations: 0.7844 MB / 1.346 GB, free: 176.5 MB / 0.8621 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/1.215, allocations: 1.281 kB / 1.346 GB, free: 176.5 MB / 0.8621 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/1.215, allocations: 399.6 kB / 1.346 GB, free: 176.1 MB / 0.8621 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/1.217, allocations: 1.249 MB / 1.348 GB, free: 175.6 MB / 0.8621 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/1.219, allocations: 1.619 MB / 1.349 GB, free: 174.7 MB / 0.8621 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/1.221, allocations: 1.339 MB / 1.35 GB, free: 174.2 MB / 0.8621 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.221, allocations: 1.344 kB / 1.35 GB, free: 174.2 MB / 0.8621 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007948/1.229, allocations: 4.424 MB / 1.355 GB, free: 172.7 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002855/1.229, allocations: 2.27 MB / 1.357 GB, free: 170.2 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.229, allocations: 4.094 kB / 1.357 GB, free: 170.2 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005223/1.234, allocations: 1.63 MB / 1.359 GB, free: 169.9 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/1.237, allocations: 0.6389 MB / 1.359 GB, free: 169.8 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.248, allocations: 8.72 MB / 1.368 GB, free: 165.3 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/1.251, allocations: 411.4 kB / 1.368 GB, free: 165.2 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/1.251, allocations: 95.5 kB / 1.368 GB, free: 165.2 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-06/1.251, allocations: 5.219 kB / 1.368 GB, free: 165.2 MB / 0.8621 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005881/1.257, allocations: 3.679 MB / 1.372 GB, free: 163.9 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.257, allocations: 9.625 kB / 1.372 GB, free: 163.9 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003351/1.26, allocations: 1.426 MB / 1.373 GB, free: 163.6 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/1.263, allocations: 0.6875 MB / 1.374 GB, free: 163.6 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.277, allocations: 11.13 MB / 1.385 GB, free: 157.8 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.281, allocations: 415.2 kB / 1.385 GB, free: 157.7 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/1.281, allocations: 87.61 kB / 1.385 GB, free: 157.7 MB / 0.8621 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0004679/1.281, allocations: 164.4 kB / 1.385 GB, free: 157.6 MB / 0.8621 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/1.282, allocations: 306.9 kB / 1.386 GB, free: 157.4 MB / 0.8621 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/1.282, allocations: 332.4 kB / 1.386 GB, free: 157.2 MB / 0.8621 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.282, allocations: 29.58 kB / 1.386 GB, free: 157.2 MB / 0.8621 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/1.282, allocations: 9.406 kB / 1.386 GB, free: 157.2 MB / 0.8621 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/1.282, allocations: 13.27 kB / 1.386 GB, free: 157.2 MB / 0.8621 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.286, allocations: 2.839 MB / 1.389 GB, free: 156.1 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.286, allocations: 6.562 kB / 1.389 GB, free: 156.1 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/1.288, allocations: 0.5708 MB / 1.389 GB, free: 156 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005106/1.293, allocations: 1.652 MB / 1.391 GB, free: 155.2 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/1.293, allocations: 14.56 kB / 1.391 GB, free: 155.2 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/1.309, allocations: 12.68 MB / 1.403 GB, free: 143.7 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.309, allocations: 0 / 1.403 GB, free: 143.7 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006749/1.315, allocations: 4.225 MB / 1.407 GB, free: 140.1 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/1.316, allocations: 0.6397 MB / 1.408 GB, free: 139.6 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/1.317, allocations: 8.562 kB / 1.408 GB, free: 139.5 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002918/1.32, allocations: 424.2 kB / 1.409 GB, free: 139.2 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/1.32, allocations: 231.1 kB / 1.409 GB, free: 139.1 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/1.321, allocations: 70.36 kB / 1.409 GB, free: 139.1 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.001157/1.322, allocations: 1.164 MB / 1.41 GB, free: 138 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.002661/1.324, allocations: 1.355 MB / 1.411 GB, free: 136.6 MB / 0.8621 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 (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002952/1.325, allocations: 140.7 kB / 1.411 GB, free: 136.5 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.335, allocations: 6.909 MB / 1.418 GB, free: 130.2 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.335, allocations: 4 kB / 1.418 GB, free: 130.1 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/1.339, allocations: 2.481 MB / 1.421 GB, free: 127.9 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.342, allocations: 0.8378 MB / 1.421 GB, free: 127.3 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008265/1.35, allocations: 5.183 MB / 1.426 GB, free: 122.7 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/1.352, allocations: 2.42 MB / 1.429 GB, free: 120.8 MB / 0.8621 GB Notification: Performance of SimCode: time 2.7e-07/1.352, allocations: 0 / 1.429 GB, free: 120.8 MB / 0.8621 GB Notification: Performance of Templates: time 0.09038/1.443, allocations: 85.19 MB / 1.512 GB, free: 39.49 MB / 0.8621 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)