Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008646/0.0008646, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006165/0.006165, allocations: 170.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 252 MB / 0.5105 GB, free: 4.707 MB / 414.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.0006415/0.0006412, allocations: 16 kB / 0.6249 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.6058, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01356/0.6194, allocations: 11.28 MB / 0.7398 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008831/0.6283, allocations: 5.28 MB / 0.7449 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.6297, allocations: 31.88 kB / 0.7449 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.6311, allocations: 318 kB / 0.7452 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.6329, allocations: 0.5853 MB / 0.7458 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.635, allocations: 0.62 MB / 0.7464 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004327/0.6393, allocations: 3.589 MB / 0.7499 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007199/0.6465, allocations: 4.115 MB / 0.7539 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.6492, allocations: 0.7589 MB / 0.7547 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.6524, allocations: 1.028 MB / 0.7557 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008155/0.6532, allocations: 92 kB / 0.7558 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.6554, allocations: 439.3 kB / 0.7562 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.657, allocations: 0.7287 MB / 0.7569 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.6591, allocations: 0.8065 MB / 0.7577 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.6635, allocations: 3.353 MB / 0.761 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6636, allocations: 0 / 0.761 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6636, allocations: 0 / 0.761 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001151/0.6637, allocations: 0 / 0.761 GB, free: 10.14 MB / 0.5762 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.004279/0.668, allocations: 1.585 MB / 0.7625 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.668, allocations: 12.03 kB / 0.7625 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002716/0.6708, allocations: 466.4 kB / 0.763 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.6731, allocations: 1.085 MB / 0.764 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.6732, allocations: 115.4 kB / 0.7641 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.6738, allocations: 160.1 kB / 0.7643 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006047/0.6798, allocations: 2.731 MB / 0.767 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.6799, allocations: 7.922 kB / 0.767 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.6802, allocations: 71.98 kB / 0.767 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.6805, allocations: 143 kB / 0.7672 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004245/0.6848, allocations: 2.28 MB / 0.7694 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.6991, allocations: 10.44 MB / 0.7796 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.7002, allocations: 0.5764 MB / 0.7802 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006286/0.7009, allocations: 376.6 kB / 0.7805 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.701, allocations: 89.09 kB / 0.7806 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.7011, allocations: 42.5 kB / 0.7806 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.745e-06/0.7011, allocations: 0 / 0.7806 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.02083/0.7219, allocations: 5.748 MB / 0.7863 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.722, allocations: 59.84 kB / 0.7863 GB, free: 15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.7236, allocations: 0.8789 MB / 0.7872 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/0.7237, allocations: 33.7 kB / 0.7872 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.7242, allocations: 0.7616 MB / 0.788 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.7245, allocations: 185.4 kB / 0.7881 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.7246, allocations: 73.69 kB / 0.7882 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.7248, allocations: 394.7 kB / 0.7886 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.726, allocations: 0.6343 MB / 0.7892 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.7274, allocations: 0.9826 MB / 0.7902 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.7298, allocations: 1.643 MB / 0.7918 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.7298, allocations: 4 kB / 0.7918 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009482/0.7393, allocations: 3.143 MB / 0.7948 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004903/0.7398, allocations: 431.4 kB / 0.7952 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.7399, allocations: 12 kB / 0.7953 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008052/0.7479, allocations: 1.747 MB / 0.797 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/0.749, allocations: 231.6 kB / 0.7972 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.7645, allocations: 9.905 MB / 0.8069 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.7659, allocations: 167.7 kB / 0.807 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.7661, allocations: 43.98 kB / 0.8071 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/0.7662, allocations: 4 kB / 0.8071 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007762/0.7739, allocations: 2.575 MB / 0.8096 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.518e-05/0.774, allocations: 16.03 kB / 0.8096 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005325/0.7793, allocations: 1.156 MB / 0.8107 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.7804, allocations: 243.6 kB / 0.811 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/0.789, allocations: 5.434 MB / 0.8163 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.7903, allocations: 131.7 kB / 0.8164 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.7905, allocations: 47.98 kB / 0.8164 GB, free: 14.78 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001881/0.7924, allocations: 0.8401 MB / 0.8172 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/0.7927, allocations: 79 kB / 0.8173 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008492/0.8012, allocations: 2.606 MB / 0.8199 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.8012, allocations: 4.188 kB / 0.8199 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8012, allocations: 3.938 kB / 0.8199 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.8012, allocations: 11.97 kB / 0.8199 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.8126, allocations: 4.515 MB / 0.8243 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.8126, allocations: 0 / 0.8243 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.8131, allocations: 107.8 kB / 0.8244 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00702/0.8201, allocations: 1.595 MB / 0.826 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.8203, allocations: 12 kB / 0.826 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.8343, allocations: 9.469 MB / 0.8352 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8344, allocations: 4.031 kB / 0.8352 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008429/0.8428, allocations: 2.57 MB / 0.8377 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.8435, allocations: 284 kB / 0.838 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.8438, allocations: 8 kB / 0.838 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/0.8447, allocations: 123.8 kB / 0.8381 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.8449, allocations: 51.86 kB / 0.8382 GB, free: 7.723 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.845, allocations: 24 kB / 0.8382 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001084/0.8461, allocations: 0.62 MB / 0.8388 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8461, allocations: 0 / 0.8388 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002469/0.8486, allocations: 0.5742 MB / 0.8394 GB, free: 6.508 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002959/0.8489, allocations: 125.8 kB / 0.8395 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005783/0.8547, allocations: 3.091 MB / 0.8425 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8547, allocations: 0 / 0.8425 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/0.8567, allocations: 1.186 MB / 0.8437 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.8584, allocations: 226.8 kB / 0.8439 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.8649, allocations: 3.662 MB / 0.8475 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/0.8668, allocations: 1.618 MB / 0.849 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001351/0.8681, allocations: 0.4906 MB / 0.8495 GB, free: 11.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.8683, allocations: 55.42 kB / 0.8496 GB, free: 11.85 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.8683, allocations: 0 / 0.8496 GB, free: 11.85 MB / 0.67 GB Notification: Performance of Templates: time 0.03889/0.9072, allocations: 23.1 MB / 0.8721 GB, free: 4.883 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: