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_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 180.7 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 74.39 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 15.22 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2313, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01446/0.2458, allocations: 11.55 MB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009485/0.2554, allocations: 5.557 MB / 0.9135 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.2566, allocations: 31.88 kB / 0.9135 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.2596, allocations: 0.9806 MB / 0.9144 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.2615, allocations: 0.5989 MB / 0.915 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.2642, allocations: 0.8984 MB / 0.9159 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004001/0.2683, allocations: 3.757 MB / 0.9196 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005108/0.2734, allocations: 4.045 MB / 0.9235 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.2746, allocations: 0.7822 MB / 0.9243 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.2759, allocations: 1.121 MB / 0.9254 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.2761, allocations: 104 kB / 0.9255 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.2771, allocations: 0.507 MB / 0.926 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005031/0.2777, allocations: 0.7482 MB / 0.9267 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006376/0.2783, allocations: 0.8397 MB / 0.9275 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.2804, allocations: 3.277 MB / 0.9307 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2804, allocations: 0 / 0.9307 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2804, allocations: 0 / 0.9307 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.35e-05/0.2805, allocations: 0 / 0.9307 GB, free: 33.21 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.002783/0.2832, allocations: 1.749 MB / 0.9324 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2833, allocations: 8.031 kB / 0.9324 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.286, allocations: 0.7519 MB / 0.9332 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.2878, allocations: 1.247 MB / 0.9344 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.2879, allocations: 115.6 kB / 0.9345 GB, free: 29.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.2881, allocations: 164.1 kB / 0.9347 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.2918, allocations: 2.96 MB / 0.9376 GB, free: 26.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.2919, allocations: 7.938 kB / 0.9376 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.2921, allocations: 68 kB / 0.9376 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003425/0.2924, allocations: 203 kB / 0.9378 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.2955, allocations: 2.515 MB / 0.9403 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009715/0.3052, allocations: 10.9 MB / 0.9509 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.3063, allocations: 0.9264 MB / 0.9518 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005459/0.3068, allocations: 0.5051 MB / 0.9523 GB, free: 10 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.307, allocations: 97.45 kB / 0.9524 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.307, allocations: 42.88 kB / 0.9524 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.865e-06/0.307, allocations: 0 / 0.9524 GB, free: 9.836 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.02428/0.3313, allocations: 8.972 MB / 0.9612 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3314, allocations: 89.67 kB / 0.9613 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.3325, allocations: 0.9493 MB / 0.9622 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.3326, allocations: 41.7 kB / 0.9623 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.3331, allocations: 0.7658 MB / 0.963 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.3333, allocations: 252.5 kB / 0.9633 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.3335, allocations: 85.67 kB / 0.9633 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3337, allocations: 402.7 kB / 0.9637 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3348, allocations: 0.7989 MB / 0.9645 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.3363, allocations: 1.167 MB / 0.9656 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.3389, allocations: 2.005 MB / 0.9676 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.3389, allocations: 4 kB / 0.9676 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009963/0.3489, allocations: 3.791 MB / 0.9713 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.3492, allocations: 417 kB / 0.9717 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.3492, allocations: 15.98 kB / 0.9717 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00857/0.3578, allocations: 2.164 MB / 0.9738 GB, free: 3.293 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.3587, allocations: 223.6 kB / 0.974 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.3743, allocations: 10.26 MB / 0.9841 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.3757, allocations: 211.5 kB / 0.9843 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.3758, allocations: 47.94 kB / 0.9843 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.3758, allocations: 4 kB / 0.9843 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007595/0.3834, allocations: 3.08 MB / 0.9873 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.3835, allocations: 8.375 kB / 0.9873 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005424/0.3889, allocations: 1.369 MB / 0.9887 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.39, allocations: 283.5 kB / 0.9889 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.4002, allocations: 6.142 MB / 0.9949 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.4014, allocations: 179.6 kB / 0.9951 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/0.4015, allocations: 44 kB / 0.9951 GB, free: 13.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001222/0.4028, allocations: 0.8947 MB / 0.996 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.403, allocations: 90.97 kB / 0.9961 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008714/0.4117, allocations: 3.331 MB / 0.9994 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4117, allocations: 8 kB / 0.9994 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4117, allocations: 4 kB / 0.9994 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4117, allocations: 3.984 kB / 0.9994 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.4233, allocations: 5.497 MB / 1.005 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.4234, allocations: 4.25 kB / 1.005 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.4238, allocations: 111.8 kB / 1.005 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007466/0.4313, allocations: 1.978 MB / 1.007 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/0.4314, allocations: 16 kB / 1.007 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.445, allocations: 9.659 MB / 1.016 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.445, allocations: 0 / 1.016 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008428/0.4535, allocations: 3.209 MB / 1.019 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.4542, allocations: 320 kB / 1.02 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.4543, allocations: 19.91 kB / 1.02 GB, free: 3.434 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.4552, allocations: 151.8 kB / 1.02 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.4555, allocations: 68.41 kB / 1.02 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.4556, allocations: 20 kB / 1.02 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009118/0.4565, allocations: 0.6824 MB / 1.021 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3e-07/0.4565, allocations: 4 kB / 1.021 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002038/0.4586, allocations: 0.6758 MB / 1.021 GB, free: 1.844 MB / 0.6667 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002484/0.4588, allocations: 129.8 kB / 1.021 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007365/0.4662, allocations: 3.916 MB / 1.025 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.4662, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.4684, allocations: 1.317 MB / 1.026 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.47, allocations: 257.1 kB / 1.027 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/0.4763, allocations: 4.396 MB / 1.031 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.4779, allocations: 1.734 MB / 1.033 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.4782, allocations: 67.42 kB / 1.033 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of SimCode: time 1.223e-06/0.4782, allocations: 0 / 1.033 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of Templates: time 0.3551/0.8334, allocations: 42.96 MB / 1.075 GB, free: 139.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)