Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001456/0.001456, allocations: 116.3 kB / 16.42 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 184.8 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 289.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9954/0.9954, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 91.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.43, allocations: 86.98 MB / 0.7671 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02604/0.4561, allocations: 22.62 MB / 0.7892 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.4819, allocations: 17.63 MB / 0.8064 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.4852, allocations: 111.4 kB / 0.8065 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.496, allocations: 4.181 MB / 0.8106 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.5071, allocations: 3.501 MB / 0.814 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.5109, allocations: 1.323 MB / 0.8153 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009001/0.5199, allocations: 5.791 MB / 0.8209 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00524/0.5252, allocations: 3.583 MB / 0.8244 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004878/0.5301, allocations: 2.484 MB / 0.8269 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005115/0.5352, allocations: 2.444 MB / 0.8293 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.5364, allocations: 368 kB / 0.8296 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.5392, allocations: 1.041 MB / 0.8306 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.5404, allocations: 1.192 MB / 0.8318 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.5432, allocations: 1.994 MB / 0.8337 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006131/0.5493, allocations: 5.182 MB / 0.8388 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.5493, allocations: 0 / 0.8388 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.003e-06/0.5494, allocations: 0 / 0.8388 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001448/0.5495, allocations: 0 / 0.8388 GB, free: 10.07 MB / 0.6075 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.01103/0.5605, allocations: 4.612 MB / 0.8433 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.5606, allocations: 8.031 kB / 0.8433 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.577, allocations: 3.269 MB / 0.8465 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004941/0.582, allocations: 2.224 MB / 0.8487 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004448/0.5825, allocations: 470.3 kB / 0.8491 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007977/0.5833, allocations: 235.9 kB / 0.8493 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.5951, allocations: 4.812 MB / 0.854 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.5952, allocations: 4 kB / 0.8541 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.5955, allocations: 104 kB / 0.8542 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.5957, allocations: 168.8 kB / 0.8543 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.6099, allocations: 5.206 MB / 0.8594 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02354/0.6335, allocations: 14.38 MB / 0.8734 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009907/0.6434, allocations: 3.383 MB / 0.8767 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/0.6471, allocations: 1.471 MB / 0.8782 GB, free: 148 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.6473, allocations: 33.27 kB / 0.8782 GB, free: 112 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004272/0.6515, allocations: 1.794 MB / 0.88 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 3.907e-06/0.6516, allocations: 0 / 0.88 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.13/0.7816, allocations: 28.24 MB / 0.9075 GB, free: 1.781 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003015/0.7819, allocations: 0.4967 MB / 0.908 GB, free: 1.176 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004751/0.7867, allocations: 2.3 MB / 0.9103 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005038/0.7872, allocations: 77.7 kB / 0.9104 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.7886, allocations: 1.426 MB / 0.9117 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.7898, allocations: 0.8239 MB / 0.9125 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.7911, allocations: 416.4 kB / 0.9129 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7912, allocations: 305.1 kB / 0.9132 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005378/0.7966, allocations: 1.933 MB / 0.9151 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005735/0.8024, allocations: 2.231 MB / 0.9173 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.8133, allocations: 4.161 MB / 0.9214 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.8134, allocations: 0 / 0.9214 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01939/0.8328, allocations: 6.535 MB / 0.9277 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.8329, allocations: 154.8 kB / 0.9279 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.833, allocations: 8 kB / 0.9279 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.8431, allocations: 2.918 MB / 0.9308 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/0.8461, allocations: 487.2 kB / 0.9312 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04007/0.8862, allocations: 18.84 MB / 0.9496 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/0.8906, allocations: 319.6 kB / 0.9499 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005485/0.8912, allocations: 87.97 kB / 0.95 GB, free: 5.531 MB / 0.7169 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.001797/0.893, allocations: 0.7112 MB / 0.9507 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000867/0.8939, allocations: 328.2 kB / 0.951 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009778/0.8949, allocations: 384.1 kB / 0.9514 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.8949, allocations: 23.88 kB / 0.9514 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.8949, allocations: 0 / 0.9514 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/0.8963, allocations: 0.6961 MB / 0.9521 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000711/0.8971, allocations: 48 kB / 0.9521 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003501/0.9006, allocations: 315.6 kB / 0.9524 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/0.9017, allocations: 413.3 kB / 0.9528 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02124/0.923, allocations: 6.182 MB / 0.9589 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02413/0.9472, allocations: 6.505 MB / 0.9652 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007798/0.955, allocations: 2.143 MB / 0.9673 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004629/0.9597, allocations: 1.532 MB / 0.9688 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of Backend: time 6.41e-07/0.9597, allocations: 0 / 0.9688 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3689/1.329, allocations: 5.117 MB / 0.9738 GB, free: 189.7 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0122/1.341, allocations: 7.586 MB / 0.9812 GB, free: 186.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.09936/1.44, allocations: 78.96 MB / 1.058 GB, free: 120.6 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)