Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.477/2.477, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001366, allocations: 176.9 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001015, allocations: 95.52 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.684e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2887, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.372, allocations: 201.4 MB / 1.409 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.372, allocations: 88 kB / 1.409 GB, free: 15.8 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 10.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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.4923/1.865, allocations: 217.5 MB / 1.621 GB, free: 2.176 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.226e-06/1.865, allocations: 0 / 1.621 GB, free: 2.176 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002563/1.865, allocations: 75.98 kB / 1.622 GB, free: 2.102 MB / 1.026 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.009581/1.874, allocations: 3.422 MB / 1.625 GB, free: 14.58 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.875, allocations: 12.03 kB / 1.625 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/1.892, allocations: 3.206 MB / 1.628 GB, free: 11.35 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006138/1.898, allocations: 2.296 MB / 1.63 GB, free: 8.984 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.898, allocations: 76 kB / 1.63 GB, free: 8.91 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005808/1.899, allocations: 144 kB / 1.631 GB, free: 8.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005888/1.905, allocations: 3.387 MB / 1.634 GB, free: 5.375 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005874/1.91, allocations: 3.474 MB / 1.637 GB, free: 1.766 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/1.91, allocations: 4 kB / 1.637 GB, free: 1.762 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/1.911, allocations: 7.984 kB / 1.637 GB, free: 1.754 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/1.911, allocations: 144.8 kB / 1.637 GB, free: 1.609 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02595/1.937, allocations: 13.85 MB / 1.651 GB, free: 2.605 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/1.944, allocations: 2.757 MB / 1.654 GB, free: 15.84 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/1.945, allocations: 1.003 MB / 1.655 GB, free: 14.83 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/1.945, allocations: 29.27 kB / 1.655 GB, free: 14.8 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/1.947, allocations: 1.297 MB / 1.656 GB, free: 13.45 MB / 1.073 GB Notification: Performance of pre-optimization done (n=163): time 3.546e-06/1.947, allocations: 0 / 1.656 GB, free: 13.45 MB / 1.073 GB Notification: Performance of matching and sorting (n=250): time 0.02004/1.967, allocations: 7.545 MB / 1.663 GB, free: 5.867 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004569/1.968, allocations: 0.8983 MB / 1.664 GB, free: 4.762 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004178/1.972, allocations: 1.556 MB / 1.666 GB, free: 3.195 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005465/1.972, allocations: 37.69 kB / 1.666 GB, free: 3.152 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.975, allocations: 1.447 MB / 1.667 GB, free: 1.691 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.976, allocations: 0.7812 MB / 1.668 GB, free: 0.8984 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/1.976, allocations: 4 kB / 1.668 GB, free: 0.8945 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002547/1.977, allocations: 398.7 kB / 1.668 GB, free: 0.5 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.979, allocations: 1.203 MB / 1.669 GB, free: 15.29 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/1.981, allocations: 1.578 MB / 1.671 GB, free: 13.58 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/1.983, allocations: 1.3 MB / 1.672 GB, free: 12.26 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.983, allocations: 4 kB / 1.672 GB, free: 12.25 MB / 1.089 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009612/1.993, allocations: 4.374 MB / 1.676 GB, free: 7.824 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001231/1.994, allocations: 2.408 MB / 1.679 GB, free: 5.195 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.994, allocations: 4 kB / 1.679 GB, free: 5.191 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/2, allocations: 1.606 MB / 1.68 GB, free: 3.578 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/2.003, allocations: 0.5929 MB / 1.681 GB, free: 2.984 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/2.017, allocations: 8.988 MB / 1.69 GB, free: 9.844 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004417/2.022, allocations: 367.5 kB / 1.69 GB, free: 9.484 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000582/2.022, allocations: 91.97 kB / 1.69 GB, free: 9.395 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/2.023, allocations: 4 kB / 1.69 GB, free: 9.391 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008031/2.031, allocations: 3.681 MB / 1.694 GB, free: 5.66 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/2.031, allocations: 4 kB / 1.694 GB, free: 5.656 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003746/2.034, allocations: 1.41 MB / 1.695 GB, free: 4.242 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/2.038, allocations: 0.6359 MB / 1.696 GB, free: 3.605 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/2.057, allocations: 11.76 MB / 1.707 GB, free: 7.602 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/2.062, allocations: 371.4 kB / 1.708 GB, free: 7.238 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006886/2.062, allocations: 95.92 kB / 1.708 GB, free: 7.145 MB / 1.12 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.0009811/2.063, allocations: 151.8 kB / 1.708 GB, free: 6.992 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/2.064, allocations: 300.5 kB / 1.708 GB, free: 6.695 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/2.066, allocations: 349.1 kB / 1.708 GB, free: 6.344 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/2.066, allocations: 28 kB / 1.709 GB, free: 6.316 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.185e-05/2.066, allocations: 8 kB / 1.709 GB, free: 6.309 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.432e-05/2.066, allocations: 11.95 kB / 1.709 GB, free: 6.297 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007261/2.073, allocations: 2.807 MB / 1.711 GB, free: 3.445 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/2.073, allocations: 7.953 kB / 1.711 GB, free: 3.438 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/2.076, allocations: 0.5189 MB / 1.712 GB, free: 2.918 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005701/2.082, allocations: 1.629 MB / 1.713 GB, free: 1.281 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/2.082, allocations: 15.97 kB / 1.713 GB, free: 1.266 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/2.104, allocations: 13.34 MB / 1.726 GB, free: 3.676 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/2.104, allocations: 3.938 kB / 1.726 GB, free: 3.672 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009836/2.114, allocations: 4.182 MB / 1.731 GB, free: 15.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/2.116, allocations: 0.6379 MB / 1.731 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009825/2.117, allocations: 4 kB / 1.731 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00359/2.121, allocations: 371.5 kB / 1.731 GB, free: 14.44 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009342/2.122, allocations: 306.6 kB / 1.732 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/2.122, allocations: 71.97 kB / 1.732 GB, free: 14.07 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002561/2.125, allocations: 1.165 MB / 1.733 GB, free: 12.89 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/2.125, allocations: 0 / 1.733 GB, free: 12.89 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005815/2.13, allocations: 1.402 MB / 1.734 GB, free: 11.49 MB / 1.151 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.0005205/2.131, allocations: 143 kB / 1.734 GB, free: 11.34 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0153/2.146, allocations: 7.36 MB / 1.742 GB, free: 3.824 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/2.146, allocations: 4 kB / 1.742 GB, free: 3.82 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006277/2.153, allocations: 2.677 MB / 1.744 GB, free: 1.121 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00578/2.159, allocations: 0.8733 MB / 1.745 GB, free: 264 kB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7612/2.92, allocations: 4.768 MB / 1.75 GB, free: 274.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/2.923, allocations: 2.322 MB / 1.752 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005268/2.928, allocations: 0.7172 MB / 1.753 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/2.929, allocations: 145.5 kB / 1.753 GB, free: 274.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.924e-06/2.929, allocations: 0 / 1.753 GB, free: 274.1 MB / 1.151 GB Notification: Performance of Templates: time 0.1379/3.067, allocations: 69.29 MB / 1.821 GB, free: 272.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)