Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 198.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 77.77 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2389, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02456/0.2635, allocations: 22.43 MB / 0.806 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02741/0.2909, allocations: 17.73 MB / 0.8234 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002786/0.2937, allocations: 115.4 kB / 0.8235 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0105/0.3043, allocations: 4.16 MB / 0.8275 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.3151, allocations: 3.516 MB / 0.831 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.3187, allocations: 1.317 MB / 0.8322 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008309/0.3271, allocations: 5.78 MB / 0.8379 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006555/0.3336, allocations: 3.588 MB / 0.8414 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.3386, allocations: 2.406 MB / 0.8437 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005365/0.344, allocations: 2.455 MB / 0.8461 GB, free: 12.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001751/0.3458, allocations: 368 kB / 0.8465 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.3491, allocations: 1.034 MB / 0.8475 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/0.3511, allocations: 1.199 MB / 0.8487 GB, free: 10.37 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003745/0.3549, allocations: 1.994 MB / 0.8506 GB, free: 8.367 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.3611, allocations: 5.175 MB / 0.8557 GB, free: 3.176 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3612, allocations: 4 kB / 0.8557 GB, free: 3.172 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3612, allocations: 3.984 kB / 0.8557 GB, free: 3.168 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001022/0.3613, allocations: 0 / 0.8557 GB, free: 3.168 MB / 0.67 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.01015/0.3715, allocations: 4.612 MB / 0.8602 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3715, allocations: 8.031 kB / 0.8602 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.3873, allocations: 3.265 MB / 0.8634 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/0.3925, allocations: 2.224 MB / 0.8656 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/0.393, allocations: 466.3 kB / 0.866 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007145/0.3937, allocations: 239.9 kB / 0.8662 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.4049, allocations: 4.806 MB / 0.8709 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.405, allocations: 0 / 0.8709 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/0.4053, allocations: 112 kB / 0.871 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/0.4055, allocations: 172.8 kB / 0.8712 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.4191, allocations: 5.202 MB / 0.8763 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.4407, allocations: 14.38 MB / 0.8903 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009507/0.4502, allocations: 3.395 MB / 0.8936 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.4539, allocations: 1.471 MB / 0.8951 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.4541, allocations: 25.23 kB / 0.8951 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004352/0.4585, allocations: 1.795 MB / 0.8968 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 3.988e-06/0.4585, allocations: 4 kB / 0.8969 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.5986/1.057, allocations: 28.21 MB / 0.9244 GB, free: 127.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.057, allocations: 0.4915 MB / 0.9249 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003275/1.061, allocations: 2.3 MB / 0.9271 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004862/1.061, allocations: 76.22 kB / 0.9272 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.062, allocations: 1.43 MB / 0.9286 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/1.063, allocations: 0.8197 MB / 0.9294 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009337/1.064, allocations: 422.7 kB / 0.9298 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/1.064, allocations: 305.7 kB / 0.9301 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/1.07, allocations: 1.93 MB / 0.932 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005925/1.076, allocations: 2.234 MB / 0.9342 GB, free: 122.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/1.088, allocations: 4.156 MB / 0.9382 GB, free: 121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/1.088, allocations: 2.344 kB / 0.9382 GB, free: 121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02065/1.108, allocations: 6.535 MB / 0.9446 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.882e-05/1.108, allocations: 147.4 kB / 0.9447 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.108, allocations: 11.67 kB / 0.9448 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00989/1.118, allocations: 2.928 MB / 0.9476 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/1.121, allocations: 489.8 kB / 0.9481 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03558/1.157, allocations: 18.83 MB / 0.9665 GB, free: 107 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/1.161, allocations: 322.4 kB / 0.9668 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/1.161, allocations: 88.47 kB / 0.9669 GB, free: 106.9 MB / 0.7325 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001561/1.163, allocations: 0.7042 MB / 0.9676 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006876/1.164, allocations: 335.6 kB / 0.9679 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/1.164, allocations: 379.4 kB / 0.9682 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/1.164, allocations: 23.72 kB / 0.9683 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.408e-05/1.164, allocations: 11 kB / 0.9683 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.164, allocations: 15.95 kB / 0.9683 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003978/1.168, allocations: 3.627 MB / 0.9718 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.168, allocations: 0 / 0.9718 GB, free: 103.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.171, allocations: 419 kB / 0.9722 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008364/1.179, allocations: 2.873 MB / 0.975 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00037/1.179, allocations: 53.56 kB / 0.9751 GB, free: 102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03196/1.211, allocations: 18.62 MB / 0.9933 GB, free: 83.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.211, allocations: 7.828 kB / 0.9933 GB, free: 83.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/1.227, allocations: 6.165 MB / 0.9993 GB, free: 77.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.229, allocations: 0.6961 MB / 1 GB, free: 76.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005302/1.229, allocations: 48 kB / 1 GB, free: 76.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.232, allocations: 317.3 kB / 1 GB, free: 76.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/1.233, allocations: 354.7 kB / 1.001 GB, free: 75.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001965/1.234, allocations: 75.97 kB / 1.001 GB, free: 75.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001778/1.235, allocations: 1.532 MB / 1.002 GB, free: 74.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.235, allocations: 0 / 1.002 GB, free: 74.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002545/1.238, allocations: 1.047 MB / 1.003 GB, free: 73.11 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003591/1.238, allocations: 167 kB / 1.003 GB, free: 72.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0202/1.258, allocations: 6.473 MB / 1.01 GB, free: 66.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.259, allocations: 4 kB / 1.01 GB, free: 66.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01619/1.275, allocations: 4.043 MB / 1.014 GB, free: 62.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/1.28, allocations: 1.139 MB / 1.015 GB, free: 61.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.293, allocations: 6.701 MB / 1.021 GB, free: 54.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/1.295, allocations: 2.234 MB / 1.024 GB, free: 52.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002324/1.297, allocations: 0.5128 MB / 1.024 GB, free: 51.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/1.298, allocations: 187.4 kB / 1.024 GB, free: 51.58 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/1.298, allocations: 0 / 1.024 GB, free: 51.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.1105/1.408, allocations: 74.85 MB / 1.097 GB, free: 9.73 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)