Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.811/1.811, allocations: 288.4 MB / 303.4 MB, free: 8.184 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.000912/0.0009121, allocations: 181.8 kB / 372 MB, free: 10.29 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.681/1.681, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.000868/0.0008679, allocations: 102.3 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004476, allocations: 15.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2567, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.009949/0.2667, allocations: 10.66 MB / 0.99 GB, free: 17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006834/0.2736, allocations: 5.029 MB / 0.9949 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.2746, allocations: 27.94 kB / 0.9949 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008388/0.2754, allocations: 294 kB / 0.9952 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.2766, allocations: 0.5134 MB / 0.9957 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2779, allocations: 461 kB / 0.9962 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.2799, allocations: 2.79 MB / 0.9989 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003973/0.2839, allocations: 3.622 MB / 1.002 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.285, allocations: 0.7278 MB / 1.003 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.286, allocations: 0.9929 MB / 1.004 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.2862, allocations: 96 kB / 1.004 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00081/0.287, allocations: 299.7 kB / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004873/0.2875, allocations: 0.7249 MB / 1.005 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.2878, allocations: 349 kB / 1.006 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.2901, allocations: 3.016 MB / 1.008 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.2901, allocations: 0 / 1.008 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2901, allocations: 3.938 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.536e-05/0.2902, allocations: 0 / 1.008 GB, free: 13.98 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003067/0.2932, allocations: 1.64 MB / 1.01 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2933, allocations: 12.02 kB / 1.01 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.2955, allocations: 481.5 kB / 1.011 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.2975, allocations: 1.127 MB / 1.012 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.2976, allocations: 119.1 kB / 1.012 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.2978, allocations: 147.9 kB / 1.012 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004423/0.3023, allocations: 2.751 MB / 1.015 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.3023, allocations: 3.938 kB / 1.015 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.3025, allocations: 67.98 kB / 1.015 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003284/0.3028, allocations: 170.9 kB / 1.015 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.3064, allocations: 2.288 MB / 1.017 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.3184, allocations: 10.52 MB / 1.027 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.3194, allocations: 0.5802 MB / 1.028 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.32, allocations: 388.6 kB / 1.028 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3201, allocations: 97.08 kB / 1.028 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3201, allocations: 34.56 kB / 1.028 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 4.509e-06/0.3202, allocations: 0 / 1.028 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0208/0.341, allocations: 6.278 MB / 1.035 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.3411, allocations: 89.55 kB / 1.035 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.3425, allocations: 0.8906 MB / 1.035 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.3427, allocations: 37.7 kB / 1.036 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006409/0.3433, allocations: 0.7499 MB / 1.036 GB, free: 340 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3436, allocations: 185.4 kB / 1.036 GB, free: 152 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.3437, allocations: 20 kB / 1.036 GB, free: 132 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002652/0.344, allocations: 390.8 kB / 1.037 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.3452, allocations: 0.6382 MB / 1.037 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.3468, allocations: 1.003 MB / 1.038 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.3482, allocations: 0.8179 MB / 1.039 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/0.3483, allocations: 4 kB / 1.039 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009568/0.3579, allocations: 3.202 MB / 1.042 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.3583, allocations: 435.3 kB / 1.043 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.3583, allocations: 12 kB / 1.043 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008069/0.3664, allocations: 1.86 MB / 1.045 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.3674, allocations: 227.6 kB / 1.045 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.3824, allocations: 10.21 MB / 1.055 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.384, allocations: 183.5 kB / 1.055 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.3842, allocations: 43.98 kB / 1.055 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3843, allocations: 5.562 kB / 1.055 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007317/0.3916, allocations: 2.622 MB / 1.058 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/0.3917, allocations: 12 kB / 1.058 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005225/0.3969, allocations: 1.199 MB / 1.059 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.3979, allocations: 251.5 kB / 1.059 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.4057, allocations: 5.543 MB / 1.064 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.407, allocations: 143.7 kB / 1.065 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.4072, allocations: 48.22 kB / 1.065 GB, free: 2.121 MB / 0.6823 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.001616/0.4088, allocations: 0.8401 MB / 1.065 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.4091, allocations: 83.05 kB / 1.065 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5696/0.9787, allocations: 2.683 MB / 1.068 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.9788, allocations: 8.844 kB / 1.068 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.9788, allocations: 1.609 kB / 1.068 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.9788, allocations: 3.922 kB / 1.068 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.9913, allocations: 4.622 MB / 1.073 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9913, allocations: 7.531 kB / 1.073 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.9918, allocations: 98.06 kB / 1.073 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00768/0.9995, allocations: 1.707 MB / 1.074 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.9996, allocations: 12.97 kB / 1.074 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.013, allocations: 9.765 MB / 1.084 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.013, allocations: 3.719 kB / 1.084 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009384/1.022, allocations: 2.638 MB / 1.087 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000782/1.023, allocations: 286.3 kB / 1.087 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.023, allocations: 9.922 kB / 1.087 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/1.024, allocations: 136.2 kB / 1.087 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/1.024, allocations: 50.34 kB / 1.087 GB, free: 74.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/1.024, allocations: 20.78 kB / 1.087 GB, free: 74.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009948/1.025, allocations: 0.6399 MB / 1.088 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 1.031 kB / 1.088 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002543/1.028, allocations: 0.5828 MB / 1.088 GB, free: 74.59 MB / 0.6823 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.0002748/1.028, allocations: 123.9 kB / 1.088 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005482/1.034, allocations: 3.246 MB / 1.091 GB, free: 73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.034, allocations: 1.719 kB / 1.091 GB, free: 73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.036, allocations: 1.272 MB / 1.093 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/1.038, allocations: 223.2 kB / 1.093 GB, free: 72.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/1.045, allocations: 3.54 MB / 1.096 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002291/1.047, allocations: 1.625 MB / 1.098 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001782/1.049, allocations: 0.4889 MB / 1.098 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/1.049, allocations: 52.81 kB / 1.099 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/1.049, allocations: 0 / 1.099 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of Templates: time 0.0457/1.095, allocations: 23.32 MB / 1.121 GB, free: 58.37 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)