Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.4 MB / 304.3 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009149/0.0009148, allocations: 175.2 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 0.6316 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008548/0.0008546, allocations: 88.69 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 11.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2137, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004447/0.2183, allocations: 4.558 MB / 0.9852 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004024/0.2223, allocations: 3.517 MB / 0.9886 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.2226, allocations: 7.938 kB / 0.9886 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.2234, allocations: 210.9 kB / 0.9888 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009481/0.2244, allocations: 391.3 kB / 0.9892 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.2249, allocations: 211.5 kB / 0.9894 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000785/0.2257, allocations: 0.7632 MB / 0.9902 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009966/0.2267, allocations: 0.8313 MB / 0.991 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2269, allocations: 195.2 kB / 0.9912 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.2272, allocations: 263 kB / 0.9914 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.2273, allocations: 24 kB / 0.9914 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.228, allocations: 463.2 kB / 0.9919 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2281, allocations: 135.6 kB / 0.992 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.2283, allocations: 232.7 kB / 0.9922 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.2289, allocations: 0.7637 MB / 0.993 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2289, allocations: 0 / 0.993 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2289, allocations: 0 / 0.993 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2289, allocations: 0 / 0.993 GB, free: 14.75 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001136/0.2301, allocations: 0.7658 MB / 0.9937 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2301, allocations: 12.03 kB / 0.9937 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.2328, allocations: 0.7101 MB / 0.9944 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/0.2337, allocations: 0.5393 MB / 0.9949 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2337, allocations: 24.97 kB / 0.995 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.2338, allocations: 48.09 kB / 0.995 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.2352, allocations: 0.8356 MB / 0.9958 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2352, allocations: 0 / 0.9958 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.2353, allocations: 12 kB / 0.9958 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.2355, allocations: 68.56 kB / 0.9959 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.2373, allocations: 0.9429 MB / 0.9968 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.2406, allocations: 2.956 MB / 0.9997 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.2422, allocations: 0.5722 MB / 1 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/0.2428, allocations: 312.6 kB / 1.001 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.2429, allocations: 93.08 kB / 1.001 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.243, allocations: 38.56 kB / 1.001 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 4.508e-06/0.243, allocations: 3.984 kB / 1.001 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.01276/0.2558, allocations: 4.068 MB / 1.005 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2558, allocations: 84.97 kB / 1.005 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.2563, allocations: 457.5 kB / 1.005 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.2564, allocations: 37.64 kB / 1.005 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2565, allocations: 244.2 kB / 1.005 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.2566, allocations: 122.2 kB / 1.006 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.2567, allocations: 4 kB / 1.006 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.2568, allocations: 350.8 kB / 1.006 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/0.2576, allocations: 448.5 kB / 1.006 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/0.2585, allocations: 0.5173 MB / 1.007 GB, free: 44 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.2605, allocations: 0.9547 MB / 1.008 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2606, allocations: 4 kB / 1.008 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006366/0.2669, allocations: 1.928 MB / 1.01 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.2672, allocations: 147.9 kB / 1.01 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2672, allocations: 0 / 1.01 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005046/0.2722, allocations: 1.09 MB / 1.011 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/0.273, allocations: 135.8 kB / 1.011 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.2836, allocations: 6.394 MB / 1.017 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/0.2846, allocations: 119.8 kB / 1.017 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.2847, allocations: 19.98 kB / 1.017 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2847, allocations: 4 kB / 1.017 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005096/0.2898, allocations: 1.636 MB / 1.019 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2899, allocations: 0 / 1.019 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00349/0.2933, allocations: 0.8019 MB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.2941, allocations: 143.7 kB / 1.02 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008247/0.3024, allocations: 5.557 MB / 1.025 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.3033, allocations: 115.9 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.3034, allocations: 19.98 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004482/0.3038, allocations: 342.6 kB / 1.026 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3039, allocations: 39.53 kB / 1.026 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/0.3095, allocations: 1.833 MB / 1.028 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.3096, allocations: 3.984 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3096, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.31, allocations: 192.6 kB / 1.028 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.3101, allocations: 4 kB / 1.028 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.3107, allocations: 103.8 kB / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.3109, allocations: 47.61 kB / 1.028 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004399/0.3153, allocations: 1.626 MB / 1.03 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002767/0.3181, allocations: 1.468 MB / 1.031 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008378/0.319, allocations: 427.6 kB / 1.031 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004887/0.3195, allocations: 339.1 kB / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of Backend: time 6.61e-07/0.3195, allocations: 0 / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006882/0.3264, allocations: 2.472 MB / 1.034 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002348/0.3288, allocations: 1.789 MB / 1.036 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of Templates: time 0.02848/0.3573, allocations: 18.82 MB / 1.054 GB, free: 14.83 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)