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 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.61/1.61, allocations: 297.8 MB / 313.8 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001266, allocations: 183.2 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007228/0.000723, allocations: 105.3 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 16.69 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5261, allocations: 120.3 MB / 1.026 GB, free: 56.69 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/0.7419, allocations: 193.4 MB / 1.215 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.7422, allocations: 93.2 kB / 1.215 GB, free: 12.65 MB / 0.7917 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.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.7872/1.529, allocations: 159.4 MB / 1.371 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.815e-06/1.529, allocations: 0 / 1.371 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004763/1.53, allocations: 83.34 kB / 1.371 GB, free: 169.1 MB / 0.8855 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.01321/1.543, allocations: 4.167 MB / 1.375 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.543, allocations: 9.094 kB / 1.375 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/1.56, allocations: 3.232 MB / 1.378 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008982/1.569, allocations: 2.678 MB / 1.381 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004473/1.57, allocations: 468.6 kB / 1.381 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/1.571, allocations: 239.6 kB / 1.382 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/1.586, allocations: 4.835 MB / 1.386 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/1.586, allocations: 5.062 kB / 1.386 GB, free: 164.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008848/1.587, allocations: 100.9 kB / 1.386 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/1.587, allocations: 148.7 kB / 1.387 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/1.601, allocations: 5.303 MB / 1.392 GB, free: 163 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02552/1.626, allocations: 14.88 MB / 1.406 GB, free: 152.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009463/1.636, allocations: 3.62 MB / 1.41 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003562/1.639, allocations: 1.588 MB / 1.411 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.64, allocations: 30.31 kB / 1.411 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003676/1.643, allocations: 1.915 MB / 1.413 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=163): time 3.347e-06/1.643, allocations: 0 / 1.413 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=250): time 0.106/1.749, allocations: 34.35 MB / 1.447 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/1.75, allocations: 0.8957 MB / 1.448 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/1.752, allocations: 2.294 MB / 1.45 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002471/1.752, allocations: 83.55 kB / 1.45 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008687/1.753, allocations: 1.429 MB / 1.451 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005034/1.754, allocations: 0.8228 MB / 1.452 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/1.754, allocations: 46.53 kB / 1.452 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/1.754, allocations: 398.2 kB / 1.453 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004158/1.758, allocations: 2.112 MB / 1.455 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/1.763, allocations: 2.517 MB / 1.457 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008304/1.771, allocations: 4.531 MB / 1.462 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.771, allocations: 7.609 kB / 1.462 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01494/1.786, allocations: 6.906 MB / 1.468 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/1.786, allocations: 152.2 kB / 1.468 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.786, allocations: 4 kB / 1.468 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007893/1.794, allocations: 2.95 MB / 1.471 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/1.796, allocations: 0.5767 MB / 1.472 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/1.825, allocations: 17.33 MB / 1.489 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/1.829, allocations: 440.7 kB / 1.489 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/1.83, allocations: 87.94 kB / 1.489 GB, free: 116 MB / 0.8855 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 (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.001561/1.831, allocations: 0.7214 MB / 1.49 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/1.832, allocations: 328.2 kB / 1.49 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005167/1.832, allocations: 377.8 kB / 1.491 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.832, allocations: 24 kB / 1.491 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/1.832, allocations: 12 kB / 1.491 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.832, allocations: 15 kB / 1.491 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/1.836, allocations: 3.654 MB / 1.494 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/1.836, allocations: 0 / 1.494 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/1.838, allocations: 0.5093 MB / 1.495 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007516/1.846, allocations: 2.87 MB / 1.498 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/1.846, allocations: 46.33 kB / 1.498 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02807/1.874, allocations: 17.16 MB / 1.514 GB, free: 92.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.874, allocations: 4 kB / 1.514 GB, free: 92.25 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.889, allocations: 6.548 MB / 1.521 GB, free: 85.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/1.892, allocations: 0.7 MB / 1.521 GB, free: 84.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006604/1.892, allocations: 59.98 kB / 1.522 GB, free: 84.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.895, allocations: 411.6 kB / 1.522 GB, free: 84.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/1.896, allocations: 370.6 kB / 1.522 GB, free: 84.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/1.896, allocations: 71.97 kB / 1.522 GB, free: 84.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001908/1.898, allocations: 1.517 MB / 1.524 GB, free: 82.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.898, allocations: 7.938 kB / 1.524 GB, free: 82.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00267/1.901, allocations: 1.059 MB / 1.525 GB, free: 81.46 MB / 0.8855 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 (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.0003926/1.901, allocations: 193 kB / 1.525 GB, free: 81.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01839/1.92, allocations: 6.841 MB / 1.532 GB, free: 74.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.92, allocations: 7.969 kB / 1.532 GB, free: 74.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01377/1.934, allocations: 4.204 MB / 1.536 GB, free: 70.11 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005084/1.939, allocations: 1.031 MB / 1.537 GB, free: 69.13 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.951, allocations: 7.749 MB / 1.544 GB, free: 61.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.953, allocations: 2.227 MB / 1.547 GB, free: 59.11 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002866/1.956, allocations: 0.5119 MB / 1.547 GB, free: 58.62 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/1.957, allocations: 183.3 kB / 1.547 GB, free: 58.44 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/1.957, allocations: 0 / 1.547 GB, free: 58.44 MB / 0.8855 GB Notification: Performance of Templates: time 0.09884/2.055, allocations: 72.15 MB / 1.618 GB, free: 3.363 MB / 0.9011 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 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)