Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 391.2 MB / 407 MB, free: 10.81 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.001646/0.001646, allocations: 197.5 kB / 499.1 MB, free: 4.691 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.534/1.534, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.001072/0.001072, allocations: 112.6 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 53.91 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3237, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006851/0.3307, allocations: 6.115 MB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.3355, allocations: 3.211 MB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.3362, allocations: 27.81 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.3383, allocations: 0.8682 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.3395, allocations: 441.9 kB / 1.229 GB, free: 106.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.3407, allocations: 470 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.342, allocations: 1.474 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008435/0.3429, allocations: 0.6268 MB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.3433, allocations: 390.3 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.3438, allocations: 486.1 kB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.24e-05/0.3439, allocations: 44 kB / 1.232 GB, free: 103.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009978/0.3449, allocations: 0.5809 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.3451, allocations: 279.2 kB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.3454, allocations: 381.9 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0009812/0.3464, allocations: 1.187 MB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3464, allocations: 0 / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3464, allocations: 0 / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.3465, allocations: 0 / 1.234 GB, free: 100.7 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001517/0.348, allocations: 1.063 MB / 1.235 GB, free: 99.55 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.348, allocations: 11.98 kB / 1.235 GB, free: 99.54 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3494, allocations: 219.7 kB / 1.236 GB, free: 99.33 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.3502, allocations: 0.5453 MB / 1.236 GB, free: 98.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.3503, allocations: 49.67 kB / 1.236 GB, free: 98.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/0.3503, allocations: 72.25 kB / 1.236 GB, free: 98.62 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.3516, allocations: 1.026 MB / 1.237 GB, free: 97.49 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.3516, allocations: 11.94 kB / 1.237 GB, free: 97.48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.3517, allocations: 27.98 kB / 1.237 GB, free: 97.45 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.666e-05/0.3518, allocations: 69.27 kB / 1.237 GB, free: 97.38 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009102/0.3527, allocations: 0.6957 MB / 1.238 GB, free: 96.69 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.3566, allocations: 5.752 MB / 1.244 GB, free: 90.51 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.3574, allocations: 0.5954 MB / 1.244 GB, free: 89.87 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.358, allocations: 420.6 kB / 1.245 GB, free: 89.45 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3581, allocations: 7.938 kB / 1.245 GB, free: 89.45 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3581, allocations: 34.56 kB / 1.245 GB, free: 89.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 3.987e-06/0.3581, allocations: 0 / 1.245 GB, free: 89.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.003874/0.362, allocations: 2.058 MB / 1.247 GB, free: 87.25 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.362, allocations: 59.39 kB / 1.247 GB, free: 87.18 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.3625, allocations: 458.8 kB / 1.247 GB, free: 86.72 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3626, allocations: 37.7 kB / 1.247 GB, free: 86.68 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.3628, allocations: 383 kB / 1.247 GB, free: 86.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.3629, allocations: 153.8 kB / 1.248 GB, free: 86.14 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.363, allocations: 110.2 kB / 1.248 GB, free: 86.03 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3631, allocations: 362.8 kB / 1.248 GB, free: 85.67 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.3634, allocations: 245.2 kB / 1.248 GB, free: 85.43 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.3638, allocations: 468.9 kB / 1.249 GB, free: 84.88 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.3646, allocations: 0.7556 MB / 1.25 GB, free: 84.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3646, allocations: 0 / 1.25 GB, free: 84.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001518/0.3661, allocations: 1.065 MB / 1.251 GB, free: 82.94 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3661, allocations: 8.875 kB / 1.251 GB, free: 82.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3661, allocations: 8 kB / 1.251 GB, free: 82.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/0.3671, allocations: 331.1 kB / 1.251 GB, free: 82.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.3674, allocations: 99.77 kB / 1.251 GB, free: 82.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.3725, allocations: 6.954 MB / 1.258 GB, free: 75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.373, allocations: 32.02 kB / 1.258 GB, free: 74.96 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.373, allocations: 24 kB / 1.258 GB, free: 74.94 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003619/0.3734, allocations: 246.2 kB / 1.258 GB, free: 74.69 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.3735, allocations: 59.53 kB / 1.258 GB, free: 74.63 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.375, allocations: 0.9238 MB / 1.259 GB, free: 73.69 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.375, allocations: 4 kB / 1.259 GB, free: 73.68 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.375, allocations: 7.938 kB / 1.259 GB, free: 73.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.375, allocations: 0 / 1.259 GB, free: 73.68 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.3772, allocations: 1.712 MB / 1.261 GB, free: 71.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3773, allocations: 0 / 1.261 GB, free: 71.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3774, allocations: 39.97 kB / 1.261 GB, free: 71.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008551/0.3783, allocations: 335.2 kB / 1.261 GB, free: 71.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.3783, allocations: 8 kB / 1.261 GB, free: 71.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004863/0.3832, allocations: 6.935 MB / 1.268 GB, free: 64.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3832, allocations: 0 / 1.268 GB, free: 64.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.3852, allocations: 2 MB / 1.27 GB, free: 61.93 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.3855, allocations: 180.2 kB / 1.27 GB, free: 61.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.3855, allocations: 8 kB / 1.27 GB, free: 61.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.3858, allocations: 27.97 kB / 1.27 GB, free: 61.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3859, allocations: 47.83 kB / 1.27 GB, free: 61.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.3859, allocations: 12.28 kB / 1.27 GB, free: 61.64 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000286/0.3862, allocations: 314.9 kB / 1.27 GB, free: 61.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3862, allocations: 0 / 1.27 GB, free: 61.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008688/0.3871, allocations: 195.9 kB / 1.271 GB, free: 61.14 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.3873, allocations: 112 kB / 1.271 GB, free: 61.03 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.3888, allocations: 1.199 MB / 1.272 GB, free: 59.78 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3888, allocations: 0 / 1.272 GB, free: 59.78 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009577/0.3898, allocations: 0.8579 MB / 1.273 GB, free: 58.87 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.3907, allocations: 193.6 kB / 1.273 GB, free: 58.68 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3926, allocations: 1.801 MB / 1.275 GB, free: 56.82 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3931, allocations: 1.004 MB / 1.276 GB, free: 55.79 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.3934, allocations: 97.28 kB / 1.276 GB, free: 55.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.3934, allocations: 47.3 kB / 1.276 GB, free: 55.65 MB / 0.823 GB Notification: Performance of SimCode: time 7.92e-07/0.3934, allocations: 4 kB / 1.276 GB, free: 55.64 MB / 0.823 GB Notification: Performance of Templates: time 0.01378/0.4072, allocations: 9.987 MB / 1.285 GB, free: 45.75 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)