Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001497/0.001498, allocations: 107.9 kB / 15.99 MB, free: 6.332 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.001668/0.001668, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7996/0.7996, allocations: 126.1 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 67.89 kB / 0.4945 GB, free: 3.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3948, allocations: 78.7 MB / 0.5713 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008617/0.4034, allocations: 6.795 MB / 0.578 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006053/0.4095, allocations: 3.039 MB / 0.5809 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/0.4104, allocations: 26.84 kB / 0.581 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.4129, allocations: 0.8995 MB / 0.5818 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.4144, allocations: 468.1 kB / 0.5823 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.4157, allocations: 405.3 kB / 0.5827 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.4173, allocations: 1.241 MB / 0.5839 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.4187, allocations: 0.7264 MB / 0.5846 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.4197, allocations: 481.6 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008631/0.4206, allocations: 0.5359 MB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.4207, allocations: 66.91 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008829/0.4216, allocations: 378.8 kB / 0.586 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.4219, allocations: 311.1 kB / 0.5863 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.4223, allocations: 453.1 kB / 0.5867 GB, free: 20.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.4235, allocations: 1.236 MB / 0.5879 GB, free: 20.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4235, allocations: 1.281 kB / 0.5879 GB, free: 20.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4235, allocations: 4.516 kB / 0.5879 GB, free: 20.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.4235, allocations: 4.969 kB / 0.5879 GB, free: 20.04 MB / 446.1 MB 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.001746/0.4253, allocations: 1.159 MB / 0.5891 GB, free: 19.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4253, allocations: 9 kB / 0.5891 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.4269, allocations: 242.6 kB / 0.5893 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/0.4276, allocations: 0.5513 MB / 0.5899 GB, free: 18.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.4277, allocations: 52.92 kB / 0.5899 GB, free: 18.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.703e-05/0.4278, allocations: 62.02 kB / 0.59 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.4291, allocations: 1.084 MB / 0.591 GB, free: 17.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.4292, allocations: 8.688 kB / 0.591 GB, free: 17.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.4292, allocations: 28.83 kB / 0.5911 GB, free: 17.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.4294, allocations: 90.94 kB / 0.5911 GB, free: 17.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.4304, allocations: 0.7499 MB / 0.5919 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.4343, allocations: 5.893 MB / 0.5976 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.4351, allocations: 0.5617 MB / 0.5982 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.4354, allocations: 326 kB / 0.5985 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.4355, allocations: 4.438 kB / 0.5985 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.4355, allocations: 43 kB / 0.5985 GB, free: 10.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.003e-06/0.4355, allocations: 0 / 0.5985 GB, free: 10.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003245/0.4388, allocations: 1.99 MB / 0.6005 GB, free: 8.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.4388, allocations: 55.84 kB / 0.6005 GB, free: 8.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.4393, allocations: 0.5665 MB / 0.6011 GB, free: 7.594 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.4393, allocations: 33.7 kB / 0.6011 GB, free: 7.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4395, allocations: 418.9 kB / 0.6015 GB, free: 7.137 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.099e-05/0.4396, allocations: 173.5 kB / 0.6017 GB, free: 6.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.4397, allocations: 126.6 kB / 0.6018 GB, free: 6.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.4398, allocations: 378.7 kB / 0.6022 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.4401, allocations: 269.8 kB / 0.6024 GB, free: 6.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.4405, allocations: 0.4931 MB / 0.6029 GB, free: 5.605 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.4412, allocations: 0.8055 MB / 0.6037 GB, free: 4.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4413, allocations: 3.938 kB / 0.6037 GB, free: 4.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00142/0.4427, allocations: 1.091 MB / 0.6048 GB, free: 3.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4427, allocations: 11.98 kB / 0.6048 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.4427, allocations: 8 kB / 0.6048 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007133/0.4434, allocations: 275.4 kB / 0.605 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.4439, allocations: 127.8 kB / 0.6052 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/0.4496, allocations: 7.149 MB / 0.6121 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.4503, allocations: 35.97 kB / 0.6122 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.4504, allocations: 31.98 kB / 0.6122 GB, free: 11.38 MB / 462.1 MB 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.0003746/0.4508, allocations: 258.5 kB / 0.6125 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4509, allocations: 71.16 kB / 0.6125 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.4524, allocations: 0.8847 MB / 0.6134 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.4524, allocations: 8 kB / 0.6134 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4524, allocations: 4 kB / 0.6134 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4524, allocations: 0 / 0.6134 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.455, allocations: 1.724 MB / 0.6151 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.455, allocations: 0 / 0.6151 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.4553, allocations: 63.83 kB / 0.6151 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/0.456, allocations: 267.4 kB / 0.6154 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.4561, allocations: 16.05 kB / 0.6154 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006564/0.4627, allocations: 7.118 MB / 0.6224 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4627, allocations: 7.969 kB / 0.6224 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4643, allocations: 0.9954 MB / 0.6233 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4647, allocations: 188.2 kB / 0.6235 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.4648, allocations: 12 kB / 0.6235 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.4651, allocations: 31.91 kB / 0.6236 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4653, allocations: 39.94 kB / 0.6236 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.4653, allocations: 16 kB / 0.6236 GB, free: 14.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00045/0.4658, allocations: 391.1 kB / 0.624 GB, free: 14.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4658, allocations: 0 / 0.624 GB, free: 14.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008455/0.4666, allocations: 224 kB / 0.6242 GB, free: 14.34 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.4668, allocations: 119.2 kB / 0.6243 GB, free: 14.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.4689, allocations: 1.338 MB / 0.6256 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4689, allocations: 0 / 0.6256 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4701, allocations: 0.8855 MB / 0.6265 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.4711, allocations: 224.8 kB / 0.6267 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.4735, allocations: 1.662 MB / 0.6283 GB, free: 9.961 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.4741, allocations: 1.005 MB / 0.6293 GB, free: 8.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004281/0.4745, allocations: 126 kB / 0.6294 GB, free: 8.805 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.4746, allocations: 43.44 kB / 0.6295 GB, free: 8.762 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4746, allocations: 3.938 kB / 0.6295 GB, free: 8.758 MB / 478.1 MB Notification: Performance of Templates: time 0.02068/0.4953, allocations: 11.24 MB / 0.6405 GB, free: 13.68 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)