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.206/2.206, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001125/0.001125, allocations: 180 kB / 0.4902 GB, free: 2.242 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.749/1.749, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.001102/0.001102, allocations: 98.92 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004825, allocations: 6.875 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.432, allocations: 202.1 MB / 1.427 GB, free: 88.84 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.432, allocations: 90.8 kB / 1.427 GB, free: 88.84 MB / 0.9167 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.4883/1.92, allocations: 219.8 MB / 1.641 GB, free: 11.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.685e-06/1.92, allocations: 0 / 1.641 GB, free: 11.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005552/1.921, allocations: 79.92 kB / 1.641 GB, free: 11.75 MB / 0.948 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.01361/1.935, allocations: 3.94 MB / 1.645 GB, free: 7.699 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.935, allocations: 12.55 kB / 1.645 GB, free: 7.688 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/1.952, allocations: 3.226 MB / 1.648 GB, free: 4.453 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008288/1.96, allocations: 2.316 MB / 1.651 GB, free: 2.066 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002653/1.961, allocations: 176.7 kB / 1.651 GB, free: 1.891 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/1.962, allocations: 235.9 kB / 1.651 GB, free: 1.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/1.979, allocations: 4.688 MB / 1.656 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/1.979, allocations: 11.88 kB / 1.656 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001234/1.981, allocations: 108 kB / 1.656 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/1.981, allocations: 144.8 kB / 1.656 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/1.997, allocations: 5.214 MB / 1.661 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02951/2.026, allocations: 14.38 MB / 1.675 GB, free: 7.789 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/2.038, allocations: 3.767 MB / 1.679 GB, free: 4.008 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/2.038, allocations: 29.27 kB / 1.679 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004846/2.043, allocations: 1.818 MB / 1.681 GB, free: 2.098 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=163): time 4.619e-06/2.043, allocations: 0 / 1.681 GB, free: 2.098 MB / 0.9792 GB Notification: Performance of matching and sorting (n=250): time 0.1269/2.17, allocations: 33.52 MB / 1.713 GB, free: 356 kB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005328/2.171, allocations: 0.8905 MB / 1.714 GB, free: 15.25 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/2.175, allocations: 1.981 MB / 1.716 GB, free: 13.26 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0004999/2.175, allocations: 81.7 kB / 1.716 GB, free: 13.17 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/2.177, allocations: 1.438 MB / 1.718 GB, free: 11.72 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/2.178, allocations: 0.8163 MB / 1.718 GB, free: 10.89 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/2.179, allocations: 52 kB / 1.718 GB, free: 10.84 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0002886/2.179, allocations: 394.7 kB / 1.719 GB, free: 10.45 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005355/2.184, allocations: 1.921 MB / 1.721 GB, free: 8.523 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005788/2.19, allocations: 2.324 MB / 1.723 GB, free: 6.062 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/2.196, allocations: 2.136 MB / 1.725 GB, free: 3.875 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/2.196, allocations: 4 kB / 1.725 GB, free: 3.871 MB / 1.026 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01755/2.213, allocations: 6.126 MB / 1.731 GB, free: 13.65 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001282/2.215, allocations: 2.452 MB / 1.733 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/2.215, allocations: 7.953 kB / 1.733 GB, free: 10.92 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00645/2.221, allocations: 1.789 MB / 1.735 GB, free: 9.125 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/2.224, allocations: 0.6007 MB / 1.736 GB, free: 8.523 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/2.239, allocations: 9.522 MB / 1.745 GB, free: 14.84 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/2.243, allocations: 411.5 kB / 1.745 GB, free: 14.44 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005159/2.244, allocations: 95.97 kB / 1.746 GB, free: 14.35 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/2.244, allocations: 4 kB / 1.746 GB, free: 14.34 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/2.259, allocations: 5.73 MB / 1.751 GB, free: 8.535 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/2.259, allocations: 11.94 kB / 1.751 GB, free: 8.523 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/2.264, allocations: 1.794 MB / 1.753 GB, free: 6.719 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/2.267, allocations: 0.6163 MB / 1.754 GB, free: 6.102 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/2.289, allocations: 14.01 MB / 1.767 GB, free: 7.816 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/2.293, allocations: 419.4 kB / 1.768 GB, free: 7.406 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006014/2.294, allocations: 91.92 kB / 1.768 GB, free: 7.316 MB / 1.073 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 (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.002773/2.296, allocations: 0.7963 MB / 1.768 GB, free: 6.504 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/2.298, allocations: 332.1 kB / 1.769 GB, free: 6.176 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/2.299, allocations: 392.1 kB / 1.769 GB, free: 5.785 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/2.299, allocations: 20 kB / 1.769 GB, free: 5.766 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-05/2.299, allocations: 16 kB / 1.769 GB, free: 5.75 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/2.299, allocations: 11.95 kB / 1.769 GB, free: 5.738 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/2.305, allocations: 3.188 MB / 1.772 GB, free: 2.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/2.305, allocations: 0 / 1.772 GB, free: 2.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002683/2.308, allocations: 0.5189 MB / 1.773 GB, free: 1.98 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005714/2.313, allocations: 1.688 MB / 1.774 GB, free: 292 kB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/2.314, allocations: 55.92 kB / 1.775 GB, free: 236 kB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/2.335, allocations: 14.55 MB / 1.789 GB, free: 1.41 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.335, allocations: 7.984 kB / 1.789 GB, free: 1.402 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/2.35, allocations: 5.76 MB / 1.794 GB, free: 11.61 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/2.353, allocations: 0.6687 MB / 1.795 GB, free: 10.91 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007541/2.353, allocations: 44 kB / 1.795 GB, free: 10.87 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003277/2.357, allocations: 411.6 kB / 1.795 GB, free: 10.47 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009089/2.358, allocations: 310.6 kB / 1.796 GB, free: 10.16 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/2.358, allocations: 67.97 kB / 1.796 GB, free: 10.1 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.00236/2.36, allocations: 1.521 MB / 1.797 GB, free: 8.578 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.41e-07/2.36, allocations: 0 / 1.797 GB, free: 8.578 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.004332/2.365, allocations: 1.586 MB / 1.799 GB, free: 6.992 MB / 1.104 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 (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.0004502/2.365, allocations: 187 kB / 1.799 GB, free: 6.797 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02245/2.388, allocations: 9.69 MB / 1.808 GB, free: 12.93 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/2.388, allocations: 7.938 kB / 1.808 GB, free: 12.92 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.009405/2.397, allocations: 3.507 MB / 1.812 GB, free: 9.383 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006654/2.404, allocations: 1.011 MB / 1.813 GB, free: 8.383 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/2.419, allocations: 7.572 MB / 1.82 GB, free: 0.793 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/2.422, allocations: 2.327 MB / 1.823 GB, free: 14.43 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.00346/2.425, allocations: 0.6309 MB / 1.823 GB, free: 13.8 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/2.426, allocations: 183.4 kB / 1.823 GB, free: 13.62 MB / 1.135 GB Notification: Performance of SimCode: time 1.633e-06/2.426, allocations: 0 / 1.823 GB, free: 13.62 MB / 1.135 GB Notification: Performance of Templates: time 0.6885/3.114, allocations: 72.49 MB / 1.894 GB, free: 284.4 MB / 1.167 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)