Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008195/0.0008196, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008839/0.000884, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005171, allocations: 15.28 kB / 0.6737 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2758, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006142/0.282, allocations: 4.49 MB / 0.7917 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.2873, allocations: 3.112 MB / 0.7947 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006499/0.288, allocations: 7.938 kB / 0.7947 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009637/0.289, allocations: 159 kB / 0.7949 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.2906, allocations: 302.5 kB / 0.7952 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009114/0.2916, allocations: 194.9 kB / 0.7953 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.2928, allocations: 0.7048 MB / 0.796 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.2942, allocations: 0.7353 MB / 0.7968 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.2947, allocations: 195.2 kB / 0.7969 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.2955, allocations: 267.1 kB / 0.7972 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.2956, allocations: 16 kB / 0.7972 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008862/0.2965, allocations: 227.7 kB / 0.7974 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.2968, allocations: 147.5 kB / 0.7976 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.297, allocations: 109.5 kB / 0.7977 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.298, allocations: 0.7054 MB / 0.7984 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2981, allocations: 0 / 0.7984 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2981, allocations: 0 / 0.7984 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.2981, allocations: 4 kB / 0.7984 GB, free: 0.5391 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001414/0.2995, allocations: 0.748 MB / 0.7991 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2996, allocations: 12.03 kB / 0.7991 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.3022, allocations: 0.6975 MB / 0.7998 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.303, allocations: 486.7 kB / 0.8002 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.3031, allocations: 20.66 kB / 0.8003 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.3031, allocations: 28 kB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3047, allocations: 0.8434 MB / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3047, allocations: 0 / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.3048, allocations: 12 kB / 0.8011 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.305, allocations: 64.58 kB / 0.8012 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.3068, allocations: 0.9428 MB / 0.8021 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.3105, allocations: 2.929 MB / 0.805 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.3119, allocations: 0.5688 MB / 0.8055 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.3127, allocations: 313 kB / 0.8058 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3128, allocations: 93.28 kB / 0.8059 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3128, allocations: 38.7 kB / 0.806 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.3128, allocations: 0 / 0.806 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32): time 0.01142/0.3243, allocations: 3.65 MB / 0.8095 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/0.3244, allocations: 77.11 kB / 0.8096 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.325, allocations: 408.5 kB / 0.81 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/0.3251, allocations: 33.7 kB / 0.81 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3253, allocations: 231.9 kB / 0.8102 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3254, allocations: 110.4 kB / 0.8103 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.3255, allocations: 12 kB / 0.8104 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3256, allocations: 342.8 kB / 0.8107 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.3265, allocations: 399.7 kB / 0.8111 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.3274, allocations: 496.8 kB / 0.8115 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.3283, allocations: 432.2 kB / 0.8119 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3283, allocations: 3.953 kB / 0.8119 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005009/0.3334, allocations: 1.725 MB / 0.8136 GB, free: 388 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.3336, allocations: 151.1 kB / 0.8138 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3336, allocations: 8 kB / 0.8138 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/0.3377, allocations: 0.9777 MB / 0.8147 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.3383, allocations: 135.8 kB / 0.8149 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008586/0.3469, allocations: 6.394 MB / 0.8211 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.3478, allocations: 115.9 kB / 0.8212 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.3478, allocations: 16 kB / 0.8212 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3479, allocations: 4 kB / 0.8212 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004408/0.3523, allocations: 1.667 MB / 0.8229 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.3523, allocations: 4 kB / 0.8229 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/0.3551, allocations: 0.7174 MB / 0.8236 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.3557, allocations: 139.8 kB / 0.8237 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.3618, allocations: 5.438 MB / 0.829 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.3626, allocations: 107.8 kB / 0.8291 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.3627, allocations: 20.17 kB / 0.8291 GB, free: 15.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004759/0.3631, allocations: 337 kB / 0.8295 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3633, allocations: 35.62 kB / 0.8295 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/0.368, allocations: 1.621 MB / 0.8311 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.368, allocations: 7.984 kB / 0.8311 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.368, allocations: 4 kB / 0.8311 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.368, allocations: 3.984 kB / 0.8311 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005508/0.3735, allocations: 2.33 MB / 0.8334 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3736, allocations: 0 / 0.8334 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.3739, allocations: 95.92 kB / 0.8335 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003526/0.3775, allocations: 0.9192 MB / 0.8344 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.3775, allocations: 7.984 kB / 0.8344 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00727/0.3848, allocations: 6.22 MB / 0.8404 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3848, allocations: 7.969 kB / 0.8405 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004485/0.3893, allocations: 1.636 MB / 0.842 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.3896, allocations: 180.6 kB / 0.8422 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.3897, allocations: 8 kB / 0.8422 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.3903, allocations: 91.86 kB / 0.8423 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3904, allocations: 39.89 kB / 0.8424 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.3905, allocations: 7.984 kB / 0.8424 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003799/0.3909, allocations: 307.1 kB / 0.8427 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3909, allocations: 3.938 kB / 0.8427 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001048/0.3919, allocations: 240 kB / 0.8429 GB, free: 0.9375 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.3922, allocations: 123.2 kB / 0.843 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004349/0.3965, allocations: 2.245 MB / 0.8452 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.3965, allocations: 4 kB / 0.8452 GB, free: 14.46 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.398, allocations: 0.8358 MB / 0.846 GB, free: 13.58 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.3987, allocations: 121.3 kB / 0.8461 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4008, allocations: 1.312 MB / 0.8474 GB, free: 12.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.4014, allocations: 0.9258 MB / 0.8483 GB, free: 11.17 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005594/0.4019, allocations: 159.3 kB / 0.8485 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.4021, allocations: 35.42 kB / 0.8485 GB, free: 10.98 MB / 0.67 GB Notification: Performance of SimCode: time 1.202e-06/0.4021, allocations: 0 / 0.8485 GB, free: 10.98 MB / 0.67 GB Notification: Performance of Templates: time 0.02371/0.4258, allocations: 13.93 MB / 0.8621 GB, free: 13.12 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: