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.364/1.364, allocations: 252 MB / 268 MB, free: 10.87 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.001048/0.001048, allocations: 176.2 kB / 327.6 MB, free: 2.117 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.644/1.644, allocations: 205.4 MB / 0.5786 GB, free: 20.18 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.0007049/0.0007049, allocations: 102.1 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 13.88 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009187/0.1637, allocations: 11.39 MB / 0.9126 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006346/0.17, allocations: 5.495 MB / 0.918 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.1708, allocations: 35.81 kB / 0.918 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007754/0.1716, allocations: 314 kB / 0.9183 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1727, allocations: 0.6106 MB / 0.9189 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1739, allocations: 0.681 MB / 0.9195 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002357/0.1762, allocations: 3.751 MB / 0.9232 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004285/0.1805, allocations: 4.351 MB / 0.9275 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009266/0.1815, allocations: 0.786 MB / 0.9282 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.1826, allocations: 1.125 MB / 0.9293 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.1827, allocations: 100 kB / 0.9294 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.1837, allocations: 0.5109 MB / 0.9299 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004913/0.1842, allocations: 0.7482 MB / 0.9307 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006489/0.1848, allocations: 0.8531 MB / 0.9315 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.1868, allocations: 3.277 MB / 0.9347 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1868, allocations: 0 / 0.9347 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1868, allocations: 4 kB / 0.9347 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.556e-05/0.1869, allocations: 4 kB / 0.9347 GB, free: 29.29 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.002755/0.1896, allocations: 1.749 MB / 0.9364 GB, free: 27.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1897, allocations: 8.031 kB / 0.9364 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.1925, allocations: 0.748 MB / 0.9371 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.1943, allocations: 1.247 MB / 0.9384 GB, free: 25.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.1943, allocations: 119.6 kB / 0.9385 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.1946, allocations: 160.1 kB / 0.9386 GB, free: 25.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/0.1982, allocations: 2.96 MB / 0.9415 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.1982, allocations: 4 kB / 0.9415 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.1984, allocations: 71.98 kB / 0.9416 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.1988, allocations: 203 kB / 0.9418 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.2019, allocations: 2.515 MB / 0.9442 GB, free: 19.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009039/0.2109, allocations: 10.9 MB / 0.9549 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.212, allocations: 0.9159 MB / 0.9558 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.2125, allocations: 0.5081 MB / 0.9563 GB, free: 6.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.723e-05/0.2126, allocations: 97.47 kB / 0.9564 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2127, allocations: 38.88 kB / 0.9564 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.515e-06/0.2127, allocations: 4 kB / 0.9564 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.02611/0.2388, allocations: 8.98 MB / 0.9652 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.2389, allocations: 85.61 kB / 0.9653 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.2402, allocations: 0.9493 MB / 0.9662 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.2403, allocations: 45.64 kB / 0.9662 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.2408, allocations: 0.7697 MB / 0.967 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.241, allocations: 244.5 kB / 0.9672 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.2411, allocations: 20 kB / 0.9672 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2413, allocations: 402.7 kB / 0.9676 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.2425, allocations: 0.8028 MB / 0.9684 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.244, allocations: 1.16 MB / 0.9695 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002627/0.2466, allocations: 2.005 MB / 0.9715 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.2467, allocations: 4 kB / 0.9715 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009885/0.2566, allocations: 3.803 MB / 0.9752 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.2569, allocations: 421.1 kB / 0.9756 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.2569, allocations: 12 kB / 0.9756 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008595/0.2655, allocations: 2.157 MB / 0.9777 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.2665, allocations: 227.6 kB / 0.9779 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.2822, allocations: 10.26 MB / 0.988 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.2836, allocations: 199.5 kB / 0.9881 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.2838, allocations: 47.94 kB / 0.9882 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2838, allocations: 8 kB / 0.9882 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007727/0.2915, allocations: 3.083 MB / 0.9912 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.2916, allocations: 15.98 kB / 0.9912 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005518/0.2971, allocations: 1.351 MB / 0.9925 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.2983, allocations: 291.5 kB / 0.9928 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.3087, allocations: 6.159 MB / 0.9988 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.31, allocations: 171.6 kB / 0.999 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.3102, allocations: 48 kB / 0.999 GB, free: 9.215 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.001282/0.3114, allocations: 0.8986 MB / 0.9999 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.3116, allocations: 86.97 kB / 1 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/0.3205, allocations: 3.335 MB / 1.003 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3205, allocations: 8 kB / 1.003 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3206, allocations: 4 kB / 1.003 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.3206, allocations: 3.984 kB / 1.003 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.3324, allocations: 5.493 MB / 1.009 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3325, allocations: 4 kB / 1.009 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.3329, allocations: 103.8 kB / 1.009 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007643/0.3406, allocations: 1.982 MB / 1.011 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.3407, allocations: 12 kB / 1.011 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/0.3546, allocations: 9.662 MB / 1.02 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.3546, allocations: 8.031 kB / 1.02 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008425/0.363, allocations: 3.209 MB / 1.023 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000665/0.3637, allocations: 335.9 kB / 1.024 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.3639, allocations: 16 kB / 1.024 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.3648, allocations: 147.8 kB / 1.024 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.3651, allocations: 68.41 kB / 1.024 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.3652, allocations: 16 kB / 1.024 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008629/0.366, allocations: 0.6824 MB / 1.024 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.504e-06/0.3661, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002053/0.3681, allocations: 0.6835 MB / 1.025 GB, free: 13.98 MB / 0.6823 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.0002576/0.3684, allocations: 127.2 kB / 1.025 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0075/0.3759, allocations: 3.912 MB / 1.029 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.3759, allocations: 0 / 1.029 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.3782, allocations: 1.321 MB / 1.03 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3797, allocations: 262.2 kB / 1.031 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.3861, allocations: 4.423 MB / 1.035 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.3877, allocations: 1.734 MB / 1.037 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.388, allocations: 63.38 kB / 1.037 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/0.388, allocations: 4 kB / 1.037 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of Templates: time 0.329/0.717, allocations: 42.96 MB / 1.079 GB, free: 133.1 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)