Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.443/2.443, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001386, allocations: 185.4 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.448/2.448, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.0009996, allocations: 88.89 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004664, allocations: 14.81 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2285, allocations: 106.3 MB / 0.8991 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01608/0.2447, allocations: 10.68 MB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2555, allocations: 5.021 MB / 0.9144 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.2569, allocations: 27.94 kB / 0.9144 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.2586, allocations: 294 kB / 0.9147 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.2607, allocations: 0.5014 MB / 0.9152 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.2629, allocations: 473 kB / 0.9156 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00377/0.2667, allocations: 2.805 MB / 0.9184 GB, free: 45.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007444/0.2742, allocations: 3.797 MB / 0.9221 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.2759, allocations: 0.7162 MB / 0.9228 GB, free: 41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.2782, allocations: 1.012 MB / 0.9238 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004417/0.2787, allocations: 92 kB / 0.9239 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.2801, allocations: 303.7 kB / 0.9241 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.2812, allocations: 0.7209 MB / 0.9248 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006173/0.2819, allocations: 349 kB / 0.9252 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.2858, allocations: 3.016 MB / 0.9281 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.2859, allocations: 0 / 0.9281 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.085e-06/0.2859, allocations: 0 / 0.9281 GB, free: 35.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.58e-05/0.286, allocations: 0 / 0.9281 GB, free: 35.51 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005222/0.2912, allocations: 1.64 MB / 0.9297 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2913, allocations: 12.03 kB / 0.9297 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.2951, allocations: 482.5 kB / 0.9302 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.2984, allocations: 1.128 MB / 0.9313 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2985, allocations: 111.5 kB / 0.9314 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006128/0.2992, allocations: 156.1 kB / 0.9316 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007137/0.3063, allocations: 2.743 MB / 0.9342 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-05/0.3064, allocations: 3.984 kB / 0.9342 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.3067, allocations: 64 kB / 0.9343 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005885/0.3073, allocations: 170.9 kB / 0.9345 GB, free: 28.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006433/0.3138, allocations: 2.288 MB / 0.9367 GB, free: 26.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.3315, allocations: 10.53 MB / 0.947 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3332, allocations: 0.5823 MB / 0.9476 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009572/0.3342, allocations: 384.6 kB / 0.9479 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.3344, allocations: 97.08 kB / 0.948 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3344, allocations: 42.5 kB / 0.9481 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.066e-06/0.3344, allocations: 0 / 0.9481 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.04757/0.382, allocations: 6.274 MB / 0.9542 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.3822, allocations: 81.55 kB / 0.9543 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.3848, allocations: 0.8945 MB / 0.9551 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.3851, allocations: 37.7 kB / 0.9552 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009201/0.3861, allocations: 0.7577 MB / 0.9559 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.3865, allocations: 189.4 kB / 0.9561 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3868, allocations: 20 kB / 0.9561 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002674/0.3871, allocations: 386.8 kB / 0.9565 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.3898, allocations: 0.6382 MB / 0.9571 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.3927, allocations: 1.003 MB / 0.9581 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.395, allocations: 0.8179 MB / 0.9589 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/0.3951, allocations: 0 / 0.9589 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.02233/0.4175, allocations: 3.209 MB / 0.962 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005592/0.4181, allocations: 439.4 kB / 0.9624 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-05/0.4182, allocations: 12 kB / 0.9624 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01925/0.4374, allocations: 1.848 MB / 0.9642 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.4392, allocations: 231.6 kB / 0.9645 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02674/0.466, allocations: 10.23 MB / 0.9745 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.4683, allocations: 175.6 kB / 0.9746 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.4685, allocations: 40 kB / 0.9747 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4686, allocations: 4 kB / 0.9747 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/0.4824, allocations: 2.622 MB / 0.9772 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.4825, allocations: 12 kB / 0.9772 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.4926, allocations: 1.203 MB / 0.9784 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.4946, allocations: 247.5 kB / 0.9786 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.5078, allocations: 5.551 MB / 0.9841 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.5098, allocations: 147.7 kB / 0.9842 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.51, allocations: 40 kB / 0.9842 GB, free: 7.633 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001866/0.5119, allocations: 0.8402 MB / 0.9851 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.5121, allocations: 79.03 kB / 0.9851 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/0.5272, allocations: 2.691 MB / 0.9878 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5272, allocations: 4 kB / 0.9878 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5273, allocations: 0 / 0.9878 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.5273, allocations: 3.984 kB / 0.9878 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/0.547, allocations: 4.643 MB / 0.9923 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.5471, allocations: 0 / 0.9923 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/0.5479, allocations: 95.86 kB / 0.9924 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/0.5616, allocations: 1.704 MB / 0.9941 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.5618, allocations: 12 kB / 0.9941 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02168/0.5835, allocations: 9.777 MB / 1.004 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5836, allocations: 4.031 kB / 1.004 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.5981, allocations: 2.644 MB / 1.006 GB, free: 372 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/0.599, allocations: 280.1 kB / 1.006 GB, free: 72 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.5993, allocations: 12 kB / 1.006 GB, free: 60 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/0.6009, allocations: 135.7 kB / 1.007 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.6012, allocations: 47.88 kB / 1.007 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/0.6013, allocations: 20 kB / 1.007 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001377/0.6027, allocations: 0.6317 MB / 1.007 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.9e-07/0.6027, allocations: 0 / 1.007 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002936/0.6057, allocations: 0.5898 MB / 1.008 GB, free: 14.64 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003491/0.6061, allocations: 127.2 kB / 1.008 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009227/0.6153, allocations: 3.242 MB / 1.011 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.6154, allocations: 0 / 1.011 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003706/0.6191, allocations: 1.277 MB / 1.012 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.6211, allocations: 216 kB / 1.013 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008675/0.6298, allocations: 3.537 MB / 1.016 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.6322, allocations: 1.614 MB / 1.018 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002352/0.6346, allocations: 0.4908 MB / 1.018 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.6349, allocations: 59.42 kB / 1.018 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/0.6349, allocations: 0 / 1.018 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of Templates: time 0.06179/0.6967, allocations: 23.31 MB / 1.041 GB, free: 12.65 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)