Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009918/0.000992, allocations: 175.1 kB / 326.5 MB, free: 2.711 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.543/1.543, allocations: 205 MB / 0.5767 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.0006832/0.0006831, allocations: 88.88 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003242, allocations: 9.438 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004218/0.1726, allocations: 4.75 MB / 0.9014 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00346/0.1761, allocations: 3.367 MB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.1764, allocations: 8 kB / 0.9047 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.1777, allocations: 490.1 kB / 0.9052 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007584/0.1785, allocations: 362.4 kB / 0.9055 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.179, allocations: 235.5 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000764/0.1798, allocations: 0.8708 MB / 0.9066 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.1803, allocations: 0.4894 MB / 0.9071 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1806, allocations: 199.2 kB / 0.9073 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.1809, allocations: 267 kB / 0.9075 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.181, allocations: 20 kB / 0.9075 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.1815, allocations: 383.4 kB / 0.9079 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1817, allocations: 139.5 kB / 0.908 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.1819, allocations: 202.9 kB / 0.9082 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.1826, allocations: 0.8761 MB / 0.9091 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1826, allocations: 0 / 0.9091 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.314e-06/0.1826, allocations: 3.984 kB / 0.9091 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.1826, allocations: 0 / 0.9091 GB, free: 55.54 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001125/0.1838, allocations: 0.7364 MB / 0.9098 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1838, allocations: 8.031 kB / 0.9098 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.1864, allocations: 0.7023 MB / 0.9105 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.187, allocations: 491.7 kB / 0.911 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.187, allocations: 21.03 kB / 0.911 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.1871, allocations: 32.12 kB / 0.911 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.1884, allocations: 0.8512 MB / 0.9118 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1884, allocations: 0 / 0.9118 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.1885, allocations: 15.98 kB / 0.9119 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.1887, allocations: 72.56 kB / 0.9119 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.1904, allocations: 0.9428 MB / 0.9128 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.1934, allocations: 2.921 MB / 0.9157 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.1948, allocations: 0.5605 MB / 0.9162 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.1955, allocations: 324.6 kB / 0.9166 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/0.1956, allocations: 89.09 kB / 0.9166 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.1956, allocations: 42.5 kB / 0.9167 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.1956, allocations: 0 / 0.9167 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.01099/0.2066, allocations: 3.645 MB / 0.9202 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2066, allocations: 85.05 kB / 0.9203 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.207, allocations: 420.4 kB / 0.9207 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.2071, allocations: 33.7 kB / 0.9208 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.2072, allocations: 235.9 kB / 0.921 GB, free: 42.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/0.2072, allocations: 106.4 kB / 0.9211 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.2073, allocations: 37.7 kB / 0.9211 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.2074, allocations: 346.8 kB / 0.9214 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/0.2081, allocations: 403.6 kB / 0.9218 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/0.209, allocations: 485.1 kB / 0.9223 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.2106, allocations: 0.8737 MB / 0.9231 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2106, allocations: 0 / 0.9231 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004894/0.2155, allocations: 1.728 MB / 0.9248 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.2156, allocations: 148 kB / 0.925 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2156, allocations: 3.984 kB / 0.925 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/0.2195, allocations: 0.9777 MB / 0.9259 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/0.22, allocations: 131.8 kB / 0.9261 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006406/0.2265, allocations: 6.394 MB / 0.9323 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.2272, allocations: 115.8 kB / 0.9324 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.2273, allocations: 16.05 kB / 0.9324 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.2273, allocations: 8 kB / 0.9324 GB, free: 30.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004194/0.2315, allocations: 1.671 MB / 0.9341 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2315, allocations: 8.031 kB / 0.9341 GB, free: 28.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/0.2342, allocations: 0.7252 MB / 0.9348 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.2347, allocations: 135.8 kB / 0.9349 GB, free: 28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/0.239, allocations: 5.441 MB / 0.9402 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.2397, allocations: 115.9 kB / 0.9403 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.2397, allocations: 16 kB / 0.9404 GB, free: 22.03 MB / 0.6042 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.24, allocations: 321 kB / 0.9407 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.2401, allocations: 35.56 kB / 0.9407 GB, free: 21.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/0.2447, allocations: 1.625 MB / 0.9423 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2447, allocations: 3.938 kB / 0.9423 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2447, allocations: 8 kB / 0.9423 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.2449, allocations: 172.7 kB / 0.9425 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.245, allocations: 8 kB / 0.9425 GB, free: 19.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.2456, allocations: 95.86 kB / 0.9426 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.2457, allocations: 35.88 kB / 0.9426 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00324/0.2489, allocations: 1.4 MB / 0.944 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001954/0.2509, allocations: 1.316 MB / 0.9452 GB, free: 16.94 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006104/0.2515, allocations: 371.7 kB / 0.9456 GB, free: 16.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002918/0.2518, allocations: 311.1 kB / 0.9459 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of Backend: time 2.4e-07/0.2518, allocations: 0 / 0.9459 GB, free: 16.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003889/0.2557, allocations: 2.172 MB / 0.948 GB, free: 14 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001424/0.2572, allocations: 1.65 MB / 0.9496 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.01921/0.2764, allocations: 16.57 MB / 0.9658 GB, free: 11.82 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)