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.277/2.277, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001282/0.001282, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.00102/0.00102, allocations: 87.91 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.682e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2859, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.349, allocations: 202.1 MB / 1.416 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.35, allocations: 91.09 kB / 1.416 GB, free: 2.844 MB / 0.8698 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.5158/1.865, allocations: 218.6 MB / 1.63 GB, free: 10.76 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.293e-06/1.865, allocations: 4 kB / 1.63 GB, free: 10.75 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0004659/1.866, allocations: 79.92 kB / 1.63 GB, free: 10.68 MB / 1.089 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.01161/1.878, allocations: 3.418 MB / 1.633 GB, free: 7.156 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.878, allocations: 8.031 kB / 1.633 GB, free: 7.148 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/1.896, allocations: 3.198 MB / 1.636 GB, free: 3.941 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/1.908, allocations: 2.3 MB / 1.638 GB, free: 1.57 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/1.908, allocations: 176.7 kB / 1.639 GB, free: 1.395 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/1.911, allocations: 243.9 kB / 1.639 GB, free: 1.156 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/1.923, allocations: 3.819 MB / 1.643 GB, free: 13.2 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.994e-05/1.923, allocations: 4 kB / 1.643 GB, free: 13.19 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004323/1.924, allocations: 108 kB / 1.643 GB, free: 13.09 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/1.924, allocations: 148.8 kB / 1.643 GB, free: 12.94 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00685/1.931, allocations: 3.529 MB / 1.646 GB, free: 9.395 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02668/1.958, allocations: 14.37 MB / 1.66 GB, free: 9.848 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007976/1.966, allocations: 2.834 MB / 1.663 GB, free: 7.004 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/1.968, allocations: 1.046 MB / 1.664 GB, free: 5.953 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/1.968, allocations: 25.28 kB / 1.664 GB, free: 5.93 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002315/1.97, allocations: 1.358 MB / 1.665 GB, free: 4.508 MB / 1.12 GB Notification: Performance of pre-optimization done (n=163): time 4.649e-06/1.97, allocations: 0 / 1.665 GB, free: 4.508 MB / 1.12 GB Notification: Performance of matching and sorting (n=250): time 0.1406/2.111, allocations: 28.97 MB / 1.694 GB, free: 7.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004994/2.111, allocations: 0.9022 MB / 1.695 GB, free: 6.367 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/2.116, allocations: 1.947 MB / 1.697 GB, free: 4.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0006122/2.117, allocations: 85.69 kB / 1.697 GB, free: 4.32 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/2.118, allocations: 1.43 MB / 1.698 GB, free: 2.875 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/2.12, allocations: 0.8201 MB / 1.699 GB, free: 2.043 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/2.12, allocations: 44 kB / 1.699 GB, free: 2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002637/2.12, allocations: 402.6 kB / 1.699 GB, free: 1.602 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/2.123, allocations: 1.254 MB / 1.7 GB, free: 352 kB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8106/2.934, allocations: 1.651 MB / 1.702 GB, free: 278.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/2.936, allocations: 1.48 MB / 1.704 GB, free: 278.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/2.936, allocations: 5.406 kB / 1.704 GB, free: 278.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01168/2.948, allocations: 4.765 MB / 1.708 GB, free: 278.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006226/2.949, allocations: 2.454 MB / 1.711 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/2.949, allocations: 5.438 kB / 1.711 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007449/2.956, allocations: 1.761 MB / 1.712 GB, free: 275.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/2.96, allocations: 0.5907 MB / 1.713 GB, free: 275.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/2.976, allocations: 9.044 MB / 1.722 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/2.98, allocations: 415.1 kB / 1.722 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/2.981, allocations: 90.67 kB / 1.722 GB, free: 273.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/2.981, allocations: 3.312 kB / 1.722 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009613/2.991, allocations: 4.38 MB / 1.726 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/2.991, allocations: 5.594 kB / 1.726 GB, free: 273.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005127/2.996, allocations: 1.765 MB / 1.728 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/2.999, allocations: 0.6096 MB / 1.729 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/3.022, allocations: 13.25 MB / 1.742 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004928/3.027, allocations: 415.5 kB / 1.742 GB, free: 270.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000578/3.028, allocations: 87.47 kB / 1.742 GB, free: 270.5 MB / 1.151 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.0008691/3.029, allocations: 256.4 kB / 1.742 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008168/3.029, allocations: 338.3 kB / 1.743 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/3.031, allocations: 389.8 kB / 1.743 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/3.031, allocations: 24.47 kB / 1.743 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-05/3.031, allocations: 11.41 kB / 1.743 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/3.031, allocations: 13.33 kB / 1.743 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/3.036, allocations: 3.181 MB / 1.746 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/3.037, allocations: 2.469 kB / 1.746 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/3.039, allocations: 0.5197 MB / 1.747 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005942/3.045, allocations: 1.657 MB / 1.748 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004428/3.046, allocations: 58.77 kB / 1.749 GB, free: 269.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/3.066, allocations: 13.75 MB / 1.762 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/3.066, allocations: 3.719 kB / 1.762 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008288/3.075, allocations: 4.411 MB / 1.766 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/3.077, allocations: 0.672 MB / 1.767 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006467/3.077, allocations: 45.16 kB / 1.767 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003062/3.08, allocations: 413.4 kB / 1.767 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009556/3.081, allocations: 302.4 kB / 1.768 GB, free: 266.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/3.082, allocations: 72.39 kB / 1.768 GB, free: 266.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00242/3.084, allocations: 1.495 MB / 1.769 GB, free: 266.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.01e-07/3.084, allocations: 1.875 kB / 1.769 GB, free: 266.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005737/3.09, allocations: 1.584 MB / 1.771 GB, free: 266.2 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.0004997/3.09, allocations: 192.2 kB / 1.771 GB, free: 266.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01386/3.104, allocations: 7.711 MB / 1.778 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/3.104, allocations: 3.25 kB / 1.778 GB, free: 264.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005115/3.109, allocations: 2.801 MB / 1.781 GB, free: 263.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/3.114, allocations: 1.009 MB / 1.782 GB, free: 263.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008955/3.123, allocations: 4.919 MB / 1.787 GB, free: 261.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/3.125, allocations: 2.328 MB / 1.789 GB, free: 260.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004075/3.129, allocations: 0.7585 MB / 1.79 GB, free: 260.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/3.13, allocations: 152 kB / 1.79 GB, free: 260.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.292e-06/3.13, allocations: 3.5 kB / 1.79 GB, free: 260.3 MB / 1.151 GB Notification: Performance of Templates: time 0.12/3.25, allocations: 76.8 MB / 1.865 GB, free: 257.4 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)