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.0009964/0.0009961, 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.001166/0.001166, 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.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.586/1.586, allocations: 252 MB / 0.5102 GB, free: 4.777 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.0005285/0.0005286, allocations: 16 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5822/0.5827, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01174/0.5945, allocations: 10.68 MB / 0.7386 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008891/0.6035, allocations: 5.006 MB / 0.7435 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.6049, allocations: 35.88 kB / 0.7435 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.606, allocations: 294.1 kB / 0.7438 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.6075, allocations: 0.5033 MB / 0.7443 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.609, allocations: 469.8 kB / 0.7447 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00294/0.6119, allocations: 2.778 MB / 0.7474 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005124/0.6171, allocations: 3.629 MB / 0.751 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.6186, allocations: 0.724 MB / 0.7517 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.62, allocations: 1.001 MB / 0.7527 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.6202, allocations: 100 kB / 0.7528 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008975/0.6211, allocations: 299.7 kB / 0.753 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007015/0.6219, allocations: 0.7249 MB / 0.7537 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.6223, allocations: 344.9 kB / 0.7541 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.6251, allocations: 3.016 MB / 0.757 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6251, allocations: 7.938 kB / 0.757 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6251, allocations: 0 / 0.757 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.27e-05/0.6252, allocations: 0 / 0.757 GB, free: 13.7 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.003154/0.6283, allocations: 1.636 MB / 0.7586 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.6284, allocations: 12.02 kB / 0.7586 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.6306, allocations: 477.5 kB / 0.7591 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.6325, allocations: 1.127 MB / 0.7602 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.133e-05/0.6326, allocations: 123.1 kB / 0.7603 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.6329, allocations: 155.9 kB / 0.7605 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004302/0.6372, allocations: 2.735 MB / 0.7631 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.6372, allocations: 4 kB / 0.7631 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.6374, allocations: 63.98 kB / 0.7632 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.6377, allocations: 174.9 kB / 0.7634 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/0.6412, allocations: 2.291 MB / 0.7656 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.6535, allocations: 10.53 MB / 0.7759 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.6544, allocations: 0.5803 MB / 0.7765 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.655, allocations: 388.5 kB / 0.7768 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.6551, allocations: 89.09 kB / 0.7769 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.6552, allocations: 42.5 kB / 0.7769 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.574e-06/0.6552, allocations: 0 / 0.7769 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.0188/0.674, allocations: 6.267 MB / 0.7831 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.6741, allocations: 89.48 kB / 0.7832 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.6758, allocations: 0.8906 MB / 0.784 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.6759, allocations: 41.7 kB / 0.7841 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007343/0.6767, allocations: 0.7576 MB / 0.7848 GB, free: 56 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.6769, allocations: 181.6 kB / 0.785 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.677, allocations: 20 kB / 0.785 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6772, allocations: 386.8 kB / 0.7854 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.6783, allocations: 0.6421 MB / 0.786 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.6796, allocations: 1.011 MB / 0.787 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.6808, allocations: 0.8062 MB / 0.7878 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.6809, allocations: 4 kB / 0.7878 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008193/0.6891, allocations: 3.217 MB / 0.7909 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003565/0.6894, allocations: 431.2 kB / 0.7913 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.6895, allocations: 16 kB / 0.7913 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006914/0.6964, allocations: 1.848 MB / 0.7931 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/0.6973, allocations: 227.6 kB / 0.7934 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.7108, allocations: 10.21 MB / 0.8033 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.7122, allocations: 179.6 kB / 0.8035 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.7124, allocations: 40 kB / 0.8035 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7124, allocations: 4 kB / 0.8035 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006584/0.719, allocations: 2.622 MB / 0.8061 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.7191, allocations: 12 kB / 0.8061 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/0.7236, allocations: 1.207 MB / 0.8073 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008991/0.7245, allocations: 251.5 kB / 0.8075 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007309/0.7318, allocations: 5.535 MB / 0.8129 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.7331, allocations: 155.8 kB / 0.8131 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.7332, allocations: 40 kB / 0.8131 GB, free: 1.855 MB / 0.6231 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.00189/0.7351, allocations: 0.8439 MB / 0.814 GB, free: 1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.7354, allocations: 75.16 kB / 0.814 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/0.7428, allocations: 2.68 MB / 0.8166 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.7428, allocations: 8 kB / 0.8166 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.7429, allocations: 8 kB / 0.8167 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7429, allocations: 4.188 kB / 0.8167 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.7531, allocations: 4.635 MB / 0.8212 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.7531, allocations: 7.984 kB / 0.8212 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.7535, allocations: 100.1 kB / 0.8213 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/0.7596, allocations: 1.704 MB / 0.823 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/0.7597, allocations: 8 kB / 0.823 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.7725, allocations: 9.774 MB / 0.8325 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.7725, allocations: 3.953 kB / 0.8325 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007081/0.7796, allocations: 2.644 MB / 0.8351 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.7803, allocations: 280.1 kB / 0.8354 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.7805, allocations: 19.98 kB / 0.8354 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008177/0.7814, allocations: 131.7 kB / 0.8355 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.7816, allocations: 51.83 kB / 0.8356 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.7817, allocations: 16 kB / 0.8356 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001073/0.7827, allocations: 0.6356 MB / 0.8362 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7827, allocations: 4 kB / 0.8362 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002583/0.7853, allocations: 0.582 MB / 0.8368 GB, free: 8.867 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 (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.0002944/0.7856, allocations: 127.2 kB / 0.8369 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005351/0.791, allocations: 3.238 MB / 0.84 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.791, allocations: 0.8125 kB / 0.84 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.793, allocations: 1.268 MB / 0.8413 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.7942, allocations: 228.5 kB / 0.8415 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006054/0.8003, allocations: 3.537 MB / 0.845 GB, free: 300 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.8022, allocations: 1.626 MB / 0.8465 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001364/0.8036, allocations: 490.3 kB / 0.847 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.8038, allocations: 63.42 kB / 0.8471 GB, free: 14.09 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.8038, allocations: 0 / 0.8471 GB, free: 14.09 MB / 0.67 GB Notification: Performance of Templates: time 0.03818/0.842, allocations: 23.32 MB / 0.8698 GB, free: 6.898 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: