Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 390.5 MB / 398 MB, free: 10.98 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.001701/0.001701, allocations: 180.8 kB / 491.2 MB, free: 1.59 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.587/1.587, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001092/0.001092, allocations: 95.56 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.408e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9859/1.261, allocations: 201.5 MB / 1.409 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.261, allocations: 87.02 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.5151/1.776, allocations: 219.1 MB / 1.623 GB, free: 496 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.124e-06/1.776, allocations: 0 / 1.623 GB, free: 496 kB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0003191/1.777, allocations: 79.92 kB / 1.623 GB, free: 416 kB / 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.01172/1.788, allocations: 3.687 MB / 1.627 GB, free: 12.62 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.788, allocations: 12.03 kB / 1.627 GB, free: 12.61 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/1.806, allocations: 3.21 MB / 1.63 GB, free: 9.387 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007998/1.814, allocations: 2.558 MB / 1.632 GB, free: 6.758 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/1.814, allocations: 377.8 kB / 1.633 GB, free: 6.324 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/1.815, allocations: 143.9 kB / 1.633 GB, free: 6.184 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0066/1.822, allocations: 3.454 MB / 1.636 GB, free: 2.723 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006445/1.828, allocations: 3.587 MB / 1.64 GB, free: 15 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/1.828, allocations: 7.922 kB / 1.64 GB, free: 14.99 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003045/1.829, allocations: 8 kB / 1.64 GB, free: 14.98 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/1.829, allocations: 148.8 kB / 1.64 GB, free: 14.84 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/1.855, allocations: 14.33 MB / 1.654 GB, free: 15.35 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/1.86, allocations: 2.614 MB / 1.657 GB, free: 12.73 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.862, allocations: 1.062 MB / 1.658 GB, free: 11.66 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/1.862, allocations: 21.3 kB / 1.658 GB, free: 11.64 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002926/1.865, allocations: 1.374 MB / 1.659 GB, free: 10.2 MB / 1.073 GB Notification: Performance of pre-optimization done (n=163): time 9.107e-06/1.865, allocations: 7.922 kB / 1.659 GB, free: 10.19 MB / 1.073 GB Notification: Performance of matching and sorting (n=250): time 0.04194/1.907, allocations: 8.494 MB / 1.667 GB, free: 1.664 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005996/1.907, allocations: 0.9022 MB / 1.668 GB, free: 0.5547 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006116/1.914, allocations: 1.56 MB / 1.67 GB, free: 14.98 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.915, allocations: 37.7 kB / 1.67 GB, free: 14.94 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.002671/1.917, allocations: 1.439 MB / 1.671 GB, free: 13.49 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/1.919, allocations: 0.7928 MB / 1.672 GB, free: 12.68 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006695/1.92, allocations: 0 / 1.672 GB, free: 12.68 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0003546/1.92, allocations: 402.7 kB / 1.672 GB, free: 12.29 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004374/1.925, allocations: 1.36 MB / 1.674 GB, free: 10.92 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004924/1.93, allocations: 1.735 MB / 1.675 GB, free: 9.055 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/1.933, allocations: 1.429 MB / 1.677 GB, free: 7.605 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/1.933, allocations: 4 kB / 1.677 GB, free: 7.602 MB / 1.089 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01458/1.947, allocations: 5.077 MB / 1.682 GB, free: 2.461 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/1.948, allocations: 144.5 kB / 1.682 GB, free: 2.289 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.948, allocations: 4 kB / 1.682 GB, free: 2.285 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/1.958, allocations: 2.793 MB / 1.684 GB, free: 15.49 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/1.961, allocations: 0.5696 MB / 1.685 GB, free: 14.92 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03494/1.996, allocations: 16.4 MB / 1.701 GB, free: 14.27 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004722/2.001, allocations: 375.5 kB / 1.701 GB, free: 13.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006585/2.001, allocations: 91.97 kB / 1.702 GB, free: 13.81 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 (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.001055/2.003, allocations: 159.4 kB / 1.702 GB, free: 13.65 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/2.004, allocations: 308.4 kB / 1.702 GB, free: 13.35 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/2.005, allocations: 325.2 kB / 1.702 GB, free: 13.02 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/2.005, allocations: 24 kB / 1.702 GB, free: 13 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-05/2.005, allocations: 8 kB / 1.702 GB, free: 12.99 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-05/2.005, allocations: 19.91 kB / 1.702 GB, free: 12.97 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/2.011, allocations: 3.27 MB / 1.706 GB, free: 9.656 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/2.011, allocations: 4 kB / 1.706 GB, free: 9.652 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/2.014, allocations: 0.4994 MB / 1.706 GB, free: 9.152 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009697/2.024, allocations: 2.769 MB / 1.709 GB, free: 6.371 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000734/2.024, allocations: 23.92 kB / 1.709 GB, free: 6.348 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03489/2.059, allocations: 16.39 MB / 1.725 GB, free: 5.707 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/2.059, allocations: 3.984 kB / 1.725 GB, free: 5.703 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/2.072, allocations: 4.901 MB / 1.73 GB, free: 0.7812 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/2.074, allocations: 0.673 MB / 1.73 GB, free: 88 kB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/2.075, allocations: 8.547 kB / 1.73 GB, free: 80 kB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/2.079, allocations: 375.5 kB / 1.731 GB, free: 15.71 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/2.08, allocations: 374.7 kB / 1.731 GB, free: 15.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/2.08, allocations: 67.97 kB / 1.731 GB, free: 15.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002807/2.083, allocations: 1.161 MB / 1.732 GB, free: 14.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/2.083, allocations: 0 / 1.732 GB, free: 14.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004368/2.088, allocations: 0.9413 MB / 1.733 GB, free: 13.16 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 (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.0005851/2.088, allocations: 143 kB / 1.733 GB, free: 13.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01691/2.105, allocations: 5.199 MB / 1.738 GB, free: 7.727 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/2.105, allocations: 11.94 kB / 1.738 GB, free: 7.715 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01444/2.12, allocations: 3.34 MB / 1.742 GB, free: 4.352 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/2.125, allocations: 0.8683 MB / 1.742 GB, free: 3.492 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7004/2.826, allocations: 4.896 MB / 1.747 GB, free: 274.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/2.829, allocations: 2.295 MB / 1.749 GB, free: 273.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003374/2.832, allocations: 485.2 kB / 1.75 GB, free: 273.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/2.833, allocations: 162.2 kB / 1.75 GB, free: 273.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.804e-06/2.833, allocations: 2.812 kB / 1.75 GB, free: 273.9 MB / 1.151 GB Notification: Performance of Templates: time 0.1348/2.968, allocations: 65.41 MB / 1.814 GB, free: 272.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)