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/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,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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, 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.0009861/0.0009862, allocations: 174.7 kB / 326.5 MB, free: 2.695 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.747/1.747, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008306/0.0008304, allocations: 93.2 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004182, allocations: 12.03 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2086, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0102/0.2189, allocations: 11.45 MB / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008054/0.227, allocations: 5.334 MB / 0.9131 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.2283, allocations: 31.88 kB / 0.9132 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.2308, allocations: 0.969 MB / 0.9141 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.2323, allocations: 0.5873 MB / 0.9147 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.2345, allocations: 0.8438 MB / 0.9155 GB, free: 48.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003266/0.2378, allocations: 3.586 MB / 0.919 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003812/0.2417, allocations: 3.779 MB / 0.9227 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.2427, allocations: 0.7394 MB / 0.9234 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.2437, allocations: 1.032 MB / 0.9244 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.2439, allocations: 92 kB / 0.9245 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000964/0.2449, allocations: 491.2 kB / 0.925 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.2454, allocations: 0.7209 MB / 0.9257 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005612/0.2459, allocations: 0.793 MB / 0.9265 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.248, allocations: 3.438 MB / 0.9298 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.248, allocations: 0 / 0.9298 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2481, allocations: 0 / 0.9298 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.2481, allocations: 0 / 0.9298 GB, free: 34.17 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002578/0.2507, allocations: 1.617 MB / 0.9314 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2507, allocations: 8.031 kB / 0.9314 GB, free: 32.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.2528, allocations: 482.5 kB / 0.9319 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.2545, allocations: 1.155 MB / 0.933 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.2546, allocations: 119.4 kB / 0.9331 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.2548, allocations: 156.1 kB / 0.9333 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/0.2586, allocations: 2.747 MB / 0.936 GB, free: 27.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.2587, allocations: 11.94 kB / 0.936 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.2589, allocations: 59.98 kB / 0.936 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003146/0.2592, allocations: 174.9 kB / 0.9362 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.2623, allocations: 2.295 MB / 0.9384 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008568/0.2709, allocations: 10.53 MB / 0.9487 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/0.2718, allocations: 0.5772 MB / 0.9493 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.2723, allocations: 384.6 kB / 0.9496 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.41e-05/0.2724, allocations: 101.1 kB / 0.9497 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2724, allocations: 34.5 kB / 0.9498 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.066e-06/0.2724, allocations: 0 / 0.9498 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.01735/0.2898, allocations: 6.286 MB / 0.9559 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.2899, allocations: 81.55 kB / 0.956 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.291, allocations: 0.9062 MB / 0.9569 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.291, allocations: 33.7 kB / 0.9569 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.2914, allocations: 0.7499 MB / 0.9576 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.2915, allocations: 189.4 kB / 0.9578 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.2916, allocations: 77.69 kB / 0.9579 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.2917, allocations: 390.8 kB / 0.9583 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008291/0.2925, allocations: 0.6382 MB / 0.9589 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009906/0.2935, allocations: 1.015 MB / 0.9599 GB, free: 2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.2953, allocations: 1.674 MB / 0.9615 GB, free: 172 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2953, allocations: 0 / 0.9615 GB, free: 172 kB / 0.6042 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008752/0.3041, allocations: 3.221 MB / 0.9647 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000371/0.3045, allocations: 439.4 kB / 0.9651 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.3045, allocations: 12 kB / 0.9651 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007796/0.3123, allocations: 1.856 MB / 0.9669 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009121/0.3132, allocations: 227.6 kB / 0.9671 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/0.3276, allocations: 10.22 MB / 0.9771 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3291, allocations: 171.6 kB / 0.9773 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.3293, allocations: 52.05 kB / 0.9773 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.3293, allocations: 4 kB / 0.9773 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007259/0.3366, allocations: 2.625 MB / 0.9799 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.3367, allocations: 12 kB / 0.9799 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005186/0.3419, allocations: 1.196 MB / 0.9811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.3429, allocations: 263.5 kB / 0.9813 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/0.3504, allocations: 5.543 MB / 0.9867 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.3517, allocations: 139.8 kB / 0.9869 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.3519, allocations: 47.98 kB / 0.9869 GB, free: 5.145 MB / 0.6355 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.001721/0.3537, allocations: 0.8401 MB / 0.9877 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.3539, allocations: 79 kB / 0.9878 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008007/0.362, allocations: 2.688 MB / 0.9904 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.362, allocations: 3.984 kB / 0.9904 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.362, allocations: 0 / 0.9904 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/0.3626, allocations: 272.1 kB / 0.9907 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.3628, allocations: 23.86 kB / 0.9907 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/0.3637, allocations: 123.8 kB / 0.9908 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.364, allocations: 56.28 kB / 0.9909 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005343/0.3693, allocations: 2.251 MB / 0.9931 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002753/0.3721, allocations: 1.879 MB / 0.9949 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007992/0.3729, allocations: 0.5655 MB / 0.9955 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001098/0.374, allocations: 0.6473 MB / 0.9961 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of Backend: time 5.31e-07/0.3741, allocations: 0 / 0.9961 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006009/0.3801, allocations: 3.015 MB / 0.999 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of SimCode: time 0.006114/0.3862, allocations: 3.942 MB / 1.003 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of Templates: time 0.04449/0.4307, allocations: 27.25 MB / 1.03 GB, free: 9.445 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (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)