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.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001008/0.001008, allocations: 177.1 kB / 326.5 MB, free: 2.672 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.549/1.549, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0007649/0.0007649, allocations: 87.84 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 11.03 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004299/0.1775, allocations: 4.836 MB / 0.9015 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003829/0.1814, allocations: 3.818 MB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1816, allocations: 7.938 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.1829, allocations: 0.5293 MB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008358/0.1838, allocations: 406.2 kB / 0.9061 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.1843, allocations: 239.5 kB / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008551/0.1852, allocations: 0.9252 MB / 0.9073 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000532/0.1857, allocations: 0.4935 MB / 0.9077 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1859, allocations: 203.1 kB / 0.9079 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.1862, allocations: 267 kB / 0.9082 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1863, allocations: 20 kB / 0.9082 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.1869, allocations: 487.2 kB / 0.9087 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.187, allocations: 143.5 kB / 0.9088 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1872, allocations: 218.8 kB / 0.909 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007614/0.1879, allocations: 0.9424 MB / 0.9099 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.188, allocations: 0 / 0.9099 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.188, allocations: 0 / 0.9099 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.188, allocations: 0 / 0.9099 GB, free: 54.61 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.00119/0.1892, allocations: 0.7695 MB / 0.9107 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1892, allocations: 8.031 kB / 0.9107 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.1919, allocations: 0.714 MB / 0.9114 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/0.1928, allocations: 0.5393 MB / 0.9119 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1928, allocations: 25.02 kB / 0.9119 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.1929, allocations: 36.06 kB / 0.912 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1943, allocations: 0.8474 MB / 0.9128 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1943, allocations: 11.92 kB / 0.9128 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.1944, allocations: 8 kB / 0.9128 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001912/0.1946, allocations: 72.56 kB / 0.9129 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.1963, allocations: 0.939 MB / 0.9138 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.1996, allocations: 2.949 MB / 0.9167 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.201, allocations: 0.5722 MB / 0.9172 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006365/0.2016, allocations: 316.6 kB / 0.9176 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/0.2017, allocations: 93.09 kB / 0.9176 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2018, allocations: 34.56 kB / 0.9177 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.2018, allocations: 0 / 0.9177 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.01277/0.2145, allocations: 4.084 MB / 0.9217 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2146, allocations: 84.97 kB / 0.9217 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.215, allocations: 453.6 kB / 0.9222 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.2151, allocations: 33.7 kB / 0.9222 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2152, allocations: 244.2 kB / 0.9224 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.2152, allocations: 118.2 kB / 0.9226 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2153, allocations: 41.69 kB / 0.9226 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.2154, allocations: 350.8 kB / 0.9229 GB, free: 40.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/0.2162, allocations: 448.4 kB / 0.9234 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.2171, allocations: 0.529 MB / 0.9239 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.2187, allocations: 0.9585 MB / 0.9248 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2187, allocations: 0 / 0.9248 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005466/0.2242, allocations: 1.928 MB / 0.9267 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.2243, allocations: 156 kB / 0.9268 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2243, allocations: 4 kB / 0.9268 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004525/0.2288, allocations: 1.094 MB / 0.9279 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.2294, allocations: 135.7 kB / 0.928 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008536/0.2379, allocations: 6.386 MB / 0.9343 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.239, allocations: 123.9 kB / 0.9344 GB, free: 28.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.2391, allocations: 16 kB / 0.9344 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.2391, allocations: 4 kB / 0.9344 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004634/0.2437, allocations: 1.64 MB / 0.936 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2438, allocations: 0 / 0.936 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/0.247, allocations: 0.8055 MB / 0.9368 GB, free: 26.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.2476, allocations: 131.8 kB / 0.9369 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/0.2539, allocations: 5.566 MB / 0.9424 GB, free: 20.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007756/0.2547, allocations: 111.8 kB / 0.9425 GB, free: 20.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.2548, allocations: 16.36 kB / 0.9425 GB, free: 20.15 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 (29): * Single equations (assignments): 27 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.2551, allocations: 344.8 kB / 0.9428 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2552, allocations: 39.53 kB / 0.9429 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/0.2603, allocations: 1.832 MB / 0.9446 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2603, allocations: 11.86 kB / 0.9447 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2603, allocations: 0 / 0.9447 GB, free: 17.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.2606, allocations: 192.6 kB / 0.9448 GB, free: 17.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.2606, allocations: 8 kB / 0.9448 GB, free: 17.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.2613, allocations: 99.84 kB / 0.9449 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.2614, allocations: 51.61 kB / 0.945 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003827/0.2652, allocations: 1.614 MB / 0.9466 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002204/0.2674, allocations: 1.48 MB / 0.948 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006776/0.2681, allocations: 431.6 kB / 0.9484 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002858/0.2684, allocations: 335.1 kB / 0.9487 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of Backend: time 2.9e-07/0.2684, allocations: 4 kB / 0.9487 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005618/0.2741, allocations: 2.474 MB / 0.9512 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00154/0.2756, allocations: 1.778 MB / 0.9529 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of Templates: time 0.02378/0.2994, allocations: 19.05 MB / 0.9715 GB, free: 6.367 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)