Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001211/0.001211, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001083/0.001083, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.652/1.652, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001446/0.001447, allocations: 71.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2147, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.3905/0.6052, allocations: 11.8 MB / 0.7963 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007766/0.613, allocations: 5.362 MB / 0.8016 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.6145, allocations: 40.09 kB / 0.8016 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.6174, allocations: 1.034 MB / 0.8026 GB, free: 40.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.6194, allocations: 0.6275 MB / 0.8032 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.6218, allocations: 0.915 MB / 0.8041 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003282/0.6251, allocations: 2.46 MB / 0.8065 GB, free: 38.24 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/0.63, allocations: 3.571 MB / 0.81 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.6325, allocations: 1.104 MB / 0.8111 GB, free: 36.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.6348, allocations: 1.216 MB / 0.8123 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.6353, allocations: 230.7 kB / 0.8125 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.6365, allocations: 0.4983 MB / 0.813 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.6376, allocations: 0.8946 MB / 0.8138 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.6389, allocations: 0.989 MB / 0.8148 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004729/0.6437, allocations: 3.548 MB / 0.8183 GB, free: 33.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6437, allocations: 4 kB / 0.8183 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6437, allocations: 0 / 0.8183 GB, free: 33.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001056/0.6438, allocations: 1.125 kB / 0.8183 GB, free: 33.89 MB / 0.6544 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.004954/0.6488, allocations: 1.932 MB / 0.8202 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6488, allocations: 9.906 kB / 0.8202 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.6513, allocations: 457.7 kB / 0.8206 GB, free: 32.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.654, allocations: 1.12 MB / 0.8217 GB, free: 32.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.6541, allocations: 118.8 kB / 0.8218 GB, free: 31.96 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.6545, allocations: 152.3 kB / 0.822 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005463/0.66, allocations: 2.735 MB / 0.8246 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.6601, allocations: 6.25 kB / 0.8246 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.6603, allocations: 70.95 kB / 0.8247 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003442/0.6606, allocations: 140.5 kB / 0.8248 GB, free: 30.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/0.665, allocations: 2.276 MB / 0.8271 GB, free: 30.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.6778, allocations: 10.34 MB / 0.8372 GB, free: 22.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.6789, allocations: 0.5607 MB / 0.8377 GB, free: 22.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.6795, allocations: 378.7 kB / 0.8381 GB, free: 22.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.6796, allocations: 87.59 kB / 0.8382 GB, free: 22.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.6797, allocations: 40.02 kB / 0.8382 GB, free: 22.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/0.6797, allocations: 0 / 0.8382 GB, free: 22.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.01952/0.6992, allocations: 5.551 MB / 0.8436 GB, free: 19.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6993, allocations: 61.11 kB / 0.8437 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.7007, allocations: 0.8772 MB / 0.8445 GB, free: 19.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.7009, allocations: 36.2 kB / 0.8446 GB, free: 19.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.7013, allocations: 0.7582 MB / 0.8453 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.7015, allocations: 182.6 kB / 0.8455 GB, free: 18.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.7019, allocations: 193.1 kB / 0.8457 GB, free: 18.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.702, allocations: 394.1 kB / 0.846 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/0.7029, allocations: 0.6278 MB / 0.8467 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.7041, allocations: 0.9769 MB / 0.8476 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.7061, allocations: 1.619 MB / 0.8492 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.7061, allocations: 2.938 kB / 0.8492 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008295/0.7144, allocations: 3.07 MB / 0.8522 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.7145, allocations: 10.34 kB / 0.8522 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.7145, allocations: 19.38 kB / 0.8522 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006892/0.7214, allocations: 1.645 MB / 0.8538 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/0.7224, allocations: 221.5 kB / 0.854 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.7351, allocations: 10.59 MB / 0.8644 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.7367, allocations: 157.4 kB / 0.8645 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7368, allocations: 43.73 kB / 0.8646 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002227/0.7391, allocations: 1.283 MB / 0.8658 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001008/0.7401, allocations: 0.9567 MB / 0.8668 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/0.7419, allocations: 1.568 MB / 0.8683 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.755e-06/0.7419, allocations: 3.531 kB / 0.8683 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.006567/0.7485, allocations: 2.601 MB / 0.8708 GB, free: 104 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7485, allocations: 12 kB / 0.8708 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.7486, allocations: 8 kB / 0.8709 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/0.753, allocations: 1.063 MB / 0.8719 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.754, allocations: 243.6 kB / 0.8721 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/0.7616, allocations: 5.752 MB / 0.8777 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.7631, allocations: 143.9 kB / 0.8779 GB, free: 8.602 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.7632, allocations: 43.98 kB / 0.8779 GB, free: 8.559 MB / 0.67 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.0003691/0.7636, allocations: 239.9 kB / 0.8781 GB, free: 8.316 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.7638, allocations: 79.06 kB / 0.8782 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007657/0.7715, allocations: 2.547 MB / 0.8807 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.7715, allocations: 4 kB / 0.8807 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.7715, allocations: 0.75 kB / 0.8807 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.7715, allocations: 0 / 0.8807 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.7838, allocations: 4.45 MB / 0.8851 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.7838, allocations: 0 / 0.8851 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.7843, allocations: 95.86 kB / 0.8852 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006127/0.7904, allocations: 1.498 MB / 0.8866 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.051e-05/0.7905, allocations: 15.94 kB / 0.8866 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01199/0.8025, allocations: 10.14 MB / 0.8965 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.8026, allocations: 5.906 kB / 0.8965 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007484/0.81, allocations: 2.498 MB / 0.899 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006854/0.8108, allocations: 264.1 kB / 0.8992 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.8109, allocations: 12 kB / 0.8992 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.8118, allocations: 115.8 kB / 0.8993 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.812, allocations: 55.81 kB / 0.8994 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.8121, allocations: 16 kB / 0.8994 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008807/0.813, allocations: 0.6278 MB / 0.9 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.813, allocations: 0 / 0.9 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002327/0.8153, allocations: 0.582 MB / 0.9006 GB, free: 0.5273 MB / 0.6856 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.000247/0.8156, allocations: 127.2 kB / 0.9007 GB, free: 404 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005203/0.8208, allocations: 3.073 MB / 0.9037 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.8208, allocations: 0 / 0.9037 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.8226, allocations: 1.187 MB / 0.9049 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.8241, allocations: 249.5 kB / 0.9051 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.8299, allocations: 3.185 MB / 0.9082 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.8313, allocations: 1.63 MB / 0.9098 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.8317, allocations: 59.42 kB / 0.9099 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.8317, allocations: 0 / 0.9099 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of Templates: time 0.05996/0.8917, allocations: 57.4 MB / 0.9659 GB, free: 13.48 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)