Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.442/2.442, allocations: 391.2 MB / 407 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 187.5 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 114.8 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 50.91 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007309/0.2992, allocations: 6.773 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.304, allocations: 3.091 MB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008894/0.3049, allocations: 27.81 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.3072, allocations: 0.887 MB / 1.229 GB, free: 106.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.3086, allocations: 469.7 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3098, allocations: 407.2 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.3113, allocations: 1.61 MB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009393/0.3122, allocations: 0.6424 MB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000558/0.3128, allocations: 434.2 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.3134, allocations: 0.5293 MB / 1.233 GB, free: 102.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.948e-05/0.3135, allocations: 44 kB / 1.233 GB, free: 102.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007739/0.3142, allocations: 459 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.3145, allocations: 283.2 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.3148, allocations: 433.7 kB / 1.234 GB, free: 101.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.3157, allocations: 1.211 MB / 1.235 GB, free: 99.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3158, allocations: 0 / 1.235 GB, free: 99.91 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3158, allocations: 0 / 1.235 GB, free: 99.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3158, allocations: 0 / 1.235 GB, free: 99.91 MB / 0.823 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.002001/0.3178, allocations: 1.161 MB / 1.236 GB, free: 98.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.3179, allocations: 19.92 kB / 1.236 GB, free: 98.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.3193, allocations: 243.6 kB / 1.236 GB, free: 98.44 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.3202, allocations: 0.553 MB / 1.237 GB, free: 97.85 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.3203, allocations: 53.67 kB / 1.237 GB, free: 97.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3204, allocations: 64.3 kB / 1.237 GB, free: 97.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.3217, allocations: 1.089 MB / 1.238 GB, free: 96.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.3218, allocations: 4 kB / 1.238 GB, free: 96.53 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.3219, allocations: 31.98 kB / 1.238 GB, free: 96.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.322, allocations: 85.25 kB / 1.238 GB, free: 96.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.323, allocations: 0.7542 MB / 1.239 GB, free: 95.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.3276, allocations: 5.897 MB / 1.245 GB, free: 89.33 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008497/0.3284, allocations: 0.5563 MB / 1.245 GB, free: 88.77 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.3288, allocations: 330 kB / 1.246 GB, free: 88.45 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.3288, allocations: 8.438 kB / 1.246 GB, free: 88.44 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.3289, allocations: 39 kB / 1.246 GB, free: 88.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.3289, allocations: 0 / 1.246 GB, free: 88.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.003193/0.3321, allocations: 1.982 MB / 1.247 GB, free: 86.31 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.3321, allocations: 59.83 kB / 1.248 GB, free: 86.24 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.3326, allocations: 0.5587 MB / 1.248 GB, free: 85.67 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3326, allocations: 37.7 kB / 1.248 GB, free: 85.63 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3328, allocations: 414.9 kB / 1.249 GB, free: 85.22 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.3329, allocations: 173.6 kB / 1.249 GB, free: 85.05 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.333, allocations: 122.5 kB / 1.249 GB, free: 84.92 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.3331, allocations: 390.6 kB / 1.249 GB, free: 84.53 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.3335, allocations: 273.8 kB / 1.249 GB, free: 84.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.3339, allocations: 0.4892 MB / 1.25 GB, free: 83.68 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.3346, allocations: 0.8132 MB / 1.251 GB, free: 82.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3346, allocations: 0 / 1.251 GB, free: 82.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001437/0.3361, allocations: 1.087 MB / 1.252 GB, free: 81.67 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3361, allocations: 9.094 kB / 1.252 GB, free: 81.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3361, allocations: 8 kB / 1.252 GB, free: 81.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/0.3369, allocations: 275.8 kB / 1.252 GB, free: 81.37 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.3373, allocations: 131.7 kB / 1.252 GB, free: 81.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.3416, allocations: 6.591 MB / 1.259 GB, free: 74.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006125/0.3423, allocations: 36.14 kB / 1.259 GB, free: 74.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.3423, allocations: 40.06 kB / 1.259 GB, free: 74.04 MB / 0.823 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.0002773/0.3426, allocations: 251.5 kB / 1.259 GB, free: 73.78 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.3427, allocations: 75.16 kB / 1.259 GB, free: 73.71 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.344, allocations: 0.8887 MB / 1.26 GB, free: 72.79 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.344, allocations: 4 kB / 1.26 GB, free: 72.79 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.344, allocations: 4 kB / 1.26 GB, free: 72.78 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.344, allocations: 3.984 kB / 1.26 GB, free: 72.78 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.346, allocations: 1.724 MB / 1.262 GB, free: 70.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3461, allocations: 3.938 kB / 1.262 GB, free: 70.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.3463, allocations: 64.06 kB / 1.262 GB, free: 70.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006219/0.3469, allocations: 275.1 kB / 1.262 GB, free: 70.62 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.347, allocations: 12 kB / 1.262 GB, free: 70.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/0.3511, allocations: 6.591 MB / 1.268 GB, free: 63.48 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3512, allocations: 0 / 1.268 GB, free: 63.48 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.353, allocations: 2.002 MB / 1.27 GB, free: 61.39 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.3533, allocations: 196.2 kB / 1.27 GB, free: 61.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.3533, allocations: 12 kB / 1.27 GB, free: 61.17 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.3537, allocations: 23.97 kB / 1.271 GB, free: 61.14 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3538, allocations: 47.88 kB / 1.271 GB, free: 61.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3539, allocations: 20.12 kB / 1.271 GB, free: 61.08 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003168/0.3542, allocations: 387.1 kB / 1.271 GB, free: 60.71 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3542, allocations: 0 / 1.271 GB, free: 60.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007877/0.355, allocations: 228 kB / 1.271 GB, free: 60.48 MB / 0.823 GB 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.0001198/0.3551, allocations: 112 kB / 1.271 GB, free: 60.37 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.3567, allocations: 1.268 MB / 1.273 GB, free: 59.05 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3567, allocations: 0 / 1.273 GB, free: 59.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.3576, allocations: 0.8971 MB / 1.273 GB, free: 58.11 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/0.3585, allocations: 205.4 kB / 1.274 GB, free: 57.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.3603, allocations: 1.938 MB / 1.275 GB, free: 55.91 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3607, allocations: 1.028 MB / 1.276 GB, free: 54.85 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003551/0.3611, allocations: 122 kB / 1.277 GB, free: 54.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3612, allocations: 43.44 kB / 1.277 GB, free: 54.69 MB / 0.823 GB Notification: Performance of SimCode: time 9.02e-07/0.3612, allocations: 0 / 1.277 GB, free: 54.69 MB / 0.823 GB Notification: Performance of Templates: time 0.01405/0.3753, allocations: 11.15 MB / 1.288 GB, free: 43.66 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)