Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009455/0.0009458, allocations: 175 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.5786 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008064, allocations: 90.31 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004401, allocations: 8.656 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01207/0.2235, allocations: 13.31 MB / 0.9145 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.2354, allocations: 9.363 MB / 0.9236 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.2372, allocations: 47.62 kB / 0.9237 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2386, allocations: 277.8 kB / 0.9239 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004877/0.2435, allocations: 1.412 MB / 0.9253 GB, free: 39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.2456, allocations: 0.6877 MB / 0.926 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003664/0.2492, allocations: 3.175 MB / 0.9291 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/0.2528, allocations: 1.986 MB / 0.931 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.2546, allocations: 0.8752 MB / 0.9319 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.2565, allocations: 1.054 MB / 0.9329 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005225/0.257, allocations: 72 kB / 0.933 GB, free: 31.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.2592, allocations: 0.8616 MB / 0.9338 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008275/0.26, allocations: 0.51 MB / 0.9343 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.2615, allocations: 0.8447 MB / 0.9351 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.2646, allocations: 2.143 MB / 0.9372 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.2647, allocations: 4 kB / 0.9372 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2647, allocations: 0 / 0.9372 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001233/0.2648, allocations: 0 / 0.9372 GB, free: 26.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004604/0.2694, allocations: 1.816 MB / 0.939 GB, free: 24.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2695, allocations: 8.031 kB / 0.939 GB, free: 24.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.2805, allocations: 2.152 MB / 0.9411 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.2834, allocations: 1.193 MB / 0.9423 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/0.2835, allocations: 94.72 kB / 0.9424 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005157/0.284, allocations: 136 kB / 0.9425 GB, free: 21.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/0.2905, allocations: 2.698 MB / 0.9451 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/0.2906, allocations: 7.938 kB / 0.9451 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.2909, allocations: 55.98 kB / 0.9452 GB, free: 18.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006161/0.2916, allocations: 178.1 kB / 0.9454 GB, free: 18.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007436/0.299, allocations: 2.85 MB / 0.9481 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.3136, allocations: 10.56 MB / 0.9584 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.32, allocations: 2.586 MB / 0.961 GB, free: 1.445 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.323, allocations: 1.302 MB / 0.9622 GB, free: 140 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.919e-05/0.3231, allocations: 12.98 kB / 0.9623 GB, free: 128 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3232, allocations: 43.56 kB / 0.9623 GB, free: 76 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 4.007e-06/0.3232, allocations: 4 kB / 0.9623 GB, free: 72 kB / 0.6042 GB Notification: Performance of matching and sorting (n=131): time 0.04907/0.3722, allocations: 13.45 MB / 0.9754 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3723, allocations: 68.72 kB / 0.9755 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.374, allocations: 1.121 MB / 0.9766 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.3742, allocations: 45.7 kB / 0.9766 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.3748, allocations: 0.7117 MB / 0.9773 GB, free: 432 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005188/0.3754, allocations: 453.5 kB / 0.9778 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3755, allocations: 28 kB / 0.9778 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3757, allocations: 361.9 kB / 0.9781 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003412/0.3791, allocations: 1.366 MB / 0.9795 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/0.3827, allocations: 1.616 MB / 0.981 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0071/0.3898, allocations: 3.041 MB / 0.984 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.3898, allocations: 3.938 kB / 0.984 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01192/0.4018, allocations: 4.478 MB / 0.9884 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.4018, allocations: 8.125 kB / 0.9884 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4018, allocations: 12 kB / 0.9884 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00527/0.4071, allocations: 1.431 MB / 0.9898 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.4093, allocations: 451.3 kB / 0.9902 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02587/0.4351, allocations: 24.56 MB / 1.014 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.4378, allocations: 323.5 kB / 1.015 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.4381, allocations: 55.97 kB / 1.015 GB, free: 8.219 MB / 0.6667 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (2,4,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.4391, allocations: 441.4 kB / 1.015 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.4395, allocations: 158.2 kB / 1.015 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.4513, allocations: 4.5 MB / 1.02 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.4514, allocations: 12 kB / 1.02 GB, free: 3.055 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-05/0.4514, allocations: 16 kB / 1.02 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.4515, allocations: 3.984 kB / 1.02 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.4669, allocations: 6.825 MB / 1.026 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4669, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.4688, allocations: 391.3 kB / 1.027 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004784/0.4736, allocations: 1.31 MB / 1.028 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.4738, allocations: 35.97 kB / 1.028 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/0.4978, allocations: 23.53 MB / 1.051 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.4978, allocations: 12.12 kB / 1.051 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3751/0.8729, allocations: 4.23 MB / 1.055 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009758/0.874, allocations: 460.8 kB / 1.055 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.8742, allocations: 31.38 kB / 1.056 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/0.8764, allocations: 317.8 kB / 1.056 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004616/0.8769, allocations: 123.1 kB / 1.056 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.877, allocations: 48.88 kB / 1.056 GB, free: 136.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009797/0.878, allocations: 0.7596 MB / 1.057 GB, free: 136.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.878, allocations: 0 / 1.057 GB, free: 136.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001969/0.88, allocations: 0.57 MB / 1.057 GB, free: 136.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000273/0.8803, allocations: 142.8 kB / 1.057 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01124/0.8915, allocations: 5.159 MB / 1.062 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.8916, allocations: 0.7812 kB / 1.062 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007323/0.8989, allocations: 3.494 MB / 1.066 GB, free: 133.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/0.9021, allocations: 0.5089 MB / 1.066 GB, free: 133.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009096/0.9113, allocations: 4.809 MB / 1.071 GB, free: 131.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.9124, allocations: 1.474 MB / 1.073 GB, free: 130.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/0.9131, allocations: 138.5 kB / 1.073 GB, free: 130.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/0.9132, allocations: 1.125 kB / 1.073 GB, free: 130.7 MB / 0.698 GB Notification: Performance of Templates: time 0.08266/0.9958, allocations: 112.3 MB / 1.182 GB, free: 31.41 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)