Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001153/0.001153, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 284.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.921/0.921, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 95.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4641, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008441/0.4726, allocations: 6.806 MB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004966/0.4776, allocations: 3.051 MB / 0.7767 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.4781, allocations: 23.88 kB / 0.7767 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.4805, allocations: 0.9549 MB / 0.7776 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.4817, allocations: 0.5011 MB / 0.7781 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.4827, allocations: 453.9 kB / 0.7786 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.484, allocations: 1.232 MB / 0.7798 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008758/0.4849, allocations: 0.6506 MB / 0.7804 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/0.4856, allocations: 486.2 kB / 0.7809 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007028/0.4863, allocations: 0.5137 MB / 0.7814 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4864, allocations: 68 kB / 0.7814 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007136/0.4871, allocations: 375.3 kB / 0.7818 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.4874, allocations: 315.2 kB / 0.7821 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.4878, allocations: 449.7 kB / 0.7825 GB, free: 4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.4891, allocations: 1.225 MB / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.4891, allocations: 0 / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4892, allocations: 0 / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.4892, allocations: 0 / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001914/0.4911, allocations: 1.168 MB / 0.7849 GB, free: 1.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4911, allocations: 8.031 kB / 0.7849 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.4927, allocations: 239.5 kB / 0.7851 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008828/0.4936, allocations: 0.6037 MB / 0.7857 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.4936, allocations: 53.67 kB / 0.7857 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-05/0.4937, allocations: 60.36 kB / 0.7858 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.4952, allocations: 1.085 MB / 0.7869 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.4953, allocations: 7.938 kB / 0.7869 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.4954, allocations: 31.98 kB / 0.7869 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.4955, allocations: 89.25 kB / 0.787 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4966, allocations: 0.7504 MB / 0.7877 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.5019, allocations: 5.878 MB / 0.7934 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009572/0.5029, allocations: 0.5612 MB / 0.794 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.5033, allocations: 334 kB / 0.7943 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.5034, allocations: 8.375 kB / 0.7943 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.5034, allocations: 39 kB / 0.7944 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.085e-06/0.5034, allocations: 4 kB / 0.7944 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003777/0.5072, allocations: 1.986 MB / 0.7963 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5072, allocations: 55.84 kB / 0.7964 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/0.5079, allocations: 0.5587 MB / 0.7969 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.5079, allocations: 37.7 kB / 0.7969 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.5082, allocations: 414.9 kB / 0.7973 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.5083, allocations: 173.6 kB / 0.7975 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.5085, allocations: 126.4 kB / 0.7976 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5087, allocations: 378.7 kB / 0.798 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.5091, allocations: 273.8 kB / 0.7982 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.5096, allocations: 493 kB / 0.7987 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5107, allocations: 0.8171 MB / 0.7995 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5107, allocations: 0 / 0.7995 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001765/0.5125, allocations: 1.091 MB / 0.8006 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5125, allocations: 8 kB / 0.8006 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5125, allocations: 8 kB / 0.8006 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008619/0.5134, allocations: 283.3 kB / 0.8009 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.5139, allocations: 127.8 kB / 0.801 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006504/0.5204, allocations: 7.13 MB / 0.8079 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.521, allocations: 35.95 kB / 0.808 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.5211, allocations: 32 kB / 0.808 GB, free: 8.328 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003699/0.5215, allocations: 256.6 kB / 0.8083 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5216, allocations: 83.03 kB / 0.8083 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.5231, allocations: 0.8809 MB / 0.8092 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5231, allocations: 3.938 kB / 0.8092 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5231, allocations: 0 / 0.8092 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.5234, allocations: 196.2 kB / 0.8094 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.5235, allocations: 12 kB / 0.8094 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5238, allocations: 19.97 kB / 0.8094 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.5239, allocations: 48.36 kB / 0.8095 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00203/0.5259, allocations: 0.9553 MB / 0.8104 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001197/0.5271, allocations: 1.033 MB / 0.8114 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003427/0.5275, allocations: 267.3 kB / 0.8117 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004492/0.5279, allocations: 391.1 kB / 0.812 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of Backend: time 7.82e-07/0.5279, allocations: 3.938 kB / 0.812 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.5305, allocations: 1.314 MB / 0.8133 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of SimCode: time 0.002726/0.5333, allocations: 1.953 MB / 0.8152 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of Templates: time 0.02223/0.5555, allocations: 13.21 MB / 0.8281 GB, free: 3.676 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)