Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.762/1.762, allocations: 288.4 MB / 303.4 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 185.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008099/0.00081, allocations: 94.23 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 14.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01118/0.2381, allocations: 13.21 MB / 0.9925 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.2495, allocations: 9.709 MB / 1.002 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.2513, allocations: 47.69 kB / 1.002 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009289/0.2522, allocations: 277.8 kB / 1.002 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.2571, allocations: 1.461 MB / 1.004 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.2589, allocations: 0.5084 MB / 1.004 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003917/0.2629, allocations: 2.898 MB / 1.007 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.2663, allocations: 1.823 MB / 1.009 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002546/0.2689, allocations: 1.285 MB / 1.01 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.2714, allocations: 1.043 MB / 1.011 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002661/0.2717, allocations: 72 kB / 1.011 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.273, allocations: 427.5 kB / 1.012 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.2735, allocations: 0.4906 MB / 1.012 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.2741, allocations: 356.7 kB / 1.012 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.2766, allocations: 2.127 MB / 1.014 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2766, allocations: 3.938 kB / 1.014 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2766, allocations: 0 / 1.014 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.214e-05/0.2767, allocations: 0 / 1.014 GB, free: 7.809 MB / 0.6355 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.003678/0.2804, allocations: 1.859 MB / 1.016 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2804, allocations: 12.02 kB / 1.016 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.2917, allocations: 2.17 MB / 1.018 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.2945, allocations: 1.155 MB / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.2946, allocations: 90.3 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.2949, allocations: 112 kB / 1.02 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005703/0.3006, allocations: 2.704 MB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.3006, allocations: 11.84 kB / 1.022 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.3008, allocations: 55.98 kB / 1.022 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005831/0.3014, allocations: 194.1 kB / 1.023 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007345/0.3088, allocations: 2.83 MB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/0.3255, allocations: 10.57 MB / 1.036 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00665/0.3322, allocations: 2.375 MB / 1.038 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003204/0.3354, allocations: 1.299 MB / 1.039 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3355, allocations: 12.94 kB / 1.039 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.3356, allocations: 43.56 kB / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.517e-06/0.3356, allocations: 0 / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.06023/0.3958, allocations: 16.5 MB / 1.055 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3959, allocations: 68.7 kB / 1.056 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.3978, allocations: 1.164 MB / 1.057 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.3981, allocations: 49.7 kB / 1.057 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/0.3988, allocations: 0.7476 MB / 1.057 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000712/0.3995, allocations: 0.512 MB / 1.058 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.3997, allocations: 32 kB / 1.058 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3999, allocations: 361.9 kB / 1.058 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003615/0.4035, allocations: 1.526 MB / 1.06 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.4073, allocations: 1.799 MB / 1.062 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003675/0.411, allocations: 1.646 MB / 1.063 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.411, allocations: 4 kB / 1.063 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.4319/0.8429, allocations: 5.295 MB / 1.068 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.843, allocations: 10.28 kB / 1.068 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.843, allocations: 8.703 kB / 1.068 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007892/0.8509, allocations: 1.888 MB / 1.07 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.8532, allocations: 425.8 kB / 1.071 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02857/0.8817, allocations: 22.13 MB / 1.092 GB, free: 69.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/0.8847, allocations: 320.2 kB / 1.093 GB, free: 69.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.885, allocations: 70.08 kB / 1.093 GB, free: 69.57 MB / 0.6823 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001138/0.8861, allocations: 466.1 kB / 1.093 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.8864, allocations: 178.4 kB / 1.093 GB, free: 69.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/0.9007, allocations: 5.341 MB / 1.098 GB, free: 67.42 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.9008, allocations: 17.06 kB / 1.098 GB, free: 67.42 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-05/0.9009, allocations: 18.34 kB / 1.098 GB, free: 67.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.9009, allocations: 7.359 kB / 1.098 GB, free: 67.42 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/0.9195, allocations: 7.46 MB / 1.106 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.9195, allocations: 3.969 kB / 1.106 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/0.9211, allocations: 360 kB / 1.106 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/0.9271, allocations: 1.701 MB / 1.108 GB, free: 63.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.9273, allocations: 43.72 kB / 1.108 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0254/0.9527, allocations: 21.34 MB / 1.129 GB, free: 46.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.9528, allocations: 3.875 kB / 1.129 GB, free: 46.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.9655, allocations: 4.914 MB / 1.133 GB, free: 43.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.9671, allocations: 0.4898 MB / 1.134 GB, free: 43.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/0.9676, allocations: 32.86 kB / 1.134 GB, free: 43.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/0.9702, allocations: 325.2 kB / 1.134 GB, free: 43.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/0.9708, allocations: 148.7 kB / 1.134 GB, free: 43.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.971, allocations: 55 kB / 1.134 GB, free: 43.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001001/0.972, allocations: 0.782 MB / 1.135 GB, free: 42.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.972, allocations: 0 / 1.135 GB, free: 42.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002586/0.9746, allocations: 0.6564 MB / 1.136 GB, free: 42.62 MB / 0.6823 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002921/0.9749, allocations: 142.2 kB / 1.136 GB, free: 42.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01003/0.9849, allocations: 5.185 MB / 1.141 GB, free: 39.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.985, allocations: 3.688 kB / 1.141 GB, free: 39.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006262/0.9913, allocations: 3.367 MB / 1.144 GB, free: 36.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.9937, allocations: 0.5127 MB / 1.145 GB, free: 35.67 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007422/1.001, allocations: 4.864 MB / 1.15 GB, free: 30.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009404/1.002, allocations: 1.571 MB / 1.151 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001658/1.004, allocations: 386.4 kB / 1.152 GB, free: 28.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/1.004, allocations: 111.4 kB / 1.152 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/1.004, allocations: 0 / 1.152 GB, free: 28.65 MB / 0.6823 GB Notification: Performance of Templates: time 0.05989/1.064, allocations: 41.44 MB / 1.192 GB, free: 3.621 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)